Automation lab Aú State & Session Management (STATE_SESSION)
Lab 050: Redo last user action
Practice redo last user action in a real web app context as part of the State & Session Management module.
intermediate
intermediate
Objectives
Use for test scripts- Understand the purpose and business flow of redo last user action.
- Design stable locators for key UI elements.
- Automate user interactions and verify the resulting UI state.
Sandbox
State & Session / state-session / intermediate / active
Redo last user action
Undo and redo list actions with proper stacks.
Reading and understanding requirements
Choosing stable locators
Designing assertions based on business rules
Learning objectives
- Maintain undo/redo stacks.
- Redo restores last undone action.
- Update status after each operation.
Steps
- Add items.
- Undo once or twice.
- Redo to bring items back.
Practice sandbox
Undo/redo list changes.
No actions yet
Assertions to practice
- Undo removes last item; redo restores it.
- Redo disabled with empty redo stack.
- Status lists last action.