Select Checkbox
This is pre-built Action located under the @Custom Element Name. It instructs the Avo Assure Client to perform a click action on the checkbox to make it as selected specified in the input.
Syntax
Input: <Object Type>;<VisibleText(Optional)>;<index>; <abs(optional)>
For above syntax user needs to give specific Object type, visible text of the object (optional) along with element index of the object and abs.
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

Usecase/Example

Scenario
A user is testing a registration form on a website that includes an opt-in checkbox to agree to the terms and conditions. The "Select Checkbox" Action is used to check the "I agree to the terms and conditions" checkbox, simulating a user agreeing to the terms before submitting the form.
Input
checkbox; I agree to the terms;1
Expected Result
The Select Checkbox Action needs to select the desired checkbox.
Output
The "Select Checkbox" Action successfully selects the "I agree to the terms" checkbox. The test passes if the checkbox is checked
Last updated
Was this helpful?