UiAutomatorTestCase
public class UiAutomatorTestCase extends InstrumentationTestCase
| java.lang.Object | ||||
| ↳ | junit.framework.Assert | |||
| ↳ | junit.framework.TestCase | |||
| ↳ | android.test.InstrumentationTestCase | |||
| ↳ | androidx.test.uiautomator.UiAutomatorTestCase |
UI Automator test case that is executed on the device.
Summary
Public constructors |
|---|
Public methods |
|
|---|---|
IAutomationSupport |
This method is deprecated. Use |
Bundle |
Get command line parameters. |
UiDevice |
Get current instance of |
void |
This method is deprecated. Use |
Inherited methods |
||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||||||
|
Public constructors
Public methods
public IAutomationSupportgetAutomationSupport()
Provides support for running tests to report interim status
| Returns | |
|---|---|
IAutomationSupport |
IAutomationSupport |
public BundlegetParams()
Get command line parameters. On the command line when passing -e key value pairs, the Bundle will have the key value pairs conveniently available to the tests.
public UiDevicegetUiDevice()
Get current instance of UiDevice. Works similar to calling the static getInstance from anywhere in the test classes.