# Get Text

This is a pre-built action available under the **Captured Textbox Element** from the **SAP GUI Application**. The functionality of this action in Avo Assure is to fetch the text present in the textbox and save result in the dynamic variable.

### **Syntax**

**Input Value:** `N/A`&#x20;

<table><thead><tr><th valign="top">Argument </th><th valign="top">Description </th></tr></thead><tbody><tr><td valign="top">N/A</td><td valign="top">Not Applicable</td></tr></tbody></table>

**Output Value:**&#x20;

<table><thead><tr><th valign="top">Argument </th><th valign="top">Description </th></tr></thead><tbody><tr><td valign="top"><p>&#x3C;Dynamic Variable></p><p>(Required)</p></td><td valign="top">This variable holds the extracted text from the textbox element</td></tr><tr><td valign="top"><p>&#x3C;Dynamic Variable></p><p>(Optional)</p></td><td valign="top">This dynamic variable holds the status of the action as <strong>True</strong> or <strong>False</strong>.</td></tr></tbody></table>

**Example**

**Fetches the visible text from the User Name Textbox element**

The **Get Text** action does not require any value from the Input Value column. It retrieves the visible text **(e.g., acap3)**&#x66;rom the captured **User Name** element. The result of the action is stored in the **{Text}** variable as (e.g., **acap3**)

<figure><img src="/files/2m18Mrhw0wDPoqWxxhYv" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/8Iz5dgwRMA8jzwYRBl9b" alt=""><figcaption></figcaption></figure>


---

# 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/sap/textbox-operations/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.
