> 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/desktop/iris/common-iris-keywords/get-text-iris.md).

# Get Text IRIS

This is a pre-built action which comes under the element captured from the Desktop AUT using IRIS method. It instructs the Avo Assure Client to get text from the IRIS object and save the result in the output variable. 

### **Syntax**

**Input:** `<options>`

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

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

### **Usecase/Example**

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

### **Scenario:** Retrieve and Validate Welcome Message in Project Management Desktop Application.

Consider a scenario where a desktop application for a project management tool is being automated. After logging in, a **Welcome Message** appears on the dashboard, displaying a personalized greeting with the user's name (e.g., **Welcome, John**!). Using the **Get Text IRIS** action, the text of the welcome message is retrieved to ensure it is displayed correctly.

### **Expected Result**

This action needs to get text from IRIS and save the result in output variable {Text IRIS}.

### **Output**

The action **Get Text IRIS** performed, and output variable {Text IRIS} store as ‘Welcome John!’.


---

# 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/desktop/iris/common-iris-keywords/get-text-iris.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.
