Verify Count
Last updated
Was this helpful?
Last updated
Was this helpful?
This ‘verifyCount’ is a pre-built Action located under the Captured Dropdown Element, instructs the Avo Assure to verify if the count of items given in the input value and the total count of dropdown options match or not and save the result in dynamic variable.
Input Value: <Input value>
<Input value> (Required)
The input value is the numerical value which represents the expected count to be verified against the actual count.
Output Value
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
This variable holds the status as True or False
Example
Performs validation to check if the number of dropdown items matches the expected count
The Verify Count action takes the value from the Input Value column (e.g., 4) and verifies whether the number of options in the captured dropdown element matches the given count. The result of the comparison is stored in the {Verify} variable, with the following possible values:
True – if the dropdown item count matches the expected value.
False – if the count does not match or an error occurs.