# 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                                                                                                    |
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| <p>&#x3C;ObjectType><br>(Required)</p>  | Provide the object type to be verified (e.g., select, label, textbox)                                          |
| <p>&#x3C;VisibleText><br>(Optional)</p> | Enter the visible text on the object                                                                           |
| <p>&#x3C;Index><br>(Required)</p>       | Provide the Index of the object (e.g., 0, 1)                                                                   |
| <p>&#x3C;text1><br>(Required)</p>       | Specify the text to be verified in the object                                                                  |
| <p>&#x3C;text2><br>(Required)</p>       | Specify the text to be verified in the object                                                                  |
| <p>abs<br>(Optional)</p>                | If the **abs** is provided, the action is performed with absolute identification using the **absolute X path** |

{% hint style="warning" %}
**Note:** _To skip an optional input value, use an extra semicolon (;)._
{% endhint %}

**Output Value:**

| Argument                                                    | Description                                                     |
| ----------------------------------------------------------- | --------------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable>(Optional) | This dynamic variable holds the result as **True** or **False** |

**Example**&#x20;

**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.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2F7o66RFZehkgurnuhhErH%2Fimage.png?alt=media&#x26;token=f53850af-8eeb-46a8-a1f9-ee9ececefae3" alt=""><figcaption></figcaption></figure>
