Automation lab Aú Error Handling & Resilience (ERROR_RESILIENCE)
Lab 060: Multi-step form save error handling
Practice multi-step form save 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 multi-step form save 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
Multi-step form save error handling
Simulate a 2-step form where first save fails, retry succeeds.
Reading and understanding requirements
Choosing stable locators
Designing assertions based on business rules
Learning objectives
- Handle step-specific save errors.
- Retry save and continue to next step.
- Expose status per step for automation.
Steps
- Save Step 1 then fail once.
- Retry Step 1 then succeed and go to Step 2.
- Submit final step successfully.
Step 1 of 2
Save failed. Please retry.
Form submitted successfully.
Waiting on step 1
Assertions to practice
- First save shows error and keeps step 1 visible.
- Retry hides error and advances to step 2.
- Final submit shows success banner.