> For the complete documentation index, see [llms.txt](https://docs.avoautomation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avoautomation.com/avo-assure/actions/web/grid/get-column-number-of-input-text.md).

# Get Column Number of Input Text

This is pre-built Action located under the Table captured from the AUT Element Name, instructs Avo Assure to fetch the input text's column number in the grid and save the result in the dynamic variable.

### Syntax

**Input Value:** `<text>;<header/body>(optional);<left/right>(optional);<col_attr>(optional)`

<table><thead><tr><th>Argument</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>&#x3C;text><br>(Required)</td><td>Specifies the input text to search for within the table/Grid</td><td></td></tr><tr><td><p>&#x3C;header/body></p><p>(Optional)</p></td><td>Specifies whether the search should be performed in the table header or body.</td><td></td></tr><tr><td><p>&#x3C;left/right></p><p>(Optional)</p></td><td>Indicates the direction in which to search for the text.</td><td></td></tr><tr><td>&#x3C;col_attr><br>(Optional)</td><td>Additional column attribute to help narrow down the column match.</td><td></td></tr></tbody></table>

**Output Value**

| Argument                                 | Description                                              |
| ---------------------------------------- | -------------------------------------------------------- |
| <p>\<Dynamic Variable><br>(Required)</p> | This variable stores the column number                   |
| <p>\<Dynamic Variable><br>(Optional)</p> | This variable stores the status as **true** or **false** |

**Example**

**Identifies the column number containing a specified input text**\
\
The **Get Column Number of Input Text** action locates the column in a table that contains the specified text using the input value format (e.g., **Loan Type;header**). In this case, **Loan Type** is the text to search, and **header** defines the section of the table to look into. The resulting column number is stored in the **{ColumnNo}** variable, while the execution status is stored in the **{Status}** variable, with the following possible values:

* **True** – if the column is found successfully.
* **False** – if the column is not found or an error occurs.

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

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/web/grid/get-column-number-of-input-text.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
