Automation Instrument
The Automation instrument allows you to automate user interface tests of your iOS application.
The Automation instrument is associated with the following tasks:
Platforms | iOS |
Locations | Automation template Library pane |
Displayed Information
The Automation instrument displays the recorded information in the track pane and the Detail pane.
Track Pane
The track pane displays the following information Table 5-1, based on the instrument’s configuration.
Display name | Definition |
|---|---|
FD | The numeric file descriptor. |
Bytes | The number of bytes that were read or written. |
Thread ID | The thread identifier. |
Stack Depth | The depth of the stack when the operation was performed. |
Detail Pane
The Detail pane provides Trace Log information in Table 5-2.
Column heading | Definition |
|---|---|
Index | The event number. |
Timestamp | The time that the event occurred. |
Log Messages | The log message associated with the event. |
Log Type | The type of the event. |
Screenshot | A screenshot of the event. |
The Detail pane provides Editor Log information in Table 5-3.
Column heading | Definition |
|---|---|
Index | The event number. |
Timestamp | The time that the event occurred. |
Log Messages | The log message associated with the event. |
Log Type | The type of the event. |
Screenshot | A screenshot of the event. |
The Detail pane provides an area for the user to create their own JavaScript tests. See the UI Automation JavaScript Reference for details. Figure 5-1 shows the Automation instrument running against the UIACatalog process.


Configuration Options
You can configure how information is displayed in the track pane through the configuration dialog. Click the inspector icon to bring up the configuration dialog. Customize the following display options.
Target: Choose a target for this instrument. Available only if you choose Instrument Specific from the Target pop-up menu in the toolbar.
Track Display: Controls how information is displayed in the track pane, grouped by style, type, and zoom.
Style: How information is presented.
Block Graph: Information is presented as a horizontal line until the information changes. The area under the line is filled by the statistic’s designated color.
Type: How multiple parameters in one track are displayed.
Stacked: Each statistic has its own graph.
Overlay: All information is contained in one graph.
Zoom: The height of the data collection graph.
© 2013 Apple Inc. All Rights Reserved. (Last updated: 2013-04-23)