# Select Rows

This is a pre-built action available under the **Captured Grid Element** from the **SAP GUI Application**. The functionality of this action in Avo Assure is to select the specified rows from the Grid based on the input value.&#x20;

### Syntax

**Input Value:** `<Row Number/Numbers (with separator as ;)>`&#x20;

| Argument                                                | Description                                              |
| ------------------------------------------------------- | -------------------------------------------------------- |
| \<Row Number/Numbers (with separator as ;)>  (Required) | Row numbers to be selected, separated by a semicolon (;) |

**Output Value**&#x20;

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

**Example**

**Selects the Rows 6 and 9 in the SAP Grid**&#x20;

The **SelectRows** action takes the value from the Input Value column (e.g., **6;9**) and selects the specified rows in the SAP Grid based on the provided row numbers.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FeRHfJyqJvH4LZA4Ofd4a%2Fimage.png?alt=media&#x26;token=5b1928f9-c225-4b24-88bc-b1322a446321" alt=""><figcaption></figcaption></figure>
