Get Selected Value from Dropdown

This ‘Get Selected Value from Dropdown’ is a pre-built Action located under the Captured Dropdown Element, instructs the Avo Assure to retrieve the selected value from a dropdown and save the result in dynamic variable.

Syntax

Input Value: N/A

Argument
Description

N/A

Not Applicable

Output Value

Argument
Description

<Dynamic Variable>

(Required)

This dynamic variable holds the value selected from the dropdown

<Dynamic Variable>

(Optional)

This variable holds the status True or False

Example

Retrieves the currently selected option from a dropdown list

The Get Selected Value from Dropdown action reads the value that is currently selected in a dropdown component. This action does not require any value in the Input Value column. The result of the retrieval operation is stored in the {Dropdown} variable, while the execution status is stored in the {Status} variable, with the following possible values:

  • True – if the selected value is retrieved successfully.

  • False – if retrieval fails or an error occurs.

Last updated

Was this helpful?