Automation lab Aú Error Handling & Resilience (ERROR_RESILIENCE)
Lab 057: Pagination error handling
Practice pagination error handling in a real web app context as part of the Error Handling & Resilience module.
advanced
advanced
Objectives
Use for test scripts- Understand the purpose and business flow of pagination error handling.
- Design stable locators for key UI elements.
- Automate user interactions and verify the resulting UI state.
Sandbox
Error Handling & Resilience / error-handling / advanced / active
Pagination error handling
Handle page fetch errors and recover to a safe page.
Reading and understanding requirements
Choosing stable locators
Designing assertions based on business rules
Learning objectives
- Show error when a page fails.
- Offer "Back to page 1" recovery.
- Expose status text for automation.
Steps
- Go to page 2 (simulated failure).
- See error banner and disabled list.
- Use recovery button to return to page 1.
Failed to load page 2. Please return to page 1.
Page 1 loaded
Assertions to practice
- Page 2 triggers error banner.
- Recovery button appears on error.
- Returning to page 1 hides error and shows list.