# 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`&#x20;

| Argument                                          | Description                                                                                                                               |
| ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| <p>\<value1>;\<value2>;..etc</p><p>(Required)</p> | <p>Provide the values which you want to verify.</p><p><strong>Note</strong>: Each text value must be separated using a semicolon (;).</p> |

**Output Value**: `<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)`

| Argument                                                    | Description                                                       |
| ----------------------------------------------------------- | ----------------------------------------------------------------- |
| \<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.

<figure><img src="/files/4mmuo4j1ZbYePV0TWu5i" alt=""><figcaption></figcaption></figure>

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

{% hint style="info" %}
**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]}).
{% endhint %}

<figure><img src="/files/gUeNOvrf9y1nmNFcANnx" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/desktop/dropdown-1/verify-all-value.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
