Automation lab Aú Forms & Validation (FORMS_VALIDATION)
Lab 016: Radio button exclusive selection
Practice radio button exclusive selection in a real web app context as part of the Forms & Validation module.
basic
basic
Objectives
Use for test scripts- Understand the purpose and business flow of radio button exclusive selection.
- Design stable locators for key UI elements.
- Automate user interactions and verify the resulting UI state.
Sandbox
Forms & Validation • web-ui • basic • active
Radio button exclusive selection
Ensure only one plan can be selected and that selection is required to proceed.
Reading and understanding requirements
Choosing stable locators
Designing assertions based on business rules
Learning objectives
- Confirm radio buttons enforce exclusivity.
- Require selection before continuing.
- Assert status text changes after pick and submit.
Steps
- Attempt submit with no selection (should block).
- Select exactly one plan.
- Submit and verify summary text.
- Switch plans and ensure status updates.
Expected results
- Only one plan can be active at a time.
- Submit disabled until a plan is chosen.
- Status reflects the chosen plan on submit.
Practice sandbox
Choose one subscription plan.
Pick a plan to continue
Assertions to practice
- Only one radio checked at a time.
- Submit button enables on selection, disables when cleared.
- Status text confirms chosen value.