# Verify Textbox Length

This is a pre-built action available under the **Captured Textbox Element** from the **SAP GUI Application**. The functionality of this action in Avo Assure is to verify whether the length (number of characters) of the text present in the textbox matches the expected length provided in the input value.

### **Syntax**

**Input Value:** `<value to be verified>`

| Argument                                        | Description                                                                                          |
| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| <p>\<value to be verified></p><p>(Required)</p> | Provide the expected length (numeric value) that should match the actual length of the textbox text. |

**Output Value**

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

**Example**

**Verifying if the Textbox Length Matches the Expected Value on the SAP Screen**

The **Verify Textbox Length** action takes the value from the Input Value column as 12 and checks whether the length of the text present in the captured textbox matches the expected number of characters. The result of the action is stored in the **{VerifyLength}** variable as **True** (if the length matches) or **False** (if the length does not match).

<figure><img src="/files/UXpBLvhmtagU8PvBaX6L" 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/textbox-operations/verify-textbox-length.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.
