# Select Content Menu by Text

This is a pre-built action available under the **Captured Shell Object** from the **SAP Application**. The functionality of this action in Avo Assure is to select an item from the context menu of a Shell object, based on the menu item's text label.

### Syntax&#x20;

**Input Value:** `<Context Menu Item Name>`

| Argument                  | Description                                       |
| ------------------------- | ------------------------------------------------- |
| \<Context Menu Item Name> | The exact text of the context menu item to select |

**Output Value**&#x20;

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

**Example**&#x20;

**Selecting an Option from the Context Menu of a Shell Object in the SAP Screen**

The **SelectContextMenuByText** action takes the value from the Input Value column **(e.g., INCLUDE  MBIBSL10)** and selects that option from the context menu of the specified Shell object.

<figure><img src="/files/G5AhB3wPKVRnUs4qdVHc" 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/shell-operation/select-content-menu-by-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.
