Test Automation Using Selenium WebDriver

Basic course on start using Selenium WebDriver for software test automation
4.3 (45 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,173 students enrolled
Instructed by Ganesh Sahai IT & Software / Other
$19
$30
37% off
Take This Course
  • Lectures 83
  • Length 11 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 4/2016 English

Course Description

This course is designed for those who want to get started on using the Selenium WebDriver for automating their tests.
 

To begin with there will a quick start to illustrate how to setup the environment and run your first testcase. This will introduce you to basic test template and constructs of WebDriver. Thereafter , it will go deeper into various methods of WebDriver Interface, WebElement Interface, By class. Alert interface, Navigation interface, Window interface Manage and Timeouts interface All these will be used time and again and form the core of using WebDriver.

There are lectures which will cover Java, Eclipse, JUnit and basics of HTML, CSS and Javascript. So, even if you not know about it, these lectures will help you get started from scratch.

To sum up there will a case study illustrating starting from requirement (user stories), writing testcases, writing test scripts and running them as batch.

This will prepare you well to start automating your projects using Selenium WebDriver.

What are the requirements?

  • Testing

What am I going to get from this course?

  • Write automated tests using Selenium WebDriver
  • Write batch execution of automated tests using Ant
  • Learn basics of Java
  • Learn basics of Eclipse
  • Learn basics of JUnit
  • Learn basics of Ant
  • Learn end to end test automation
  • Learn about different APIs of Selenium WebDriver
  • Learn about setting up a local web application

What is the target audience?

  • This is for those who want to get started on using Selenium WebDriver for automating their testcases
  • Software Tester
  • Software Quality Engineer
  • Test Automation Engineer

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Welcome and Overview
14:05

Welcome to this basic course on Selenium WebDriver. Lets get an overview of this course.

Section 2: Getting setup ready for using Selenium WebDriver
06:50

In this session we will look at getting the setup ready for running Selenium Webdriver based tests. Followed by a quick introduction we will first look at setting up Java.

13:27

This lecture will help understand setting up Eclipse

06:08

This lecture will help setting up JUnit.

05:23

This lecture will help understand setting up Selenium WebDriver libraries.

08:56

Lets create and run our first testcase.

13:25

Whiztrial is a local application custom made for learning. You will install it on your setup to practice various tests to learn Selenium WebDriver usage.

02:13

So, lets get started with running tests on Whiztrial.

01:03

Time for some assignment.

Section 3: Creating and Understanding Basic Test Template
14:43

Overview of template structure and delve deeper into classs and import sections.

06:16

Look into annotations and methods like @Before, @Test, @After, setup(), test() and teardown() respectively

Section 4: Commonly Used Selenium WebDriver Methods/APIs
15:44

In this session we will learn further about WebDriver and its methods get() and getTitle() which are used to start the browser, load the page and get its title.

09:27

We will understand how to get hold of different elements on the webpage using WebDriver findElement() method.

11:49

We will look at how to do the basic things like typing in text boxes, clicking buttons, closing browser and setting timeouts using WebDriver.

Section 5: Basic Constructs of Selenium WebDriver
09:54

Learn about Basic Constructs of Selenium WebDriver.

Section 6: Support Tools
15:44

Learn about some support tools.

13:01

Learn further about some support tools.

Section 7: Introduction to HTML, CSS and Javascript
08:32

We will learn basics of HTML.

12:36

We will learn further about basics of HTML.

18:16

This is a quick getting started introduction to CSS

15:51

This is a quick getting started introduction to Javascript

Section 8: Eclipse
08:42

This lecture is about getting introduced to IDE concept and Eclipse as an IDE.

14:34

In this lecture we will look at Workbench, Workspace, Perspective, View, and Editor of Eclipse.

11:47

Writing Java programs using Eclipse

08:52

Further on writing Java programs using Eclipse

Section 9: Java
08:41

Lets get Introduced to Java and concept of OOP, Object and Class

05:55

In this section we will look at concept of variables and methods in Java.

02:20

Lets learn about the basic data types.

09:28

We will learn about decision making features of Java like if, & if ...else, & nested loops, & switch.

04:57

We will look into different kind of loops like: for, while and do-while.

03:33

Lets us understand the String in Java.

05:48

What is an array in Java and how to use it.

11:34

What is Interface in Java, lets understand that.

05:04

What is package in Java? How to use it?. Let us understand this.

04:20

In this lecture we will understand about the concept of annotation in Java.

05:26

In this lecture we will get a quick introduction to inheritance and polymorphism.

02:25

In this lecture we will get a quick introduction to Javadoc concept and how to generate docs using it.

00:49

This lecture will give information about Java Reference, the ultimate reference to know all about Java APIs.

Section 10: JUnit
16:17

In this lecture we will try to understand the concept of unit testing and unit test frameworks in testing typical testing scenarios.

05:37

Lets gets introduced to JUnit and write and run first testcases.

00:58

Lets look at the major parts of JUnit.

01:10

Lets understand test class in a JUnit testcase.

05:25

We will understand about different annotations used in JUnit testcase.

02:50

We will understand about the concept of assertion and how they are used in JUnit.

01:22

How do we get various parts of JUnit working by importing various JUnit packages.

00:40

Summing Up.

Section 11: Debugging
11:03

While coding testcases using Selenium WebDriver you will need to debug them. This lecture will introduce you to the concept of debugging and to do it using Eclipse.

Section 12: Locating UI/WebElement Strategies
06:32

What are element locating strategy and lets get started with Id and Name.

06:04

Learn about locating element by Link Text, Partial Link Text and Class Name.

10:01

Learn about locating by CSS.

14:43

Learn about CSS Selector Combination Strategies.

05:59

Learn about locating by XPath.

13:39

Learn about various XPath combination strategies.

Section 13: WebDriver Interface Method/APIs
14:41

Learn about the WebDriver Interface methods and get started with findElements().

04:38

Learn about getCurrentUrl()

03:03

Learn about getPageSource().

07:20

Learn about getWindowHandle().

12:16

Learn about getWindowHandles()

05:15

Learn about getPosition() and getSize().

09:59

Learn about maximize(), setPosition(), setSize() and manage().

06:55

Learn about navigate() and switchTo().

3 questions

This quiz is on WebDriver methods

Section 14: WebElement Interface Method/APIs
02:32

Lets get introduced to WebElement Interface.

07:25

Learn about clear().

06:37

Learn about click().

13:13

Learn about findElement() and findElements().

06:23

Learn about getAttribute().

06:03

getCssValue()

07:32

Learn about getLocation() and getSize()

04:00

Learn about getTagName()

05:24

Learn about isDisplayed() and isEnabled()

04:24

Learn about isSelected() and sendKeys()

3 questions

In this quiz we will look into webElement interface methods.

Section 15: Alert Interface
09:53

Get introduced to Alert interface and accept() method.

13:47

Learn about dismiss(), getText() and sendKeys().

Section 16: Navigation Interface
12:01

In this lecture we will learn about back(), forward(), refresh() and to() methods of navigation interface.

Section 17: TimeOut Interface
10:32

In this lecture we will learn about the methods of timeouts interface like implicitlyWait() and pageLoadTimeout().

Section 18: Handling Typical Test Scenarios using WebDriver
12:09

Learn about handling elements with same id and dynamic elements.

17:43

Learn about locating links with CSS Selector/XPath.

Section 19: Testing with WebDriver for different browsers & Cross Browser Testing
01:04

Lets get introduction to testing with WebDriver for different browsers & cross browser testing.

05:09

Lets us see how to use WebDriver for Chrome.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Ganesh Sahai, Founder "DoItvation" & "TestToBeBest"

Ganesh Sahai is B Tech from IIT Delhi (1993) and EGMP from IIM Lucknow (amongst the top technology and management institutes in the world). He has been founder, co-founder and founder team member of few start up companies and initiatives in the field of IT, Marketing and Academics. He Worked for Adobe since 1999 for around 12 yrs. He has led and setup many of the key testing teams from scratch for various Adobe products, like, Acrobat, Adobe Reader, AIR, CS, Tools etc. spanning desktops, handhelds (mob. phones etc.), hosted and enterprise area. He has worked as head of quality with one of the world's leading gaming technology company Aristocrat Technologies. Innovation is his passion and his innovative approach has got sixteen ideas approved for patents. Along the way he has supported and guided people in their innovative ideas. He is founder of “TestToBeBest" and “DoItvation" community of those interested in software testing and innovation respectively.

Ready to start learning?
Take This Course