android.support.test.uiautomator

Interfaces

IAutomationSupport Provides auxiliary support for running test cases 
UiWatcher See registerWatcher(String, UiWatcher) on how to register a a condition watcher to be called by the automation library. 

Classes

By

By is a utility class which enables the creation of BySelectors in a concise manner. 

BySelector A BySelector specifies criteria for matching UI elements during a call to findObject(BySelector)
Configurator Allows you to set key parameters for running uiautomator tests. 
EventCondition<R> An EventCondition is a condition which depends on an event or series of events having occurred. 
SearchCondition<R> A SearchCondition is a condition that is satisfied by searching for UI elements. 
UiAutomatorInstrumentationTestRunner Test runner for UiAutomatorTestCases. 
UiAutomatorTestCase This class is deprecated. It is no longer necessary to extend UiAutomatorTestCase. You can use getInstance(Instrumentation) from any test class as long as you have access to an Instrumentation instance.  
UiCollection Used to enumerate a container's UI elements for the purpose of counting, or targeting a sub elements by a child's text or description. 
UiDevice UiDevice provides access to state information about the device. 
UiObject A UiObject is a representation of a view. 
UiObject2 A UiObject2 represents a UI element. 
UiObject2Condition<R> A UiObject2Condition is a condition which is satisfied when a UiObject2 is in a particular state. 
UiScrollable UiScrollable is a UiCollection and provides support for searching for items in scrollable layout elements. 
UiSelector Specifies the elements in the layout hierarchy for tests to target, filtered by properties such as text value, content-description, class name, and state information. 
Until The Until class provides factory methods for constructing common conditions. 

Enums

Direction An enumeration used to specify the primary direction of certain gestures. 

Exceptions

StaleObjectException A StaleObjectException exception is thrown when a UiObject2 is used after the underlying View has been destroyed. 
UiObjectNotFoundException Generated in test runs when a UiSelector selector could not be matched to any UI element displayed.