Beginning Selenium WebDriver and Java Training

This is a beginning course for WebDriver test automation in the Java language using JUnit, TestNG, ANT, and Maven.
4.3 (4 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.
161 students enrolled
$25
Take This Course
  • Lectures 15
  • Contents Video: 3.5 hours
    Other: 26 mins
  • 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 5/2014 English

Course Description

This beginning course will walk the learner through the basics of Selenium-WebDriver test automation in the Java programming language.

This includes common WebDriver commands, WebDriverWait and AJAX elements, invoke browsers in parallel using FirefoxDriver, ChromeDriver, SafariDriver, and InternetExplorerDriver. Analyze web pages to model and create Page Objects, and use the Page Factory. Use locator strategies to identify WebElements by ID, Name, CSS Selectors and XPath.

Explore the JUnit and TestNG unit test frameworks for UI test scripts, test suites, parameters, execution, and reporting. ANT and Maven project management, builds, and command line execution.

This course includes 3.5 hours of instructional videos and 25 pages of instructional procedures including complete project code.

What are the requirements?

  • Basic Java familiarization
  • Windows, Mac, or Linux computer

What am I going to get from this course?

  • At the end of this course you will be able create Page Objects using Selenium-WebDriver commands.
  • Locate WebElements by HTML IDs and names, XPath and CSS Selectors.
  • Run test scripts on every browser from the command line using ANT and Maven.
  • Pass TestNG suite parameters to test scripts
  • Model and create Page Objects and use the Page Factory
  • Work with dynamic AJAX elements with WebDriverWait
  • Create test scripts using the JUnit and TestNG unit test frameworks
  • Manage and build the Java project using ANT and Maven POM

What is the target audience?

  • Quality Assurance professionals and Software Testers interested in learning WebDriver to transition from manual testing to automated testing

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: WebDriver, Java, JUnit and ANT Project
About the instructor
Preview
03:45
11 pages

Install Java, Ant, JUnit, Eclipse, WebDriver

Install Firefox, Firebug, and Chrome

Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

Create a JUnit test script

Exploring JUnit annotations

Start-up and shut-down WebDriver

Explaining the WebDriver commands and WebDriverWait

Create an Ant build file

Run JUnit from Ant

10:33

Install Java, Ant, JUnit, Eclipse, and WebDriver

Set the environment variables

Create a Java project

Create a JAR library

Configure the build path

24:37

Create a Java project

Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

Create a JUnit test script

Exploring JUnit annotations

Start-up and shut-down WebDriver

Explain the WebDriver commands and WebDriverWait

10:03

Create an Ant build file

Explain the ANT targets

Build the project with ANT

Run JUnit from Ant

Generate JUnit report

12:14

Use the Chrome Developer tools

Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

05:50

Use the Safari Developer tools

Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

08:50

Use the Opera Developer tools

Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

14:34

Use the Firefox Firebug Developer tools

Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

Section 2: WebDriver, Java, TestNG and Maven Project
15 pages

Install Maven, Maven-Eclipse plugin, and TestNG-Eclipse plugin

Create a Maven project

Getting familiar with the Maven project and POM

Create a TestNG script

Exploring TestNG annotations

Start-up and shut-down WebDriver

Explaining the WebDriver commands and WebDriverWait

Create a TestNG suite

Update Maven POM build

Run TestNG from Maven

19:01

Install the Maven and TestNG Eclipse plug-ins

Create a Maven project

Getting familiar with the Maven project and POM

Explain the Maven POM

22:14

Create a Maven project

Analyze the web page and locate WebElements using HTML IDs and names, XPath and CSS Selectors

Create a TestNG test script

Exploring TestNG annotations

Start-up and shut-down WebDriver

Explain the WebDriver commands and WebDriverWait

16:45

Create a TestNG suite

Explain the TestNG elements

Update the POM with Maven build and Surefire plug-ins

Explain the POM plug-ins

Run TestNG from Maven

Generate TestNG report

Section 3: Page Objects, Multi-Threading, Run Tests in Parallel on Multiple Browsers
18:03

Install Chrome and Internet Explorer Drivers

Create a TestNG suite with parameters to support the Firefox, Safari, Chrome, and Internet Explorer browsers

Create a static class with multi-threading to invoking the Firefox, Safari, Chrome, and Internet Explorer Drivers

Create a base TestNG test script to read TestNG suite parameters, and start-up and shut-down WebDriver

Create a TestNG test script

45:14

Use the Page Object Model to create 4 page classes in Java.

Analyze the web pages and locate WebElements using HTML IDs and names, XPath and CSS Selectors

Locate links, fill in forms, handle dynamic elements, and verify content

Explain the WebDriver commands and WebDriverWait for dynamic elements

Create a TestNG test script

Initialize the page objects with the WebDriver PageFactory

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Martin Lienhard, Lead Test Automation Architect

I have over 15 years experience architecting and developing test automation frameworks. I have spent the last 6 years programming automated tests using Selenium and WebDriver in Java and C# .NET. Over my career I have automated more than 20 applications spanning the Web, Mobile, Windows, and X-Windows platforms. I have led test automation teams both onshore and offshore at many organizations, and trained many QA professionals on test automation on various tools and scripting languages.

Ready to start learning?
Take This Course