Select value by index
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
Input: <index value>
Note: Only numerical inputs are permitted in the input value, besides, index value beginning with "1" for the initial item in the dropdown or list.
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
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.
3 (3 as index value)
The Select value by index Action should select the 3rd index from the dropdown.
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.