# Get text

This is pre-built Action located under the Mainframe List Element Name. It instructs the Avo Assure Client to retrieve the text and save it in the Output Variable.

### **Syntax**

**Input:** `<Row Number>;<Column Number>;<length>`&#x20;

* First Argument accepts Row Number and second Argument accepts Column Number of the specific text along with the Length which user wants to fetch.
* here in this case Row Number and Column Number can be considering as X,Y Co-ordinate.

**Output:** `<Dynamic Variable>;<Dynamic Variable>(Optional)`

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

### **Usecase/Example**

<figure><img src="/files/4c4kq64X64bOLx4NVoYJ" alt=""><figcaption></figcaption></figure>

### **Scenario**

In a testing scenario for a Mainframe Application, various screens, such as error messages, confirmation dialogs, and system responses needs to be extracted and validated data. Using Avo Assure, log into the mainframe application and navigate to specific screens to perform these tasks.

The screen displays a confirmation message, such as **Transaction Successful**.

The **Get text** keyword enables the Avo Assure to retrieve text from the screen and store it in an output variable.

### **Input**

20;018;5

{% hint style="info" %}
Note: In above Input the Action will start retrieving from the 20th Row number and 018th Column number and the 5 characters long.
{% endhint %}

### **Expected Result**

The action needs to retrieve the 5 Character long text.

### **Output**

The Get text Action retrieve the Text as Transaction Successful. And save it in the {result} output variable, which can be utilized for display or other purposes.


---

# 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/mainframe/get-text.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.
