Working With iOS Scroll View Controls

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

TestComplete supports most standard iOS controls, including scroll view controls. Scroll view controls are typically used to display content that does not fit on the screen.

To work with iOS date pickers in tests, TestComplete provides the iOS ScrollView test object.

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.

The supported scroll view 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 scroll view used in your tested application, and thus enable the recording and scripting support for this control. For more information, see Object Mapping.

The iOS ScrollView object provides access to native properties and methods of the underlying scroll view control. It also provides specific properties and methods that can be used for simulating user actions on date pickers and for retrieving their data.

The topics in this section provide detailed information about working with date picker controls in TestComplete and contain script samples that illustrate the explanation.

In This Section

Checking ScrollView's Position Range

Contains information on how to determine the minimum and maximum positions of the scroll view.

Determining ScrollView Position

Contains information on getting the current position of the scroll view.

Changing ScrollView Position

Explains how to set a position of the scroll view.

Working with ScrollView in Paging Mode

Describes how to work with scroll view in paging mode.

Related Topics of Interest

Testing iOS Applications

Describes the most common approaches for testing iOS applications.

See Also

iOS ScrollView Support
Object-Specific Tasks
Supported Controls

Highlight search results