Selenium WebDriver with Java: Basics to Advanced Course | RCV Academy
Course · Test automation · Java

Automate web apps with Selenium WebDriver and Java: locators, XPath and CSS selectors, waits and user interactions, TestNG, plus Java for testers, Git, GitHub and Jenkins.

Or get it with every other course: $5.99/month or $99 lifetime · Compare plans
147 lessons in 8 sections1 free preview lessonCertificate of completion
147lessons
141video lessons
6code and PDF resources
8sections

What you'll learn

Includes a full Java for Testers section, so you can start without Java experience.

Setup and first test

Install Java and Eclipse, set up Selenium with Maven and WebDriver Manager, run tests on different browsers, and write your first test.

XPath and CSS selectors

Relative and absolute XPath, functions, operators and axes, and advanced CSS selectors including substring matching and nth-child.

WebDriver in depth

Dropdowns, checkboxes, frames, alerts, windows, mouse and keyboard actions, waits, web tables, JavaScriptExecutor and screenshots.

TestNG framework

Annotations, assertions and soft assertions, groups and suites, data providers, parameters, listeners, reports and re-running failed tests.

Java for testers

Java basics to OOP: classes, data types, loops, arrays, methods, inheritance, polymorphism, interfaces, exceptions, and reading and writing files and Excel.

Git, GitHub and Jenkins

Commit, push, branch, merge and resolve conflicts, then run your Selenium tests from GitHub in parameterised Jenkins jobs.

From first test to CI

The course follows the order you would build real automation.

1

Set up

Install Java, Eclipse, Maven and Selenium.

2

Locate and interact

Master locators and every common web interaction.

3

Structure with TestNG

Organise tests with suites, data providers and reports.

4

Run in CI

Store code in GitHub and run it from Jenkins.

Course curriculum

8 sections147 lessons3 downloadable practice files1 free previews
1Selenium Webdriver14 lessons+
  • Introduction to Selenium
  • Selenium WebDriver Architecture
  • How to install Java on Windows OS
  • How to install Eclipse IDE on Windows
  • How to Setup Selenium WebDriver in Eclipse IDE
  • How to run Tests on Different Browsers
  • Maven Introduction and Installation
  • How to Manage Dependencies with Maven
  • How to use WebDriver Manager
  • How to Write First TestCase in Selenium
  • Understand WebDriver Interface
  • What are Locators in Selenium WebDriver
  • What is Relative Locator in Selenium
  • Resources - PDF Slides and Code
2XPath - Write XPath Locators like Pro12 lessons+
  • Introduction to XPath Basic XPath Syntax
  • Relative Vs Absolute XPath
  • XPath Starts with Function with Examples
  • XPath Contains Function with Examples
  • XPath text() Method Find element by Text
  • XPath AND Operator XPath OR Operator
  • XPath Axes Methods Parent Child Self
  • Axes Method descendant- descendant or self
  • Axes Methods ancestor- ancestor or self
  • XPath Axes following- following sibling
  • XPath Axes preceding- preceding sibling
  • XPath Course PDF Slides
3Selenium CSS Selectors - Learn Advanced CSS Selector Techniques9 lessons+
  • Introduction to CSS and CSS Selector
  • Write CSS Selector using Class Attribute
  • CSS Selector with Multiple Attributes
  • CSS Selector Substring Matching
  • Finding Direct Child or Sub-child Elements
  • Next Sibling Adjacent Sibling Combinator
  • First-Child, Last-Child, Nth-Child and Nth-Last-Child
  • First-of-type, Last-of-type andNth-of-type()
  • CSS Selectors PDF Slides
4Selenium Webdriver Contd...29 lessons+
  • What are the Basic Methods in WebDriver Interface
  • Basic Methods in WebDriver Interface- Part 2
  • WebElement Methods in Selenium
  • How to Handle Dropdown in Selenium- Part 1
  • How to Handle Dropdown in Selenium- Part 2
  • How to Print all Links of a Webpage
  • How to Handle Auto Suggestion Dropdown
  • How to Handle Checkbox in Selenium
  • How to Select Radio Button in Selenium
  • How to Handle Frames in Selenium
  • How to Handle Alert Popup in Selenium
  • How to Handle Multiple Windows in Selenium
  • How to Perform Mouse Hover in Selenium
  • How to Perform Drag and Drop in Selenium
  • How to Handle Resize Widget in Selenium
  • How to Automate Slider in Selenium
  • How to Perform Right Click in Selenium
  • How to Perform Keyboard Events in Selenium
  • Different Types of Wait in Selenium
  • What is Implicit Wait in Selenium
  • What is Explicit Wait in Selenium
  • How to Use Fluent Wait in Selenium
  • How to Handle Web Table in Selenium
  • What is JavaScriptExecutor in Selenium
  • How to Take Screenshot in Selenium
  • How to Handle SSL Certificate in Selenium
  • How to Handle Authentication Popup in Selenium
  • How to Read Data From Properties File
  • Download full code for "Selenium Webdriver" section
5TestNG Testing Framework21 lessons+
  • How to Install TestNG in Eclipse IDE
  • How to Write Test Cases Using TestNG
  • TestNG Annotations- BeforeMethod vs BeforeTest
  • How to Use Assertion in Selenium TestNG
  • Soft Assertion in TestNG- SoftAssert vs HardAssert
  • How to Group Test Cases in TestNG Grouping
  • How to Create Test Suite in TestNG
  • How to Skip Test Cases in TestNG
  • TestNG Annotations- BeforeGroups, BeforeClass
  • TestNG Annotations- BeforeSuite and AfterSuite
  • Data Provider in TestNG Data Driven TestingFree preview
  • How to Use Data Provider in TestNG Selenium
  • Move TestNG DataProvider into Different File
  • How to Pass Parameter from TestNG.xml File
  • What are TestNG Listeners
  • How to Capture Screenshot for Failed Tests in TestNG
  • How to Execute Failed Test Cases in Selenium
  • TestNG Report Generation in Selenium Part- 1
  • TestNG Report Generation in Selenium Part- 2
  • How to Manage Dependency Between Test Cases
  • Download Code files for TestNG Tutorial Section here
