Get value by index
The Click element Action in the Avo Assure is found under the captured dropdown from Desktop Application Element. It instructs the Avo Assure Client to fetch the dropdown value using the index value given in the input and save the status in output variable.
Syntax
Input: <Index Value>
Note: Only numerical values are allowed in the input. The index starts with “1,” which is the first value from the list.
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)

Usecase/Example

Scenario: Verify 'Bharat Bank7876' selection using index in the account dropdown.
In this scenario, a desktop banking application is being tested where the account for transferring money is selected. The dropdown includes options: Canara Bank9089, India Bank6754, and Bharat Bank7876. Using the "Get Value by Index" action, the value at the specified index (e.g., 3) is retrieved. For index 3, the dropdown should return Bharat Bank7876, confirming that the correct value is fetched based on the input index.
Input
3
Expected Result
The Get value by index Action should fetch the 3rd index value as “Bharat Bank*7876” from the dropdown.
Output
The result of the Get value by index Action is get the value and stored in the {Value} output variable as {“Bharat Bank*7876”}, which can be utilized for display or other purposes.
Last updated
Was this helpful?