Share this page
autoScroll
Controls automatic scrolling for AI identification in the current test run.
By default, the automatic scrolling is on, and set to scroll down, up to 2 times.
Methods
(static) disable() → {Promise.<void>}
Disables automatic scrolling for AI identification in the current test run.
Returns:
a promise that is fulfilled after the automatic scrolling configuration is updated
-
Type
- Promise.<void>
(static) enable(settingsopt) → {Promise.<void>}
Enables and configures automatic scrolling for AI identification in the current test run.
Parameters:
Name | Type | Attributes | Description |
---|
settings | object |
<optional>
| The automatic scrolling configuration to use in the current test run.
PropertiesName | Type | Attributes | Description |
---|
direction | string |
<optional>
| The direction in which to scroll. Possible values: up, down, right, left. Default value: down | maxScrolls | number |
<optional>
| The maximum number of times to scroll in search of the object. Default value: 2 |
|
Returns:
a promise that is fulfilled after the automatic scrolling configuration is updated
-
Type
- Promise.<void>
Tips to improve your search results...
UFT Developer JavaScript SDK ReferenceVersion: 2021-23.4UFT Developer SDK ReferenceAllView Local Help CenterView Online Help CenterbackGo back in browser historyforwardGo forward in browser historyRemove search highlightsnext topicGo to next topicprevious topicGo to previous topicPrint the current topicVersion: