Automation lab Aú Forms & Validation (FORMS_VALIDATION)

Lab 015: Checkbox group selection rules

Practice checkbox group selection rules in a real web app context as part of the Forms & Validation module.

basic basic
basic

Objectives

Use for test scripts
  • Understand the purpose and business flow of checkbox group selection rules.
  • Design stable locators for key UI elements.
  • Automate user interactions and verify the resulting UI state.

Sandbox

Forms & Validation • web-ui • basic • active

Checkbox group selection rules

Enforce minimum/maximum selections in a checkbox group with live feedback.

Reading and understanding requirements Choosing stable locators Designing assertions based on business rules

Learning objectives

  • Assert min/max selections on grouped inputs.
  • Handle disabled submit until rules are satisfied.
  • Expose clear helper text for automation checks.

Steps

  1. Select at least two topics but not more than three.
  2. Verify the submit button toggles enabled state.
  3. Assert inline helper switches between error/success.
  4. Submit and verify confirmation text.

Expected results

  • Helper text explains required selections.
  • Submit disabled outside valid range.
  • Submission success message appears once valid.

Practice sandbox

Pick 2-3 focus areas.

Select 2 to 3 topics

Assertions to practice

  • Checkbox count between 2 and 3 enables submit.
  • ARIA status text reflects error/success.
  • Submission echoes chosen items.