|This method is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This method can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.|
Sets the logical position of the slider.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The method is applied to the following objects:
This method is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.
The method has the following parameters:
|Note:||The parameters of the JQuery UI Slider and AngularUI Slider control’s
A value that specifies the slider’s logical position.
A value that specifies the slider’s ending logical position.
|Note:||The default parameter value of the JQuery UI Slider control is 0.|
If the value of the Position parameter or the value of the EndPosition parameter is greater than the
wMax property value (or less than the
wMin property value), an error message is posted to the test log and the slider's current position and ending position are set to
If the EndPosition parameter value is less than the Position parameter, an error message is posted to the test log and the slider's ending position is set according to the slider's current position and the minimum distance allowed between sliders (specified by the
wMax Property (TrackBar and Slider Controls)
wMin Property (TrackBar and Slider Controls)
wPosition Property (TrackBar and Slider Controls)