# Set Focus

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 set focus on the specified UI element before performing any input operation.

### **Syntax**

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

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

<table><thead><tr><th valign="top">Argument </th><th valign="top">Description </th></tr></thead><tbody><tr><td valign="top">&#x3C;Dynamic Variable> (Optional);&#x3C;Dynamic Variable> (Optional)</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**

The **Set Focus** action is used to bring focus to a specific element on the screen, such as the **username textbox**.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FOrcIECoMelNC4gpLgtrP%2Fimage.png?alt=media&#x26;token=fa16bb41-d326-4e12-960d-81f6958aa896" alt=""><figcaption></figcaption></figure>
