wPositionY Property (Specific to YUI 2 Slider Controls)

Applies to TestComplete 15.10, last modified on December 01, 2021
This property is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This property can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.

Description

A slider's two-dimensional logical position is specified by horizontal and vertical offsets. Use the wPositionY property to get the current vertical position of the slider.

Declaration

TestObj.wPositionY

Read-Write Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

An integer value that specifies the current vertical position of the slider.

Remarks

For a vertical slider, the property value equals the wPosition property value. For a horizontal slider, the property always returns 0.

See Also

wPositionX Property (Specific to YUI 2 Slider Controls)
wPosition Property (TrackBar and Slider Controls)

Highlight search results