wPosition Property (Specific to iOS Stepper Controls)

Applies to TestComplete 15.62, last modified on March 19, 2024
This property is available in legacy mobile tests that work with devices connected to the local computer. To learn how to simulate user actions in newer cloud-compatible mobile tests, see the Simulating user actions in tests section.

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 (Legacy)
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