Select Value by Index
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 select the object based on the index value specified in the input.
Input:
<ObjectType>;<VisibleText(Optional)>;<index>;<index>;<abs(optional)>
For above syntax user needs to gives specific Object type, visible text of the object (optional) along with element index of the object, index of the dropdown which needs to be get selected 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 dropdown menu on a web form where they need to select a country from a list of options. The Avo Assure needs to select the country based on its index in the dropdown (for example, selecting the third item in the list)
dropdown;;1;3
The Select Value by Index Action needs to select the third item from the dropdown and the country “Canada” should be selected.
The "Select Value by Index" Action successfully selects the country "Canada" from the dropdown.