> 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/mainframe/verify-text-exists.md).

# Verify Text Exists

This is prebuilt action in Avo Assure which is located under Mainframe list. It instructs the Avo Assure Client to verify the text value specified in input value is present on the mainframe emulator screen and stores the status (True or False) in output variable.

### **Syntax**

Input: `<input value>`

{% hint style="info" %}
**Note:** The user gives Text to verify with mainframe list.
{% endhint %}

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

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FZPJr0mKw8KYlpiqc0RGE%2Fimage.png?alt=media&amp;token=625f08f4-4705-461b-a432-b9dec6967ae5" alt=""><figcaption></figcaption></figure>

### Usecase/Example

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FNL6OqUx3FvG3yNNjdkT3%2Fimage.png?alt=media&amp;token=751d1f51-d0cb-435b-a9ea-e1024025ceca" alt=""><figcaption></figcaption></figure>

### **Scenario:** Verify Account Status as Active in Mainframe Application

In a mainframe application, verifying whether a customer's account is Active is essential. The **Verify Text Exists** action is used to search for the word "Active" in the account status field. If the text is found, the process continues, ensuring accurate processing of accounts based on their status.

### **Input**

Active

### **Expected Result**

The Verify text Exists action needs to verify the text value specified in input value is present on the mainframe emulator screen and saves in output variable.

### **Output**

The action performed and saves the status in the {Result} output variable as True.


---

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