verifyValuesExists

This is a pre-built action in Avo Assure and is available for the @Custom Element. The functionality of this action in Avo Assure to verify if the input values provided by the user are present in the dropdown or list specified in the input and save the result in the dynamic variable.

Syntax

Input Value:<ObjectType>;<VisibleText (optional)>;<Index>;<text1>;<text2>…etc;<abs (optional)>

Argument
Description

<ObjectType> (Required)

Provide the object type to be verified (e.g., select, label, textbox)

<VisibleText> (Optional)

Enter the visible text on the object

<Index> (Required)

Provide the Index of the object (e.g., 0, 1)

<text1> (Required)

Specify the text to be verified in the object

<text2> (Required)

Specify the text to be verified in the object

abs (Optional)

If the abs is provided, the action is performed with absolute identification using the absolute X path

Output Value:

Argument
Description

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

This dynamic variable holds the result as True or False

Example

Verifies the presence of specified values within an object on the application

The verifyValuesExists action takes the value from the Input Value column (e.g., dropdown;;0;All;Last Month;Last 3 Months) and checks whether the given values exist within the targeted object. The result of the verification is stored in the {Verify Exists} variable, with the following possible values:

  • True – if all specified values are found within the object.

  • False – if one or more values are missing or an error occurs.

Last updated

Was this helpful?