# Scroll Horizontally

This is pre-built Action located under the Table/Grid captured from the AUT Element Name, instructs the Avo Assure to perform a horizontal scroll operation on the grid’s scrollable section given in the input and save the result in dynamic variable.

### Syntax

**Input Value:** `<Direction>;<No.of Scrolls>`

<table><thead><tr><th>Argument</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td><p>&#x3C;Direction></p><p>(Required)</p></td><td>Specifies the direction in which to scroll<br>Accepted values: <strong>left</strong> or <strong>right</strong></td><td></td></tr><tr><td><p>&#x3C;No. of Scroll></p><p>(optional)</p></td><td>Defines how many scroll actions to perform in the specified direction.</td><td></td></tr></tbody></table>

**Output Value**

| Argument                                                    | Description                                              |
| ----------------------------------------------------------- | -------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable>(Optional) | This variable stores the status as **true** or **false** |

**Example**&#x20;

**Scrolls the table horizontally in the specified direction and number of times**\
\
The **Scroll Horizontally** action takes the value from the Input Value column (e.g., **right;3**) and performs horizontal scrolling in the given direction for the specified number of scrolls. The result of the scrolling operation is stored in the **{Scroll}** variable, with the following possible values:

* **True** – if the scrolling is performed successfully.
* **False** – if scrolling fails or an error occurs.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FOghBkufPHJDTaqQsF0HA%2Fimage.png?alt=media&#x26;token=726beabb-6909-47b6-86f2-32c038ee711e" alt=""><figcaption></figcaption></figure>
