This course is designed to elevate your Selenium WebDriver and test automation skills by automating complex web elements like select boxes, datepickers, and web tables, including handling multi-select boxes and web table cell objects. You'll manage browser pop-ups, multiple windows, and differentiate between close and quit methods.
The course covers automation for iFrames, JavaScript alerts, and advanced mouse actions such as drag-and-drop, resizing UI elements, and multi-key operations. Test synchronization focuses on implicit and explicit waits, ensuring efficient test runs. You will explore Selenium 4 features, including configuration, relative locators, and updates to the actions class.
Additionally, the course delves into operations like taking screenshots and retrieving element dimensions before advancing to TestNG concepts, including installation, automation, and using annotations for test management. The Page Object Model and Page Factory provide a framework for organizing test code, while TestNG's advanced features like groups, parameters, and parallel execution prepare you for any test automation challenge.
This course is ideal for intermediate to advanced test automation engineers and developers with basic Selenium WebDriver knowledge, looking to expand their TestNG and advanced web automation skills.
Overview
Syllabus
- Automating Special WebElements - Select Boxes, Datepickers, and Web Tables
- In this module, we will delve into automating the interaction with complex web elements such as select boxes, multi-select boxes, date pickers, and web tables. You will learn how to handle these elements effectively and manipulate data within table cells.
- Automating Browser Pop-Ups
- In this module, we will explore techniques to automate browser pop-ups and manage multiple browser windows. You'll learn how to close pop-up windows efficiently and understand the differences between the close and quit methods in Selenium.
- Automating iFrames
- In this module, we will focus on handling iFrames and nested iFrames. You will learn the methods to switch between different iFrames and manage nested structures in your automated tests.
- Automating JavaScript Alerts
- In this module, we will cover the automation of various JavaScript alerts, including basic alert boxes, confirmation boxes, and prompt boxes. You will learn how to interact with these alerts and validate their behavior in your tests.
- Automating Mouse Actions - Drag and Drop, Mouse Hover, Click and Hold, and so on
- In this module, we will explore automating complex mouse actions like drag and drop, mouse hover, and right-click. You'll learn how to resize UI elements, manage sliders, and combine multiple actions for advanced interactions.
- Test Synchronization
- In this module, we will discuss the concept of test synchronization and its importance in automation. You will learn about implicit and explicit waits in Selenium WebDriver and how to optimize your scripts for dynamic web elements.
- Selenium 4 New Features
- In this module, we will explore the new features and enhancements in Selenium 4. You'll learn about configuring Selenium 4, using updated implicit waits, opening new browser windows, and employing relative locators and the enhanced Actions class.
- Miscellaneous Operations
- In this module, we will cover various miscellaneous operations in Selenium, such as taking screenshots, capturing specific sections of a webpage, and retrieving element dimensions and coordinates. You'll learn advanced techniques for handling web element properties.
- TestNG - Part 1
- In this module, we will introduce TestNG and guide you through the installation and setup process. You will learn how to automate your first test, use assertions, and manage test execution with TestNG annotations and XML files.
- Page Object Model (POM) and Page Factory
- In this module, we will delve into the Page Factory design pattern and the Page Object Model (POM). You will learn how to create base classes, page libraries, and flow libraries to structure and manage your test automation efficiently.
- TestNG - Part 2
- In this module, we will continue exploring TestNG by learning about grouping and parameterizing tests, managing test dependencies, and executing tests in parallel. You'll also learn how to generate HTML reports and use data providers in TestNG.
- Next Steps
- In this module, we will wrap up the entire course by reviewing key concepts and planning the next steps in your test automation journey. You'll also learn about additional resources and support available for continued learning and development.
Taught by
Packt - Course Instructors