wPositionX Property (Specific to YUI 2 Slider Controls)

Applies to TestComplete 15.62, last modified on March 19, 2024
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 wPositionX property to get the current horizontal position of the slider.

Declaration

TestObj.wPositionX

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 horizontal position of the slider.

Remarks

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

See Also

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

Highlight search results