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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.