
This course contains the use of artificial intelligence.
If you already know how to write Selenium tests, but your automation framework starts getting messy as the project grows, this course is for you.
In this course, we’re going to take a real Selenium Java automation project and improve it step by step.
I don’t want you to just memorize definitions like “SRP means one responsibility” or learn Design Patterns from examples that have nothing to do with automation.
Instead, we’ll start with normal Selenium code, see the problems that appear, and then introduce a principle or pattern when we actually need it.
Throughout the course, you’ll work with concepts such as:
SOLID Principles
Page Object Model
Page Component Object
Composition vs Inheritance
Fluent API
Bot Pattern
Domain-Specific Language (DSL)
Factory Pattern
Browser creation and abstraction
Dependency Inversion
Dependency Injection
Selenium WebDriver
Java
TestNG
The same framework evolves throughout the course, so you can clearly see the difference between the code before and after each improvement.
We’ll also talk about something I think is just as important as knowing Design Patterns: when not to use them.
A good automation framework doesn’t need as many patterns, interfaces, and abstractions as possible. It needs code that is easy to understand, easy to maintain, and safe to change.
By the end of the course, my goal is for you to be able to look at automation code and ask:
What is the actual design problem here, and what is the simplest way to solve it?
If you already have basic experience with Java, Selenium WebDriver, and TestNG and want to improve the way you design automation frameworks, you’re in the right place.