Verify Selected Value

This ‘verifySelectedValue’ is pre-built Action located under the Captured Dropdown Element, instructs the Avo Assure to verify the selected dropdown value match with given input value, and save the result in dynamic variable.

Syntax

Input Value: <text>

Argument
Description

<text> (Required)

The input value to be compared with the selected value in the dropdown

Output Value

Argument
Description

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

This variable holds the status as True or False

Example

Performs validation to check if the selected value in a dropdown matches the expected text

The Verify Selected Value action takes the value from the Input Value column (e.g., Last Month) and verifies whether the selected option in the captured dropdown element matches the given text. The result of the comparison is stored in the {VerifySelectedValue} variable, with the following possible values:

  • True – if the selected value matches the expected text.

  • False – if the value does not match or an error occurs.

Last updated

Was this helpful?