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.

Table 5-1  Display information in the track pane (Automation instrument)

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.

Table 5-2  Trace Log information in the Detail pane (Automation instrument)

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.

Table 5-3  Editor Log information in the Detail pane (Automation instrument)

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.

Figure 5-1  Automation instrument

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.

Type: How multiple parameters in one track are displayed.

Zoom: The height of the data collection graph.


Did this document help you? Yes It's good, but... Not helpful...