# verifyText

This is a pre-built Action located under the captured textbox element. The functionality of this Action in Avo Assure is to verify whether the text present in the textbox matches the input value specified in the **Input Value** column. The verification result is stored in a dynamic variable for further use during test execution.

## **Syntax**

**Input Value**: `<input value>`

| Argument                            | Description                                          |
| ----------------------------------- | ---------------------------------------------------- |
| <p>\<input value><br>(Required)</p> | Provide the text to verify with the textbox content. |

**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 the Value of a Textbox

In this example, we explain how to verify whether the text present in a textbox matches a specified input value using the **verifyText** action.

* **Action**: verifyText
* **Input Value**: Home Page
  * The input value (**Home Page**) specifies the text to be compared with the existing content of the textbox during execution.
* **Output Value**: {Status}&#x20;
  * The result of the verifying text operation is stored in the **{Status}** dynamic variable, which returns one of the following values:
    * **True**: If the current text matches the specified input value.
    * **False**: If the current text not matches the specified input value.
* **Logical Explanation**: The **verifyText** action takes the value from the **Input Value** column (**Home Page**) and compares it with the text currently present in the targeted textbox. The result of this comparison is stored in the **{Status}** variable as true.

<figure><img src="/files/ZelCT98xcweh1ZKHv7md" 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/web/textbox/verifytext.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.
