4.28 out of 5
4.28
1616 reviews on Udemy

Selenium WebDriver with Java & Cucumber BDD

Build a start to finish web automation testing framework and simulate user behavior on a web application + LIVE TEST APP
Instructor:
Tim Short
10,331 students enrolled
English [Auto-generated] More
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

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

Introduction to Testing & Selenium Automation

1
Introduction
2
Demo: See WebDriver in Action
3
Installing Selenium IDE
4
Record & Run with Selenium IDE
5
Modifying Test Data
6
Exporting Selenium IDE to Java Code
7
Preparing the Test Environment
8
Getting Started with Java and Eclipse
9
Introduction to Selenium

Automating Actions with Selenium WebDiver

1
Creating the Login Test Outline
2
Opening a Web Browser with Selenium
3
Understanding HTML and the DOM
4
Finding Elements using Chrome
5
Simulating User Actions on a Web Page
6
Capturing Text on a Page
7
Capturing the Page Title and Closing the Browser
8
Automation with Selenium WebDriver

Finding Elements on a Web Page

1
Overview of New Account Application
2
Preparing Environment with Firefox and Firebug
3
Writing the Test Outline and Opening a Firefox Browser
4
Item Locator: By LinkText
5
Item Locator: By Name and By ID
6
Item Locator: By XPath (Relative and Absolute)
7
Item Locator: By CSS Selector
8
Comparing Methods and Priority
9
Interacting with Form Elements
10
Completing the New Account Application
11
Finding Elements

Enhancing Test Scripts with Java

1
Using Variables to Parameterize Data
2
Cross-Browser Testing
3
Creating the DriverFactory
4
Defining WebElements
5
The Radio Button Algorithm
6
The Checkbox Algorithm
7
Conditional Test Results

Testing Frameworks & Reporting Methods

1
Introduction to JUnit Framework
2
Assertions: Generate Test Results
3
Annotations: Guiding the Test Flow
4
Class Variables within a Framework
5
Installing TestNG Framework in Eclipse
6
Setting up a TestNG Framework
7
TestNG Assertions
8
TestNG Annotations
9
Preparing a Test Suite
10
Managing an XML Test Suite

Build a Complete Data-Driven Framework

1
The CSV Reader Class

Data from CSV file:

Ellie Prynne,ep@testemail.com,1234567890,Female,ep1password,Italy,TRUE,FALSE,FALSE
Shawn Thompson,sw@testemail.com,4567891230,Male,sw2password,France,FALSE,FALSE,TRUE
Michael Lane,ml@testemail.com,7894561230,Male,ml3password,United States,TRUE,FALSE,TRUE
Janelle Von,jv@testemail.com,9876543210,Female,jv4password,Germany,FALSE,TRUE,FALSE

2
JUnit @Parameters
3
Data-Driven Testing with JUnit and CSV
4
The Excel Reader Class
5
TestNG @DataProvider
6
Data-Driven Testing with TestNG and Excel
7
Test Frameworks

Case Study: Testing a Booking & Reservation Application

1
Overview of Booking Application
2
Setting up the Test
3
Writing the Search Page Test Step
4
Modifying the Search Result Criteria (Implicit Waits)
5
Selected a Search Result (Advanced XPath Locators)
6
Switching Windows and Handling PopUps
7
Finishing the Booking and Confirmation

Page Object Model

1
What is the Page Object Model?
2
Setting up a Test with POM
3
Implementing the Login Page Class
4
Implementing the Dashboard Page Class
5
Writing a Test with Page Objects
6
Enhance POM with PageFactory

Behavior-Driven Development with Cucumber

1
What is BDD and Cucumber?
2
Preparing the Cucumber Environment
3
Writing a Feature File in Gherkin
4
Writing Step Definition Class
5
Writing the TestRunner with JUnit
6
Implementing Step Definitions with Selenium
7
Enhancing Feature Files with Data Tables
8
Parameterizing Data into Step Definitions
9
Executing Tests and Fixes
10
BDD & Cucumber
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.3
4.3 out of 5
1616 Ratings

Detailed Rating

Stars 5
679
Stars 4
626
Stars 3
245
Stars 2
52
Stars 1
18
a026700e992ec55642d9e03d8bb24155
30-Day Money-Back Guarantee

Includes

6 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion