# verifyText

This is a pre-built Action located under the captured table element. The functionality of this Action in Avo Assure is to verify whether the text present in the textbox within the specified table cell matches the text provided in the input field. The result is stored in the given dynamic variable for further use during test execution

## Syntax

**Input Value**: `<Row>;<Col>;<Object Type>;<Index>;<Text>`

| Argument                            | Description                                                                      |
| ----------------------------------- | -------------------------------------------------------------------------------- |
| <p>\<Row><br>(Required)</p>         | Provide the row number of the specified table cell.                              |
| <p>\<Col><br>(Required)</p>         | Provide the column number of the specified table cell.                           |
| <p>\<Object Type><br>(Required)</p> | Provide the type of object within the input value field.                         |
| <p>\<Index><br>(Required)</p>       | Provide the index of the object within the input value field.                    |
| <p>\<Text><br>(Required)</p>        | Provide the text you want to verify against the value present in the table cell. |

**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 Text Inside a Textbox in a Table Cell**

In this example, we explain how to verify whether the text entered in a textbox located within a specific cell of a captured table matches the expected value.

* **Action**: verifyText
* **Input Value**: 2;4;textbox;1;Accountant
  * The first argument (**2**) specifies the row number.
  * The second argument (**4**) specifies the column number.
  * The third argument (**textbox**) specifies the type of object present inside the cell.
  * The fourth argument (**1**) specifies the object index.
  * The fifth argument (**Accountant**) specifies the expected value to be verified.
* **Output Value**: {Status}
* The verification result is stored in the **{Status}** dynamic variable, with the following possible values:
  * **True**: If the text inside the textbox matches the expected value.
  * **False**: If the text inside the textbox does not matches the expected value.
* **Logical Explanation**: The **verifyText** action reads the details from the Input Value column (**2;4;textbox;1;Accountant**). It identifies the table cell located at row 2 and column 4, retrieves the text from the textbox object present in that cell, and compares it with the expected value (Accountant). The result of this comparison (**True**) is stored in the **{Status}** variable.

<figure><img src="/files/MPgW8gY6jF1Q0HS2Cwki" 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/table-1/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.
