# Verify Count

This is a pre-built action available under the **Captured Dropdown Element** from the **SAP GUI Application**. The functionality of this action in Avo Assure  to verify the user-provided input count with the total number of options in the dropdown and save the result in dynamic variable.

### **Syntax**

&#x20;**Input Value:** `<value to be verified>`&#x20;

| Argument                                     | Description                                               |
| -------------------------------------------- | --------------------------------------------------------- |
| <p>\<value to be verified><br>(Required)</p> | Specify the expected number of items in the dropdown list |

**Output Value:**&#x20;

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

**Example**

**Verifies if the specified count matches the SAP dropdown options.**

The **Verify Count** action takes the value from the Input Value column (e.g., 18) and checks whether the number of items (such as rows or elements) in the captured grid or container matches the expected count. The result of the action is stored in the **{VerifyCount}** variable as **True** (if the count matches) or **False** (if the count does not match).

<figure><img src="/files/UAlg2ooHhKj4ubMaC0zZ" 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/sap/dropdown-operations/verify-count.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.
