Duration 3 days – 21 hrs
Overview
This 3-day training course is designed for beginners to learn Selenium, the leading open-source tool for automating web browsers. Participants will be introduced to core Selenium concepts, test automation basics, and real-world scripting using Selenium WebDriver with Java and TestNG. The course emphasizes hands-on exercises and best practices in writing robust automated test cases.
Objectives
- QA engineers and software testers new to automation
- Manual testers looking to transition into automation testing
- Developers who want to integrate automated tests into the development cycle
- Students or IT professionals exploring test automation tools
Audience
- Software Developers
- QA Engineers / Testers
- DevOps Engineers (entry-level to mid-level)
- Tech Leads / Code Reviewers
- Build and Release Engineers
Pre-requisites
- Basic understanding of web applications (HTML, CSS, browsers)
- Familiarity with basic programming concepts (preferably Java)
- No prior experience in Selenium or automation required
Course Content
Day 1: Introduction to Selenium and Environment Setup
- Overview of Software Testing & Test Automation
- Introduction to Selenium: History, Components & Architecture
- Installing Java, Eclipse IDE, and Selenium WebDriver
- Setting up Maven and Project Structure
- Writing your first Selenium WebDriver script
- Introduction to WebDriver commands
- Hands-on Lab: Launching browsers and automating basic navigation
Day 2: Working with Web Elements and Locators
- Identifying Web Elements (ID, Name, Class, Tag, XPath, CSS)
- Advanced XPath and CSS Selectors techniques
- Interacting with web elements (text fields, buttons, checkboxes, dropdowns)
- Waits in Selenium: Implicit vs Explicit Wait
- Handling alerts, popups, and iframes
- Hands-on Lab: Writing test scripts with multiple interactions
Day 3: TestNG Integration and Test Automation Best Practices
- Introduction to TestNG framework
- Writing and managing test cases with TestNG
- Assertions and Annotations in TestNG
- TestNG Suite and Report Generation
- Logging with Log4j (Intro)
- Basic Test Framework Design Structure
- Hands-on Mini Project: Automating a sample website using Selenium + TestNG

