Automation lab Aú Forms & Validation (FORMS_VALIDATION)

Lab 017: Slider minimum and maximum value

Practice slider minimum and maximum value 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 slider minimum and maximum value.
  • Design stable locators for key UI elements.
  • Automate user interactions and verify the resulting UI state.

Sandbox

Forms & Validation • web-ui • basic • active

Slider minimum and maximum value

Ensure slider respects min/max bounds and target ranges.

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

Learning objectives

  • Read slider values programmatically.
  • Assert bounds and target window.
  • Handle disabled/enabled states.

Steps

  1. Move slider below minimum target.
  2. Move into valid target window.
  3. Confirm success when inside 20-80.
  4. Use quick buttons to set deterministic values.

Expected results

  • Value displayed and reflected via data attributes.
  • Error when value outside 20-80 window.
  • Success when inside window.

Practice sandbox

Set a value between 20 and 80.

Value: 10 Outside target
Waiting for input

Assertions to practice

  • Slider respects min 0 / max 100 attributes.
  • Status flips when value in 20-80 inclusive.
  • Quick-set buttons apply deterministic values.