YUNOVA · Selenium & Test Automation
Module 12: Automation strategy
Designing a test automation framework
Key points
- The Page Object Model keeps locators and page actions in separate classes.
- Utilities, config files and test data stay apart from the tests.
- Good reporting and logging make failures easy to debug.
Allure test reports
Key points
- Allure builds readable HTML reports from test results.
- Annotations add steps, descriptions and attachments to the report.
- Screenshots attached on failure help find the cause.
Visual regression testing
Key points
- Visual testing compares screenshots with an approved baseline.
- Differences above a threshold fail the test.
- Hide dynamic content such as dates to avoid false failures.