# Get Element Text

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

### Syntax&#x20;

**Input Value:** `N/A`

| Argument | Description    |
| -------- | -------------- |
| N/A      | Not Applicable |

**Output Value**&#x20;

| Argument                       | Description                                                            |
| ------------------------------ | ---------------------------------------------------------------------- |
| \<Dynamic Variable>(Required)  | This variable holds the fetched text from the element.                 |
| \<Dynamic Variable> (Optional) | This dynamic variable holds execution status as **True** or **False.** |

**Example**

**Fetches the visible text from a GuiTitlebar element**

The **Get Element Text** action does not require any value from the Input Value column. It retrieves the visible text **(e.g., ABAP Editor: Initial Screen)** from the selected element and stores the result in the **{Element Text}** variable.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2Fomc1MrWz4ncwMIvCme61%2Fimage.png?alt=media&#x26;token=e3eeab0b-0a5b-4de2-9c7b-e488a2888548" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FeSfRIENW9IDpcjIzFFzi%2Fimage.png?alt=media&#x26;token=2a9a012c-31be-4998-b628-499682971f3c" alt="" width="305"><figcaption></figcaption></figure>
