Automation lab Aú CRUD Operations (CRUD_OPERATIONS)
Lab 023: Delete record with confirmation dialog
Practice delete record with confirmation dialog in a real web app context as part of the CRUD Operations module.
intermediate
intermediate
Objectives
Use for test scripts- Understand the purpose and business flow of delete record with confirmation dialog.
- Design stable locators for key UI elements.
- Automate user interactions and verify the resulting UI state.
Sandbox
CRUD Operations • web-ui • intermediate • active
Delete record with confirmation dialog
Practice guarded deletion with a confirm/cancel path.
Reading and understanding requirements
Choosing stable locators
Designing assertions based on business rules
Learning objectives
- Confirm destructive actions with modal UX.
- Validate delete button disables after action.
- Assert row removal and status messaging.
Steps
- Click delete to open confirmation.
- Cancel keeps row intact.
- Confirm removes row and updates status.
- Attempt second delete to confirm idempotence.
Practice sandbox
Delete a record with confirmation.
| Name | Actions | |
|---|---|---|
| Demo User | demo@example.com |
Record present
Confirmation
Delete this record?
This action cannot be undone.
Assertions to practice
- Modal appears with proper message and buttons.
- Cancel preserves row; confirm removes row.
- Status text flips to "Record deleted".