Select Checkbox
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
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.
Note: if for last argument abs is defined then the Action must be executed with absolute preformation with the specified visible text in the input.
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
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.
checkbox; I agree to the terms;1
The Select Checkbox Action needs to select the desired checkbox.
The "Select Checkbox" Action successfully selects the "I agree to the terms" checkbox. The test passes if the checkbox is checked