# 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**

&#x20;Input: `<input value>`

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

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

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

### Usecase/Example

<figure><img src="/files/PTLmDHKd8gRlapVPevnD" 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: 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/verify-text-exists.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.
