Slider controls are used to provide visual feedback on the control's value. A user can drag the slider to change its position. TestComplete provides extended support for iOS slider 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 Slider
test objects) for slider controls.
The supported slider 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 slider used in your tested application, and thus enable the recording and scripting support for this control. For more information, see Object Mapping.
The iOS Slider
object provides access to native properties and methods of the underlying slider control. It also provides specific properties and methods that can be used for simulating user actions on sliders and for retrieving their data.
The topics in this section provide detailed information about working with slider controls in TestComplete and contain script samples that illustrate the explanation.
In This Section
Determining Minimum and Maximum Slider Positions