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.
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.