What is in the Automation Framework?
Explore the essential components of an automation framework that support running Selenium tests effectively. Understand the importance of separate classes for driver management, screenshots, logging, and exception handling to troubleshoot failed tests without cluttering page or test classes. This lesson helps you grasp why a minimal framework is necessary for running tests in Azure DevOps pipelines.
We'll cover the following...
We'll cover the following...
Why do we need an automation framework?
Running the automated tests is great but if tests fail, we need additional information to troubleshoot the root cause of the failure.
This information comes from different places:
- The screenshot of the page where the test failed shows us the page status at the time of failure.