Description
In this course, you will learn :
- How to run Selenium automated tests in Azure Devops using YAML pipelines
- This becomes possible when the code is added to a repository that other people can access.
Syllabus :
1. Introduction
- Why Should You Take This Course?
- Course Prerequisites
- Why Azure DevOps?
- Why Java?
- Course Structure
2. The Selenium Automation Project
- Project Information
- Define the Test Cases
- The Test Class
- The Base Test Class
- Test Classes Quiz
- Page Object Template
- HomePage Class
- ResultsPage Class
3. The Automation Framework
- What is in the Automation Framework?
- DriverFactory Class
- LogWriter Class
- ScreenshotWriter Class
- How to Take Screenshots and Exceptions
- Listener Code
4. Run The Automated Tests in Local Browsers
- How to Execute Automated Tests With Maven
- Execute Passing Tests in Command Prompt
- Do it yourself
- Where are the Logs and the Screenshots?
- Do It Yourself
- Execute Failing Tests in Command Prompt
5. Run The Automated Tests in Docker Containers
- Why Run Selenium Tests in Docker Containers?
- Create the Dockerfile for the Test Container
- Create the image of the JAVA test container
- Run the Tests
- Display the Log Files
- Display the Screenshots
6. Create the Project In Azure DevOps
- Create the Azure DevOps Project
- Add the Project to the Repository
- Do it yourself
7. Run The Automated Tests in Azure DevOps Pipelines
- Create the Azure DevOps Pipeline
- Run the Pipeline
- Change Pipeline Settings
- Create the BROWSER environment variable
- Read the browser name from a pipeline variable
- Run the tests that belong to a group
- Add Shared Variables to a Library
- Change Pipeline Variable at Run Time
- What are the Azure DevOps System Variables?
- Locate the logs and screenshots
- Publish Logs as Artifacts
- Publish Screenshots as Artifacts
- Schedule the Pipeline for Unattended Execution
- Add User Notifications
- Run Jobs Sequentially
- Run Jobs in Parallel
- Change Pipeline Retention Policy
- Create an Automation Dashboard
- Pipeline Analytics
8. Run the Automated Tests In Pipelines Using Docker Containers
- Create the Pipeline and Run the Tests
- Save Screenshots as Artifact
- Save Logs As Artifact
- Where is the Tests tab?
- Publish the Tests Information