Selenium Java Test Framework & Best Practices - Masterclass
What you'll learn
- Develop Page Object Model frameworks from scratch for any Live website
- 50+ Industry best practices to follow for framework development
- Learn to develop Readable, Maintainable and Scalable frameworks from scratch
- Bad practices to avoid during framework development
- Easily integrate APIs using REST Assured to skip login through UI [Selenium recommendation]
- Use APIs to setup test data [Selenium Recommendation]
- Learn how to easily write Atomic and Independent tests [Selenium Recommendation]
- Learn how to setup application state for tests [Selenium Recommendation]
- Learn to implement Parallel execution using TestNG, Maven and JUnit
- How to easily configure and drive automation frameworks using TestNG, JUnit and Maven
- Factory Design Pattern - Using Interface and Abstract class
- Singleton Design Pattern
- Learn how to follow the Single Responsibility Principle (SRP)
- Learn how to follow the Do Not Repeat Yourself (DRY) principle
- When and how to use OOP concepts in frameworks [Inheritance, Interface, Encapsulation, Polymorphism]
- Learn how to reuse Page Objects using Composition
- Learn about Fluent Interface and Builder design in Page Objects
- Manage test data as Java Objects using POJOs
- Synchronization [Wait] best practices
- How to easily handle Stale Element and Element Click Intercepted exceptions
- How to effectively use TestNG Data providers to drive test variations
- How to go about efficiently supporting multiple browsers and Environments
- Automated WebDriver management
- Learn Allure Reporting and generate feature rich reports
- Learn how to integrate the framework with GitHub
- Learn how to auto-trigger automation from Jenkins using GitHub Web Hooks, SCM Polling and Build Frequency
- Just know how to automate basic tests using Selenium and you are good to go
- No prior framework development experience needed
- JAVA programming knowledge is not really required. I have got you covered with the necessary stuff.
Nov 2023: The course fully supports latest Selenium version 4.15.0, latest Java 21, and latest versions of all supporting libraries.
*This course use Selenium 4.x.x for framework development*
Why this course?
Do you want to learn how real automation frameworks are built using Selenium by following 50+ industry best practices?
Did you learn Selenium in the past, but still figuring out how to go about developing a framework that is Readable, Maintainable and Scalable?
Is your team struggling with implementing automation frameworks that really works?
Did you learn many bad automation practices in the past that simply doesn't work and want to unlearn all those practices?
Then you are at the right place. This course is exactly what you were looking for!
I'll take you through an exciting journey of developing Selenium automation framework from scratch using a dedicated live e-commerce practice website!
I'll teach you 50+ industry best practices to follow while developing Selenium automation frameworks.
I'll teach you about design patterns and how to efficiently use OOP concepts in the framework.
I'll show you how to integrate APIs with the automation framework and use those to skip login through UI, to set the test data and to set the application state. All of these are Selenium recommended best practices.
I'll show you how to follow Single Responsibility Principle (SRP) and Do Not Repeat Yourself principle (DRY) which are a must while developing the framework
I'm VERY RESPONSIVE in the Q&A section. I respond to queries within 24 hours. If the time zone difference is not that huge, I can respond within 3-12 hours.
We will start with the bad practices first. This is what most of us do when we first start with developing automation frameworks.
Then I'll make you unlearn all these bad practices step-by-step by implementing many of the industry best practices using LIVE coding. I'll not only explain you the "what", but also the "why" and "how" while explaining each and every concept.
By the end of this course, you are surely going to be confident enough to build Selenium automation frameworks from scratch for any live website. You are going to think like an automation lead, plan and design the automation framework, write optimized and clean code and follow good programming and automation practices.
What topics are covered in this course?
MANY. Here's the list:
Setup the Maven project
How to automate tests using bad practices
Let's talk bad practices
Implement Page Object Model design
Create Data objects as Java Objects using POJOs
Synchronization [Wait] techniques and best practices
Implement Page Factory and discuss the Pros and Cons
Automatic driver management using WebDriverManager
Configure and drive framework using Maven
Support multiple browsers
Configure and drive framework using TestNG
Configure and drive framework using Maven and TestNG both
Implement Parallel execution using TestNG and Maven
Configure and drive framework using JUnit [specially for JUnit folks]
Parallel execution using JUnit [without ThreadLocal]
Implement Singleton Design Pattern for Config properties
How to support multiple test environments
Discuss issues with writing end to end tests
Convert to Atomic tests
Use APIs to inject cookies to browser and skip login through UI
Use APIs to set test data
Use APIs to set application state
Refactor tests to use APIs
TestNG Data Provider
Reuse Page Objects using Composition
Composition Vs Inheritance
Different ways to handle Parallel execution issues
Factory design pattern using Interface
Factory design pattern using Abstract class
How to take screenshot
How to take full page screenshot using AShot
When to use OOP concepts in automation frameworks
Allure Reporting and generate feature rich reports
Integrate the framework with GitHub
Auto-trigger automation from Jenkins using GitHub Web Hooks, SCM Polling and Build Frequency
Jackson Data bind API
What else is included in the course?
All the code/notes used in the lectures are available for download
You will get my full support in the Q&A
Who this course is for:
- Software engineers looking to learn how real automation frameworks are built from scratch
- Software engineers struggling with developing automation frameworks
- Teams struggling with developing automation frameworks that really works
- Software engineers looking to learn industry best practices for framework development
- Software engineers looking to transition to SDET role
Hi! I'm Om. I'm a Test Automation Lead who loves automating and testing software.
I've been working in Software Testing and and Test Automation for more than a decade. I love automating stuff and I'm very passionate about spreading knowledge through teaching.
Being a self learner, I know how hard it is to learn something new or to improve on skills, especially in case of test automation where in you will face a lot of challenges in finding a credible, well organized, good quality content online.
My more than a decade of experience in testing has really helped me to create the most relevant content and topics.
My Appium course is the most loved course on this platform and it has received a lot of 5 star reviews from my students.
This is the most rewarding experience and a huge motivation to create more and more courses to offer you the best learning experience possible.
I can't wait to see you inside my courses!