Working With iOS Stepper Controls

Applies to TestComplete 15.64, last modified on June 12, 2024

Stepper controls are used to increase or decrease a value by a constant amount. The controls do not display any values, but they are usually associated with another control that displays them. TestComplete provides extended support for iOS stepper controls.

Note: The described support is available only if the tested iOS application and the computer where TestComplete is running have been prepared for testing in a special way. See Preparing Applications, Devices and Test Computers for iOS Testing.

TestComplete analyzes a control's class names and automatically creates wrapper objects (iOS Stepper test objects) for stepper controls.

The supported stepper classes are listed in the project’s Object Mapping options. You can extend this list. For example, you can add the class name of a custom stepper used in your tested application, and thus enable the recording and scripting support for this control. For more information, see Object Mapping.

The iOS Stepper object provides access to native properties and methods of the underlying stepper control. It also provides specific properties and methods that can be used for simulating user actions on stepper controls and for retrieving control data.

The topics in this section provide detailed information on working with stepper controls in TestComplete and contain sample scripts.

In This Section

Determining the Current Value of a Stepper Control

Explains how to obtain the current value of a stepper control.

Determining the Minimum and Maximum Stepper Values

Explains how to obtain the minimum and maximum values of a stepper control.

Changing the Value of a Stepper Control

Describes how to change the value of a stepper control.

Working With Stepper Buttons

Contains information on how to work with stepper buttons.

Related Topics of Interest

Testing iOS Applications (Legacy)

Describes the most common approaches for testing iOS applications.

See Also

iOS Stepper Support
Object-Specific Tasks
Supported Controls

Highlight search results