# 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="/files/1x0KdtUB4nFJTogSU04b" 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/web/grid/scroll-horizontally.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.
