Documentation Index

Fetch the complete documentation index at: https://helpcenter.autify.com/llms.txt

Use this file to discover all available pages before exploring further.

How to add scroll step

Prev Next

This article explains the Scroll step feature.

The Scroll step is a feature that reproduces scrolling operations using a mouse wheel in web tests. You can specify the scroll amount in the vertical (up/down) and horizontal (left/right) directions in pixels to scroll in any direction on the page.

Normally, steps like Click in Nexus automatically scroll to the found element. Therefore, use this step when explicit scrolling is required, such as when an element is not displayed without scrolling.

How to use

Adding a Scroll step

Scroll operations are not subject to recording. You need to add the step manually from the scenario details page.

  1. On the scenario details page, click + at the position where you want to add the step.
  2. Hover over Insert step in the displayed menu.
  3. Click Scroll step from the menu.

Image

  1. The step settings screen is displayed. Enter the scroll amount (in pixels) in the following fields:
    • Vertical (px): Scroll amount in the vertical direction (up/down). A positive value scrolls down, and a negative value scrolls up.
    • Horizontal (px): Scroll amount in the horizontal direction (left/right). A positive value scrolls right, and a negative value scrolls left.
  2. Click Insert to add the step.

Editing the scroll amount

  1. On the scenario details page, click the edit button of the Scroll step you want to modify.
  2. The step settings screen opens.
  3. Change the values for Vertical (px) and Horizontal (px).
  4. Click Done to save the changes.

Notes

  • Specifying the scroll amount

You cannot set both vertical and horizontal directions to "0". Enter a non-zero value for at least one of them.

  • Specifying the target element

The Scroll step is executed on the entire page, not on a specific element. If you want to scroll within a specific frame or container, you need to combine it with a step that moves the mouse cursor over that frame beforehand.

  • Relative scrolling

You cannot specify relative scrolling such as "scroll to the bottom of the page" or "scroll until a specific element is visible".

  • Using dynamic values

In addition to directly entering values, you can also use dynamic values such as Data tables and Workspace variables.