UIATableView Class Reference

Inherits from

Overview

The UIATableView class allows access to, and control of, elements within a table view in your app.

For an explanation of how to use this class and related classes, see “Automating UI Testing” in Instruments User Guide.

Inherited Methods

Table 1 provides a list of methods inherited from UIAScrollView.

Table 1  Methods inherited from UIAScrollView

Method

Description

scrollDown

Scrolls down within the specified table view.

scrollLeft

Scrolls left within the specified table view.

scrollRight

Scrolls right within the specified table view.

scrollToElementWithName

Scrolls within the table view until the named element is displayed on the screen.

scrollToElementWithPredicate

Scrolls within the table view until the matching element is displayed on the screen.

scrollToElementWithValueForKey

Scrolls within the table view until the element with the specified value for the specified key is displayed on the screen.

scrollUp

Scrolls up within the specified table view.

Tasks

Retrieving Information

Methods

cells

Returns an array of the cells within the table view.

(UIAElementArray) cells()

groups

Returns an array of the groups within the table view.

(UIAElementArray) groups()

visibleCells

Returns an array of the cells that are visible within the table view.

(UIAElementArray) visibleCells()