Finding Our Way around UI Automation

At first glance, UI Automation and Instruments together can be pretty overwhelming. In this section, we’re going to take a step back and examine what we’ve been using. Instruments is primarily a profiling tool built on the idea of running and recording a trace of activity in an application.

The window we’ve been working in is a trace document where all the activities over the course of the application run are traced. The key components of the trace-document window are broken down in the following figure.

images/AutomationBasics/1.instrumentspane.png
Figure 7. Getting to know Instruments
  1. These buttons control the trace recording in Instruments. The red ...

Get Test iOS Apps with UI Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.