Selenium WebDriver with Java & Cucumber BDD
4.3 (3,566 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
18,668 students enrolled

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
4.3 (3,566 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
18,668 students enrolled
Created by Tim Short
Last updated 11/2017
English
English [Auto], French [Auto], 4 more
  • German [Auto]
  • Italian [Auto]
  • Portuguese [Auto]
  • Spanish [Auto]
Current price: $20.99 Original price: $29.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 6.5 hours on-demand video
  • 4 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
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
Course content
Expand all 70 lectures 06:14:44
+ Introduction to Testing & Selenium Automation
8 lectures 22:49
Installing Selenium IDE
02:00
Record & Run with Selenium IDE
02:23
Modifying Test Data
01:56
Exporting Selenium IDE to Java Code
02:17
Preparing the Test Environment
04:21
Getting Started with Java and Eclipse
03:19
Introduction to Selenium
5 questions
+ Automating Actions with Selenium WebDiver
7 lectures 28:30
Opening a Web Browser with Selenium
04:44
Understanding HTML and the DOM
03:34
Simulating User Actions on a Web Page
05:39
Capturing Text on a Page
03:01
Capturing the Page Title and Closing the Browser
03:50
Automation with Selenium WebDriver
5 questions
+ Finding Elements on a Web Page
10 lectures 46:00
Overview of New Account Application
02:30
Preparing Environment with Firefox and Firebug
04:06
Writing the Test Outline and Opening a Firefox Browser
03:26
Item Locator: By LinkText
03:04
Item Locator: By XPath (Relative and Absolute)
08:22
Item Locator: By CSS Selector
05:15
Comparing Methods and Priority
03:37
Interacting with Form Elements
10:15
Completing the New Account Application
01:45
Finding Elements
5 questions
+ Enhancing Test Scripts with Java
7 lectures 41:28
Using Variables to Parameterize Data
04:48
Creating the DriverFactory
09:35
Defining WebElements
06:06
The Radio Button Algorithm
05:11
The Checkbox Algorithm
04:56
Conditional Test Results
05:46
+ Testing Frameworks & Reporting Methods
10 lectures 53:02
Introduction to JUnit Framework
05:47
Annotations: Guiding the Test Flow
03:34
Class Variables within a Framework
04:53
Installing TestNG Framework in Eclipse
02:34
Setting up a TestNG Framework
05:50
TestNG Assertions
03:14
TestNG Annotations
05:36
Preparing a Test Suite
11:56
Managing an XML Test Suite
05:18
+ Build a Complete Data-Driven Framework
6 lectures 50:02

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

The CSV Reader Class
08:02
JUnit @Parameters
10:58
Data-Driven Testing with JUnit and CSV
12:47
The Excel Reader Class
07:58
Data-Driven Testing with TestNG and Excel
05:32
Test Frameworks
5 questions
+ Case Study: Testing a Booking & Reservation Application
7 lectures 51:55
Overview of Booking Application
02:02
Setting up the Test
03:52
Writing the Search Page Test Step
07:58
Modifying the Search Result Criteria (Implicit Waits)
10:40
Selected a Search Result (Advanced XPath Locators)
11:06
Switching Windows and Handling PopUps
07:49
Finishing the Booking and Confirmation
08:28
+ Page Object Model
6 lectures 37:50
What is the Page Object Model?
06:20
Setting up a Test with POM
03:32
Implementing the Login Page Class
06:24
Implementing the Dashboard Page Class
04:19
Writing a Test with Page Objects
06:21
Enhance POM with PageFactory
10:54
+ Behavior-Driven Development with Cucumber
9 lectures 43:08
What is BDD and Cucumber?
01:36
Preparing the Cucumber Environment
03:17
Writing a Feature File in Gherkin
05:54
Writing Step Definition Class
05:57
Writing the TestRunner with JUnit
04:08
Implementing Step Definitions with Selenium
05:50
Enhancing Feature Files with Data Tables
06:06
Parameterizing Data into Step Definitions
03:12
Executing Tests and Fixes
07:08
BDD & Cucumber
5 questions
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