Learn by Example : Selenium for Automated Web Testing
3.6 (22 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,639 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Learn by Example : Selenium for Automated Web Testing to your Wishlist.

Add to Wishlist

Learn by Example : Selenium for Automated Web Testing

A comprehensive guide to Selenium using 45 solved examples on automating web testing
3.6 (22 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,639 students enrolled
Created by Loony Corn
Last updated 10/2016
English
Curiosity Sale
Current price: $10 Original price: $50 Discount: 80% off
30-Day Money-Back Guarantee
Includes:
  • 6 hours on-demand video
  • 54 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Test functionality of web applications using Selenium WebDriver
  • Automate boring and repetitive web based tasks
  • Write maintainable scripts to test sophisticated web applications
  • Run tests parallelly across different browsers
View Curriculum
Requirements
  • A basic understanding of web programming, HTML, CSS, JavaScript etc
Description

Selenium is a specialized, easy-to-use framework for automating interactions with web browsers, whether it’s to test the functionality of web apps that you’ve developed or to automate boring and repetitive tasks or to perform activities like scraping websites.

In this course, we’ll be working with Selenium’s Java API to test browser functionality and automate tasks using nearly 45 solved examples of use cases you might encounter on a regular basis. We’ll look at scenarios like

1) scraping websites for specific elements identified by HTML tags, CSS selectors
2) Testing User interactions of all kinds as click, entering text, drag and drop, selecting from dropdowns
3) Automating Browser Navigation and Handling cookies
4) Switching between your main browser window and pop-up alerts, embedded iframes
5) Interacting with HTML5 based elements like video players
6) and Parallelly running tests across multiple browsers and platforms from your local machine using Selenium Grid
Selenium makes automating all the tasks we’ve mentioned very straightforward but as your tasks get more and more sophisticated you’ll want to use best practices to structure your code. We’ll talk about the Page Object Model design pattern and how you can use it to design testing scripts that are easy to maintain. 


Using discussion forums

Please use the discussion forums on this course to engage with other students and to help each other out. Unfortunately, much as we would like to, it is not possible for us at Loonycorn to respond to individual questions from students:-(

We're super small and self-funded with only 2 people developing technical video content. Our mission is to make high-quality courses available at super low prices.

The only way to keep our prices this low is to *NOT offer additional technical support over email or in-person*. The truth is, direct support is hugely expensive and just does not scale.

We understand that this is not ideal and that a lot of students might benefit from this additional support. Hiring resources for additional support would make our offering much more expensive, thus defeating our original purpose.

It is a hard trade-off.

Thank you for your patience and understanding!


Who is the target audience?
  • Yep! Students who have a basic understanding of web programming and are looking to learn how to test web applications
  • Yep! Students who are looking to automate repetitive tasks in Web Programming
Students Who Viewed This Course Also Viewed
Curriculum For This Course
55 Lectures
05:45:49
+
Introduction
1 Lecture 02:09
+
Understanding Selenium
2 Lectures 18:49

We understand the role of Selenium WebDriver in automating web based tasks and testing functionality of web applications. We understand what WebDriver is and that all actions are performed within the context of a WebDriver.

Preview 13:07

Selenium has a great suite of additional tools to assist with web testing such as Selenium RC, Selenium IDE and Selenium Grid. We give a quick overview of these technologies and what they do.

The Selenium Suite of Tools
05:42
+
Setting up your Testing Environment
2 Lectures 15:32

We'll set up our a Selenium project in IntelliJ using the Maven template. Maven is an easy way to get the selenium dependencies in 1 simple step!

Setting Up a Maven Project
06:37

Our first hands on Selenium test. We'll load a webpage and check its title.

Ex 1: Check Title of a webpage
08:55
+
Locating Elements in a WebPage
10 Lectures 55:45

When you interact with a webpage, you do so by interacting with specific elements on the page. This example demonstrates how to find a specific element using its class name attribute.

Ex 2: Locating an element
08:27

Ex 3: Locating multiple elements
04:51


The A Tag
08:17

Ex 5: Locating an element by tag name
02:59

Ex 6: Retrieving the element attributes
06:10

Ex 7: Retrieving data from a webtable
07:32

Ex 8: Locating with CSS selectors
04:26

Ex 9: Locating using XPath expressions
03:33
+
Testing and Automating User Interactions
11 Lectures 01:00:27

Ex 11: Clicking on a Location
07:43

Ex 12: Entering/Clearing Text in a textbox
05:37

Ex 13: Selecting from a dropdown
06:31

Ex 14: Verifying properties of a list
04:49

Ex 15: Selecting/Deselecting a Radio Button
06:07

Ex 16: Selecting/Deselecting a Checkbox
05:24

Ex 17: Selecting multiple rows in a table (with Ctrl)
05:22


Ex 19: Drag and Drop
04:40

Ex 20: Interacting with a Context menu (right click menu)
05:06
+
Automating Browser Navigation Actions
5 Lectures 26:22

Ex 22: Navigating Backwards and Forwards in the Browser
04:16

Ex 23: Handling Session cookies
09:55

Ex 24: Implicitly waiting for a condition
03:13

Ex 25: Explicitly waiting for a condition
04:38
+
Windows, Frames and Alerts
5 Lectures 21:55

Ex 27: Switching to an IFRAME
04:09

Ex 28: Identifying and switching to a pop up window
03:05

Ex 29: Closing extraneous pop-up windows
03:38

Ex 30: Identifying and interacting with an an Alert box
04:07
+
WebDrivers for Different Browsers
4 Lectures 19:42

Ex 32: ChromeDriver
03:43

Ex 33: InternetExplorerDriver
02:31

Ex 34: RemoteWebDriver
08:02
+
Capturing Screenshots
2 Lectures 11:25

Ex 36: Capturing a Screenshot of an element
07:40
+
Listening to Events and Executing JavaScript
3 Lectures 22:51
The Observer Design Pattern
09:34

Ex 37: Listening to events
08:39

5 More Sections
About the Instructor
Loony Corn
4.3 Average rating
5,043 Reviews
39,290 Students
76 Courses
An ex-Google, Stanford and Flipkart team

Loonycorn is us, Janani Ravi and Vitthal Srinivasan. Between us, we have studied at Stanford, been admitted to IIM Ahmedabad and have spent years  working in tech, in the Bay Area, New York, Singapore and Bangalore.

Janani: 7 years at Google (New York, Singapore); Studied at Stanford; also worked at Flipkart and Microsoft

Vitthal: Also Google (Singapore) and studied at Stanford; Flipkart, Credit Suisse and INSEAD too

We think we might have hit upon a neat way of teaching complicated tech courses in a funny, practical, engaging way, which is why we are so excited to be here on Udemy!

We hope you will try our offerings, and think you'll like them :-)