Automation · Intermediate · 💎 Premium
Selenium WebDriver with Java — Framework Masterclass
Go from Java basics to a CI-ready Selenium 4 + TestNG hybrid framework with POM, Grid, reports and a portfolio capstone.
10Lessons
67Lab tasks
16h 10mDuration
1Capstone + certificate
About this course
A practical, framework-first Selenium course for Indian QA job seekers and working testers. You start with the Java a tester actually needs, then build a complete Selenium 4 + TestNG hybrid framework step by step on SauceDemo and the-internet, adding data-driven tests, Selenium Grid on Docker, reports and CI. You finish by publishing a capstone framework for automationexercise.com that you can show recruiters and explain in interviews.
What you will be able to do
- Write robust CSS, XPath and relative locators and validate them in DevTools before coding
- Automate real UI flows with explicit waits, alerts, frames, windows and Actions - without Thread.sleep
- Organise suites with TestNG groups, DataProviders, soft assertions, listeners and parallel execution
- Build a PageFactory-free Page Object Model framework with DriverFactory, BasePage, BaseTest and config overrides
- Drive tests from Excel and JSON and run them cross-browser on a Dockerised Selenium Grid 4
- Produce Extent reports with failure screenshots, Log4j2 logs and controlled retries
- Run the suite headless in GitHub Actions and Jenkins and publish reports as artifacts
- Publish a portfolio-grade hybrid framework on GitHub and explain it confidently in interviews
Syllabus
-
▶
1. Java Essentials for Testers & Maven Project Setup Learn the Java that Selenium frameworks really use and set up a Java 17 + Maven + TestNG project in IntelliJ that the rest of the course builds on.
-
🔒
2. Selenium 4 Architecture, Selenium Manager & Your First Test Understand the W3C WebDriver architecture and Selenium Manager, then write and run your first login and cart tests against SauceDemo.
-
🔒
3. Locators Mastery: CSS, XPath & Relative Locators (Lab) Write robust CSS, XPath and Selenium 4 relative locators, validate them in DevTools, and automate five locator drills on the-internet.herokuapp.com.
-
🔒
4. Waits, Synchronisation, Alerts, Frames, Windows & Actions Eliminate flakiness with explicit and fluent waits, and automate alerts, nested frames, multiple windows, hover, right-click and keyboard actions.
-
🔒
5. TestNG Deep Dive: Annotations, Groups, DataProviders, Listeners & Parallel Runs Organise Selenium tests with TestNG annotations, groups, DataProviders, soft assertions, listeners and parallel execution driven by testng.xml and Maven.
-
🔒
6. Page Object Model Framework: BasePage, BaseTest & Config (PageFactory-free) Refactor scripts into a maintainable, PageFactory-free Page Object Model framework with DriverFactory, BasePage wait helpers, BaseTest and config.properties.
-
🔒
7. Data-Driven Testing (Excel & JSON), Cross-Browser Runs & Selenium Grid 4 on Docker Feed tests from Excel with Apache POI and JSON with Jackson, run them cross-browser in parallel, and execute remotely on a Dockerised Selenium Grid 4.
-
🔒
8. Reporting & Debugging: Extent/Allure Reports, Screenshots, Log4j2 & Retry Analyzer Produce shareable Extent reports with failure screenshots, add Log4j2 logging, and re-run flaky failures safely with a TestNG retry analyzer.
-
🔒
9. CI/CD: Headless Runs with Maven, GitHub Actions & Jenkins Run the framework headless from the command line with Maven profiles and properties, then automate it in GitHub Actions and a parameterised Jenkins pipeline with published reports.
-
🔒
10. Capstone Project: Hybrid Selenium Framework for automationexercise.com Design, build and publish a production-style hybrid Selenium framework covering 12+ e-commerce scenarios on automationexercise.com, with Grid, reports and GitHub Actions CI.