Description
In this course, you will :
- How to create a test automation framework from the ground up for automating any web-based application using Java, Selenium, and TestNG.
- The fundamentals of Selenium and TestNG before progressing to build management, logging, and reporting, all of which are essential skills for any QA engineer or developer.
- You will have successfully created a UI test automation framework by the end of this course.
Syllabus :
1. Introduction to UI Test Automation
- About the Course
- UI Test Automation
- Selenium WebDriver and its Architecture
- Design Basics
2. Selenium WebDriver Basics
- WebDriver Installation and Initialization for Different Browsers
- All About Desired Capabilities
- Emulate Mobile-Web using Chrome
- Locators in Selenium
- Working with WebElements
- Handling JavaScript Alerts, Confirmations, and Prompts
- Handling DropDown, CheckBox, and Radio Button
- Implicit, Explicit and Fluent Waits
- Exception Handling
- Handling Cookies
- Working with Drag, Drop & Mouse Hover
- Double-Click and Right-Click
- Capture Screenshots
3. TestNG Framework
- What is TestNG?
- TestNG Annotations
- Running Tests in Parallel
- Grouping of Tests
- Parameterisation, DataProvider and Factory
- Using Listeners
- Retrying Failed Tests
- Writing Custom Annotations
4. Build Management
- Creating Maven Project
- Creating Gradle Project
5. Configuration Management
- Basics of Configuration Management
- Building Configuration Hierarchy and Overriding
6. Logging
- Using Logback
- Automatic Logging using Aspects
7. Reporting
- TestNG Reporting
- Integrate Allure Reports
8. Designing the UI Test Automation Framework
- Designing Page Object Model
- Loading the Components
- Implement a WebDriver Manager
- Implementing Page Object Model
- Data Management
- Putting Together - Design the UI Test Framework
- Pitfalls and Suggestions
- Writing First Test Script
9. Sample UI Test Framework
- Downloading Sample UI Test Framework
- Building and Running Tests
- Create and Upload Test Framework as a Library
- Distribution of Test Framework Library
- Conclusion