Get all values
This is a pre-built Action located under the Captured Dropdown Element from the Desktop Application. The functionality of this Action in Avo Assure is to fetch all the values available in the dropdown. The extracted values are stored in the given dynamic variable for further use during test execution.
Syntax
Input Value: N/A
N/A
Not Applicable
Output Value: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
<Dynamic Variable>
(Optional)
This dynamic variable stores the retrieved values from the dropdown.
<Dynamic Variable>
(Optional)
This dynamic variable stores the status as True or False.
Example: Retrieving All Selectable Values from a Dropdown or List
In this example, we are explaining how to fetch all available options from a dropdown or list component.
Action: Get all values
Input Value: N/A
This action does not require any value in the Input Value column. It automatically identifies the captured list or dropdown element.
Output Value: {Values}
The retrieved values (e.g., All, Last Month. Last 3 Month, Last 6 Month) are stores in this {Values} dynamic variable.
If a second output variable is defined, it stores the action status with the following possible values:
True: If the values are retrieved successfully.
False: If the values are not retrieved successfully.
Logical Explanation: The Get all values action identifies the dropdown or list element and retrieves every selectable option available within it. These retrieved values are stored (e.g., All, Last Month. Last 3 Month, Last 6 Month) in the {Values} variable.

Additional Information
After the action stores the values in the {Values} variable, you can use individual values in the next scenario by using array format. For example, {Values[1]} returns Last Month.
This allows you to dynamically reuse dropdown options when working with other actions, such as entering a specific value in a text field or selecting a filter.
You can fetch values using array format, such as {Values[0]}, {Values[1]}, and so on, where each index refers to a specific item in the dropdown list.

Last updated