Select Value by Index
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.
Syntax
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.
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

Usecase/Example

Scenario
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)
Input
dropdown;;1;3
Expected Result
The Select Value by Index Action needs to select the third item from the dropdown and the country “Canada” should be selected.
Output
The "Select Value by Index" Action successfully selects the country "Canada" from the dropdown.
Last updated
Was this helpful?