Working With Android Zoom Controls Control

Applies to TestComplete 15.45, last modified on December 01, 2022

Zoom controls (ZoomControls) are used to display a set of controls used for zooming. A user can touch zoom controls to zoom in or out. TestComplete provides extended support for Android zoom controls.

TestComplete analyzes the control class names and automatically creates wrapper Android ZoomControls test objects for zoom controls. These objects contain specific methods and properties for simulating user actions on zoom controls and for retrieving their data.

Supported zoom controls classes are listed in the project’s Object Mapping options. You can extend this list, for example, add the class name of a custom zoom control used in your tested application, and thus enable the recording and scripting support for this control. For more information, see Default Project Properties - Object Mapping Options.

Note: The described support is available only if the tested Android application is Open, that is, if it was prepared for TestComplete (see Preparing Android Applications (Legacy)).

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

In This Section

Zooming In and Out Zoom Controls

Explains how to simulate a touch on zoom controls.

Related Topics of Interest

Testing Android Open Applications (Legacy)

Explains the most common approaches for working with Android Open applications.

Simulating Gestures (Multi-Touch Events) (Legacy)

Contains information on how to simulate multitouch actions in your scripts.

Simulating User Actions Over Android Devices (Legacy)

Explains the most common approaches for simulating user actions over Android applications’ controls.

See Also

Android ZoomControls Support
Object-Specific Tasks
Supported Controls
Default Project Properties - Object Mapping Options

Highlight search results