Capturing iOS controls with the Interface Viewer

This feature is on-demand support

The Interface Viewer looks for the presence, and displays the graphical user interface (GUI) of, available iOS devices.

Important:
iOS automation is only supported on Windows or macOS hosts.

Ensure that the following requirements are met:

  • You are familiar with the Interface Viewer and the concepts involved in creating an interface (see The Interface Viewer for details).
  • A connection between your iOS device and the host machine has been established.
  • The re-signed application is active on your iOS device.

Do the following to capture interface entities/elements of the re-signed application running on your iOS device:

  1. Launch the Interface Viewer.

  2. The Viewer generally attempts to restore the last viewing session (whether with a device or host machine) it was used for. If it does not automatically display the GUI environment of the iOS device you wish to view, select View > Switch Device to switch to it.

    At this point, the Interface Viewer scans the host system for all available mobile devices. If the Viewer finds only one mobile device, it displays a GUI tree of the re-signed application for that device.

  3. If more than one mobile device is found, the Viewer displays the Select device dialog box to allow you choose which mobile device to automate. In this dialog box, select a desired device, then click the Open button.

    The Interface Viewer displays the associated GUI tree (the UI environment for the AUT on the iOS device).

    Note:
    • Only one AUT can be automated at a time. Therefore only one application’s UI environment is displayed.
    • TestArchitect does not support capturing native iOS dialog boxes - that is, ones that, regardless of origin, are posted by the operating system rather than directly from the application. (An example of such a dialog box would be one displaying the message <app name> Would Like To Use Your Current Location, which originates from an application submitting a request to iOS, which then presents the popup.)
  4. The processes for mapping iOS windows and GUI controls to interface entities and elements, naming items using TA name, and saving interface definitions are essentially the same as described in Capturing interface definitions and Naming interface elements.

Restriction:
Some features of the TestArchitect Interface Viewer are not available in the iOS version. These include:


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400