wPosition Property (Specific to iOS Stepper Controls)

Applies to TestComplete 14.40, last modified on April 22, 2021

Description

Use the wPosition property to get or set the value that is currently displayed in the stepper control. This value must be within the range wMinwMax (the bounds are included).

Declaration

TestObj.wPosition

Read-Write Property Double
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

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Property Value

A float value that is currently displayed in the stepper control.

Remarks

If you assign a value to wPosition and this value is greater than wMax (or less than wMin), it will be automatically replaced with wMax (or wMin) value, and an error message will be posted to the log.

See Also

Testing iOS Applications
Determining the Current Value of a Stepper Control
wMin Property (Specific to iOS Stepper Controls)
wMax Property (Specific to iOS Stepper Controls)
Down Action (Mobile Controls)
Up Action (Mobile Controls)

Highlight search results