6Java for Testers42 lessons+
  • Introduction to Java Programming
  • What is Java Classes and Objects
  • How to Write First Program in Java
  • What are Data Types in Java
  • Difference Between String Literal and String Object
  • What are Variables in Java Variable Types
  • Operators in Java Introduction and Examples
  • How to use IF ELSE in Java
  • What is Ternary Operator in Java
  • How to use Switch Case in Java
  • How to use While Loop in Java
  • How to use Do While Loop in Java
  • How to use For Loop in Java
  • How to use Break and Continue in Java
  • How to use Nested Loops in Java
  • How to use Single Dimensional Array in Java
  • Multidimensional Array in Java With Examples
  • What are Methods in Java With Examples
  • How to Add Parameters to a Method in Java
  • What are Packages in Java With Examples
  • Access Modifiers in Java with Example
  • Access Modifiers in Java with Example- Part 2
  • Encapsulation in Java Data Hiding in Java
  • Inheritance in Java Types of Inheritance
  • Java Polymorphism Method Overloading in Java
  • Java Polymorphism Method Overriding in Java
  • Abstract Classes and Methods in Java
  • What is Interface in Java with Example
  • What are Constructors in Java
  • Super Keyword in Java
  • This Keyword in Java
  • Final Keyword in Java
  • Try Catch Java Exception Handling in Java
  • How to Read Data from Properties File
  • How to Write in Java Properties File
  • How to Write to a CSV and Text File in Java
  • How to Read Data from CSV and Text File in Java
  • How to Write Data in Excel using Java
  • How to Read Excel File in Java
  • Collections in Java Wrapper Classes in Java
  • Array List in Java Tutorial with Examples
  • Download Resources - PDF and Code
7Git & GitHub12 lessons+
  • 1. What is Git
  • 2. What is Github and Basic Git Workflow
  • 3. Git Installation on Windows
  • 4. How to do First Git Commit
  • 5. How to Push Code to Github Part-1
  • 6. How to Push Code to Github Part-2
  • 7. How to Clone Github Repository
  • 8. End-to-End Example For Automation Testers
  • 9. Importance of Git Branching
  • 10. Git Branching and Merging Example
  • 11. How to Resolve Merge Conflicts in Git
  • 12. Important Git Commands
8Jenkins8 lessons+
  • 1. Introduction to Jenkins - Basics of Jenkins CI
  • 2. Jenkins Installation and Setup
  • 3. Jenkins Dashboard and Homepage Overview
  • 4. Create First Job in Jenkins
  • 5. How to Parameterize Jenkins Job
  • 6. How to Run Automation Tests in Jenkins
  • 7. How to Parameterize Browser and URL in Jenkins
  • 8. Run Test Cases From Github Using Jenkins

Lessons marked Free preview open without enrolling. Enroll for $19.99 →

Who this course is for

Manual testers moving to automation

Learn Java and Selenium together, from the basics.

QA engineers on Java projects

Fill gaps in locators, waits, TestNG and CI.

Aspiring SDETs

Build the core Selenium and Java skills employers ask for.

Developers testing web apps

Learn the Selenium WebDriver API and TestNG.

What you need

  • A Windows, macOS or Linux computer (setup lessons are recorded on Windows).
  • No Java experience is required; the course includes Java for testers.

Meet your instructor

Manish Verma, instructor

Manish Verma

Founder, Software Testing Mentor & RCV Academy
20+ years in QA52,000+ students235,000+ YouTube subscribers

20+ years in QA and test automation at organisations including IBM, Infosys, Capgemini, National Australia Bank, Westpac, ANZ and Coles. Most recently a Senior QA Automation Engineer and Framework Architect, leading a migration to a modern Playwright framework in JavaScript/TypeScript.

Choose how you want to learn

Buy this course on its own, or get it with every other RCV Academy course.

This course only

One-time

$19.99
one-time payment · 30-day money-back guarantee
  • Lifetime access to this course
  • Certificate of completion
Buy this course
All courses

Monthly

$5.99
per month · cancel anytime · 7-day full refund
  • This course and all other published courses
  • Certificates of completion
  • Access while your membership is active
Start monthly
Best value
All courses, forever

Lifetime

$99
one-time · 30-day money-back guarantee
  • This course and all current courses
  • Every future course included
  • Certificates and lifetime updates
Get lifetime access

Try it risk-free

This course and the Lifetime plan come with a 30-day money-back guarantee. The Monthly plan has a full refund within the first 7 days.

Questions

Frequently asked questions

Do I need to know Java first?+
No. The Java for Testers section covers the Java you need, from your first program to OOP, exceptions and file handling.
Which test framework does it use?+
TestNG, including data providers, listeners, reports and re-running failed tests.
Is the code included?+
Yes. Code downloads and PDF slides are included in several sections.
Can I watch a lesson before buying?+
What is the difference between the plans?+
One-time gives you lifetime access to this course. Monthly ($5.99) gives you this course and every other published course while your membership is active. Lifetime ($99) gives you every current and future course, permanently.
What should I take next?+
For modern web automation, continue with Master Playwright. This course is also part of the SDET learning path.
Enroll for $19.99
Lifetime access to this course · 30-day money-back guarantee
$19.99One-time · lifetime access
Enroll now

Course Curriculum