Get Selected Value from Dropdown
This is a pre-built Action located under the captured dropdown element. The functionality of this action in Avo Assure is to retrieve the selected value from the dropdown. The result is 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>;<Dynamic Variable>(Optional)
<Dynamic Variable>
(Required)
This dynamic variable stores the value selected from the dropdown.
<Dynamic Variable>
(Optional)
This dynamic variable stores the status as True or False.
Example: Retrieving the Selected Value from a Dropdown List
In this example, we explain how to fetch the currently selected option from a dropdown list.
Action: Get Selected Value from Dropdown
Input Value: N/A
This action does not require any value in the Input Value column.
Output Value: {Dropdown}
The selected dropdown value is (e.g., All) stored in the {Dropdown} dynamic variable.
If a second output variable is defined, it stores the action status with the following possible values:
True: If the selected value is retrieved successfully.
False: If the selected value is not retrieved successfully.
Logical Explanation: The Get Selected Value from Dropdown action executes without requiring input. The action fetches the value currently selected in the targeted dropdown element. The retrieved value (e.g., All) is stored in the {Dropdown} variable.

Last updated
Was this helpful?