Select by value
This is a pre-built Action located under the captured dropdown element. The functionality of this action in Avo Assure is to select a value from the dropdown based on the input provided. The result is stored in the given dynamic variable for further use during test execution.
Syntax
Input Value: <value>
<value> (Required)
Provide the value which you wants to select from the dropdown or list.
Supported input format:
Numeric
Text
Dynamic
Output Value: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
Both dynamic variable stores the status as True or False.
Example: Selecting an Option from a Dropdown using a Numeric Value
In this example, we explain how to select a specific option from a dropdown based on the numeric value provided.
Action: Select By Value
Input Value: 2
The first argument (2) specifies the numerical value representing the option to be selected from the dropdown.
Output Value: {Status}
The result of the selection operation is stored in the {Status} dynamic variable with the following possible values:
True: If the value is selected successfully.
False: If the value is not selected successfully.
Logical Explanation: The Select By Value action takes the value from the Input Value column (2). It identifies the corresponding option in the captured dropdown element and performs the selection. After the option is selected, the action stores the result (True) in the {Status} variable.

Last updated
Was this helpful?