Best Selenium Testing training in Chennai
Module 1: Introduction to Automation & Selenium
Objective: Understand the fundamentals of automation testing and Selenium.
What is automation testing?
Manual vs Automation testing
Overview of Selenium and its components:
Selenium IDE
Selenium WebDriver
Selenium Grid
Browser drivers & architecture
Setting up Java, Eclipse/IntelliJ, and Selenium WebDriver
Module 2: Core Java for Selenium
Objective: Learn Java concepts relevant for Selenium testing.
Data types, variables, operators
Control statements (if, switch, loops)
Arrays and collections
Methods and parameters
Object-oriented programming (OOPs):
Classes and objects
Inheritance
Polymorphism
Encapsulation
Abstraction
Exception handling
File handling basics
Module 3: Locators & WebDriver Basics
Objective: Identify web elements and interact with them using WebDriver.
Types of locators:
ID
Name
ClassName
LinkText / PartialLinkText
CSS Selector
XPath (absolute and relative)
Working with:
Text boxes
Buttons
Radio buttons
Checkboxes
Dropdowns
Links
Module 4: Selenium WebDriver in Depth
Objective: Work with browser actions and page elements.
Launching browsers (Chrome, Firefox, Edge)
Navigation commands
Browser window commands
Taking screenshots
Working with:
Alerts
Frames
Windows/Tabs
Tables
Tooltips
Date pickers
Module 5: Waits and Synchronization
Objective: Handle page load timing issues.
Thread.sleep vs waits
Implicit wait
Explicit wait
Fluent wait
Wait conditions (visibility, clickable, presence)
Module 6: TestNG Framework
Objective: Organize and manage test cases effectively.
Introduction to TestNG
Installing and configuring TestNG
TestNG Annotations:
@Test
, @BeforeMethod
, @AfterMethod
, @BeforeClass
, etc.
Asserts and soft assertions
Grouping and prioritizing tests
Parameterization using XML and @DataProvider
Parallel execution with XML configuration
Generating HTML reports
Module 7: Data-Driven Testing
Objective: Use external data for test execution.
Apache POI to read/write Excel
Creating utility classes
Data-driven testing using TestNG @DataProvider
and Excel
Validating form submissions with dynamic data
Module 8: Page Object Model (POM)
Objective: Create maintainable and scalable test frameworks.
What is Page Object Model?
Creating page classes and object repositories
Using POM with TestNG
Utility classes and base test class
Enhancing reusability and readability
Module 9: Selenium Grid & Parallel Testing
Objective: Execute tests across multiple browsers/machines.
What is Selenium Grid?
Hub and Node configuration
Running tests in parallel using Grid
TestNG parallel execution
Module 10: Real-Time Project Implementation
Objective: Build and run a test suite for a sample application.
Choose a test app (e.g., DemoWebShop, OrangeHRM)
Create test scenarios:
Login/logout
Search
Add to cart
Checkout
Implement using POM + TestNG + Apache POI
Generate reports and analyze results
Module 11: Logging, Reporting & Debugging
Objective: Add logs and understand failures.
Using Log4j for logging
Advanced TestNG reports (ExtentReports)
Debugging failed test cases
Screenshots on failure
Module 12: Jenkins CI Integration
Objective: Run automated tests in a CI/CD pipeline.
Introduction to Jenkins
Setting up Jenkins job
Integrating Maven/TestNG with Jenkins
Scheduling builds
Generating test reports in Jenkins