Interfaces
Com.android.uiautomator.core.UiWatcher
Description: Represents a conditional listener on the target device, in order to learn how to register a conditional listener, see Uidevice.registerwatcher ()
Public methods
Abstract Boolean |
Checkforcondition () |
This processing method is automatically called to test the framework when the Uiselector framework cannot be used to match elements |
Com.android.uiautomator.testrunner.IAutomationSupport
Class Description: Providing auxiliary support for test cases
Public methods:
abstract void |
Sendstatus (int resultcode,bundle status) |
Allow run-time test cases to emit temporary state |
Com.android.uiautomator.testrunner.UiAutomatorTestCase
Class Description: UI Automation Tests must inherit from this class, providing access to the following information: uidevice instance; binding command-line arguments;
Public constructors: Uiautomatortestcase ()
Public methods:
Iautomationsupport |
Getautomationsupport () |
To report a temporary state when you run a test case |
Bundle |
Getparams () |
Get Command line arguments |
Uidevice |
Getuidevice () |
Get Uidevice instances |
void |
Sleep (Long ms) |
Sleep time |
Inheritance method:
Junit.framework.TestCase
Junit.framework.Assert
Junit.framework.Test
Java.lang.Object
Exceptions
Com.android.uiautomator.core.UiObjectNotFoundExeption
Description: Uiselector did not match to any UI element when generating a test run
Public constructors
Uiobjectnotfoundexception (String msg)
Uiobjectnotfoundexception (String detailmessage,throwable throwable)
Uiobjectnotfoundexception (Throwable throwable)
Inheritance method
Java.lang.Throwable
Java.lang.Object
"Uiautomator" interfaces+exception