Select Value by Index

This ‘Select Based on Absolute Value’ is a pre-built Action located under the Captured Dropdown Element, instructs the Avo Assure is to select a value from the AUT (Application Under Test) as an input based on its index and save its status in the dynamic variable.

Syntax

Input Value: <Index value>

Argument
Description

<Input value> (Required)

Specify the numerical value to be selected from the dropdown Supported format: Numerical value

The index starts with “0

Output Value:

Argument
Description

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

This variable holds the status True or False

Example

Selects an item from a list or dropdown based on the provided numerical value

The Select Value by Index action takes the value from the Input Value column (e.g., 2) and selects the corresponding option in the dropdown or list. The result of the selection operation is stored in the {Select} variable, with the following possible values:

  • True – if the item is selected successfully.

  • False – if selection fails

Last updated

Was this helpful?