Select value by index

The Select value by index Action in the Avo Assure is found under the captured dropdown from Desktop Application Element. It instructs the Avo Assure Client to select a value from the dropdown based on the index provided in the input and save the status (True/False) in output variable.

Syntax

Input: <index value>

Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

Usecase/Example

Scenario: Verify selection of 'Recurring (Monthly)' using index in the frequency type dropdown

In this scenario, a desktop banking application is being tested for setting up payments by selecting a "Frequency Type" as One-Time or Recurring (Monthly) from a dropdown. The "Select Value by Index" action is used to verify that when the third option (index 3) is selected for Recurring (Monthly), the dropdown correctly selects Recurring (Monthly) and proceeds with the appropriate payment setup.

Input

3 (3 as index value)

Expected Result

The Select value by index Action should select the 3rd index from the dropdown.

Output

The result of the Select value by index Action is selects the 3rd index value from dropdown and stored in the {result} output variable as “True”, which can be utilized for display or other purposes. 

Last updated

Was this helpful?