Automate Tests Using Selenium Webdriver With Java Cucumber

Build a start to finish web automation testing framework and simulate user behavior on a web application + LIVE TEST APP

Last updated 2022-01-10 | 4.3

- Write realistic automated test scripts for web applications
- Build robust test frameworks and custom libraries
- Integrate Java with Selenium

What you'll learn

Write realistic automated test scripts for web applications
Build robust test frameworks and custom libraries
Integrate Java with Selenium
Design a data-driven test framework
Find elements on a web page and simulate user behavior
Automate user actions across multiple browser platforms
Develop Cucumber / BDD test plans with feature files using Gherkin
Continuous integration and testing

* Requirements

* Basic knowledge of Java
* Basic understanding of programming is helpful
* Understanding of web pages
* Working computer with Firefox or Chrome browser
* Familiar with software testing

Description

Become an experienced automation tester by building a test framework with Selenium WebDriver using Java language. This course will provide you an overview of automation and a practical guide to building a framework with Java. Then explore the power of Selenium WebDriver and Cucumber!

Today's software development uses TDD and BDD practices and requires continuous integration and continuous deployment. Automation testers are needed to develop robust, clean, and thorough frameworks for regression testing, functional testing, and acceptance testing. Selenium WebDriver is the industry-leading, open-source tool that allows scrum teams to deliver quality software fast!

Learn how to apply BDD principals and develop feature files with Given-When-Then structure using Cucumber framework and Gherkin language. Apply Cucumber framework knowledge with Java step implementations to automate web actions with Selenium.

  • Build a robust test framework
  • Develop your own data-driven framework
  • Interact with elements on a web page
  • Use Java to automate web actions
  • Construct BDD tests with Cucumber
  • Implement the Page Object Model
  • Utilize popular test frameworks like JUnit and TestNG

This course has been taken from years of experience in training consultants and new hire orientation corporate training. Enroll in this course to get a thorough overview of automation, frameworks, Selenium WebDriver, and BDD with Cucumber!

  • I don't waste time on a lot of configuration
  • I don't waste time on unnecessary topics
  • I focus on making Selenium WebDriver automate user actions
  • I focus on building frameworks
  • I focus on conceptual and technical concepts
  • I focus on applying our knowledge to build complete, realistic tests

Who this course is for:

  • Anyone who wants to learn how to test web applications
  • Manual testers / QA
  • Anyone who wants to apply Java to real-world projects

Course content

9 sections • 75 lectures

Introduction Preview 04:20

Demo: See WebDriver in Action Preview 02:13

Installing Selenium IDE Preview 02:00

Record & Run with Selenium IDE Preview 02:23

Modifying Test Data Preview 01:56

Exporting Selenium IDE to Java Code Preview 02:17

Preparing the Test Environment Preview 04:21

Getting Started with Java and Eclipse Preview 03:19

Introduction to Selenium

Creating the Login Test Outline Preview 04:19

Opening a Web Browser with Selenium Preview 04:44

Understanding HTML and the DOM Preview 03:34

Finding Elements using Chrome Preview 03:23

Simulating User Actions on a Web Page Preview 05:39

Capturing Text on a Page Preview 03:01

Capturing the Page Title and Closing the Browser Preview 03:50

Automation with Selenium WebDriver

Overview of New Account Application Preview 02:30

Preparing Environment with Firefox and Firebug Preview 04:06

Writing the Test Outline and Opening a Firefox Browser Preview 03:26

Item Locator: By LinkText Preview 03:04

Item Locator: By Name and By ID Preview 03:40

Item Locator: By XPath (Relative and Absolute) Preview 08:22

Item Locator: By CSS Selector Preview 05:15

Comparing Methods and Priority Preview 03:37

Interacting with Form Elements Preview 10:15

Completing the New Account Application Preview 01:45

Finding Elements

Using Variables to Parameterize Data Preview 04:48

Cross-Browser Testing Preview 05:06

Creating the DriverFactory Preview 09:35

Defining WebElements Preview 06:06

The Radio Button Algorithm Preview 05:11

The Checkbox Algorithm Preview 04:56

Conditional Test Results Preview 05:46

Introduction to JUnit Framework Preview 05:47

Assertions: Generate Test Results Preview 04:20

Annotations: Guiding the Test Flow Preview 03:34

Class Variables within a Framework Preview 04:53

Installing TestNG Framework in Eclipse Preview 02:34

Setting up a TestNG Framework Preview 05:50

TestNG Assertions Preview 03:14

TestNG Annotations Preview 05:36

Preparing a Test Suite Preview 11:56

Managing an XML Test Suite Preview 05:18

The CSV Reader Class Preview 08:02

Data from CSV file:

Ellie Prynne,[email protected],1234567890,Female,ep1password,Italy,TRUE,FALSE,FALSE
Shawn Thompson,[email protected],4567891230,Male,sw2password,France,FALSE,FALSE,TRUE
Michael Lane,[email protected],7894561230,Male,ml3password,United States,TRUE,FALSE,TRUE
Janelle Von,[email protected],9876543210,Female,jv4password,Germany,FALSE,TRUE,FALSE

JUnit @Parameters Preview 10:58

Data-Driven Testing with JUnit and CSV Preview 12:47

The Excel Reader Class Preview 07:58

TestNG @DataProvider Preview 04:45

Data-Driven Testing with TestNG and Excel Preview 05:32

Test Frameworks

Overview of Booking Application Preview 02:02

Setting up the Test Preview 03:52

Writing the Search Page Test Step Preview 07:58

Modifying the Search Result Criteria (Implicit Waits) Preview 10:40

Selected a Search Result (Advanced XPath Locators) Preview 11:06

Switching Windows and Handling PopUps Preview 07:49

Finishing the Booking and Confirmation Preview 08:28

What is the Page Object Model? Preview 06:20

Setting up a Test with POM Preview 03:32

Implementing the Login Page Class Preview 06:24

Implementing the Dashboard Page Class Preview 04:19

Writing a Test with Page Objects Preview 06:21

Enhance POM with PageFactory Preview 10:54

What is BDD and Cucumber? Preview 01:36

Preparing the Cucumber Environment Preview 03:17

Writing a Feature File in Gherkin Preview 05:54

Writing Step Definition Class Preview 05:57

Writing the TestRunner with JUnit Preview 04:08

Implementing Step Definitions with Selenium Preview 05:50

Enhancing Feature Files with Data Tables Preview 06:06

Parameterizing Data into Step Definitions Preview 03:12

Executing Tests and Fixes Preview 07:08

BDD & Cucumber