Verify all value
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 verify whether all the input values provided are present in the dropdown. The result is stored in the given dynamic variable for further use during test execution.
Syntax
Input Value: <value1>;<value2>;...etc
<value1>;<value2>;..etc
(Required)
Provide the values which you want to verify.
Note: Each text value must be separated using a semicolon (;).
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: Verifying All Expected Values in a Dropdown or List
In this example, we are explaining how to verify that all expected values are present in the target dropdown or list element.
Action: verify all values
Input Value: All;Last Month;Last 3 Months
The first argument (All) specifies the first expected value to be validated.
The second argument (Last Month) specifies the next expected value that should be present in the list.
The third argument (Last 3 Months) specifies another value that must be available in the dropdown.
Output Value: {Status}
The verification result is stored in the {Status} dynamic variable with the following possible values:
True: If all specified values are found successfully.
False: If all specified values are not found successfully.
Logical Explanation: The verify all values action reads all expected values from the Input Value column (All; Last Month; Last 3 Months). The action verifies the target dropdown or list element to check whether each expected value exists. It validates every entry individually to ensure complete accuracy. The result of the verification (True) is stored in the {Status} variable.

Example 2: Verifying All Specified Values in a Dropdown using Array Format
In this example, we are explaining how to verify that all specified values exist in a dropdown list using an array format.
Action: Verify all value
Input Value: {Values[0]};{Values[1]};{Values[2]};{Values[3]}
The first argument ({Get All[0]}) specifies the first value that should be present in the dropdown.
The second argument ({Get All[1]}) specifies the next value that must be available.
The third argument ({Get All[2]}) specifies another value to be validated in the dropdown.
The fourth argument ({Get All[3]}) specifies an additional value that must exist in the dropdown.
Output Value: {Status}
The result of the verification is stored in the {Status} dynamic variable with the following possible values:
True: If the dropdown contains exactly the same values as specified.
False: If all specified values are not found successfully.
Logical Explanation: The Verify all value action reads the expected values from the Input Value column ({Values[0]};{Values[1]};{Values[2]};{Values[3]}). The action checks the target dropdown element to ensure that each value in the array exists exactly as specified. The verification result (True) is stored in the {Status} variable.
Note: After the action retrieves the complete list of options with Get all values Action and stores them in the {Values} variable, then you can pass these items to the next scenario by indexing the array (e.g., {Values[0]}; {Values[1]}; {Values[2]}; {Values[3]}).

Last updated