Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

Method ScrollWheel

Scrolls an object or entire view of the AUT

Usage

Function ScrollWheel( 
        Integer Delta,
        Integer X [Optional],
        Integer Y [Optional], 
        Integer MsSpeed [Optional],
        Boolean Report [Optional]
)

Parameters

Delta

Type: Integer

The amount to scroll

X (optional)

Type: Integer

Default value: 0

Coordinate of mouse position during scrolling

Y (optional)

Type: Integer

Default value: 0

Coordinate of mouse position during scrolling

MsSpeed (optional)

Type: Integer

Default value: 1500

Time in milliseconds of the scrolling operation

Report (optional)

Type: Boolean

Default value: true

Report this step in the Test Results

Returns

No return value

Example

VBScript

Application("Demo").ScrollWheel -2000, 300, 300, 1500, true

JavaScript

Application("Demo").ScrollWheel(-2000, 300, 300, 1500, true);

Documentation Categories

ZAPTEST

FARM

LOAD