OpenText™ Functional Testing for Developers JavaScript SDK

AI.AIRunSettings. comboBox

new comboBox()

Updates the AI-based combo box select settings.

Methods

(static) set(settingsopt) → {Promise.<void>}

Specifies the ComboBox settings to use in the current AI-based Web test run.
Parameters:
Name Type Attributes Description
settings object <optional>
The new AI-based combo box select settings to use.
Properties
Name Type Attributes Description
max_scroll_num number <optional>
The maximum number of times to scroll in the ComboBox's drop-down list. Default: 10
scroll_direction string <optional>
The scrolling direction in the ComboBox's drop-down list. Possible values: "down", "up". Default: "down".
ticks_per_scroll number <optional>
Number of mouse-wheel ticks each scroll advances. Default: 1
Returns:
a promise that is fulfilled after the combo box settings are updated
Type
Promise.<void>