| java.lang.Object | |
| ↳ | android.support.test.uiautomator.By |
By is a utility class which enables the creation of BySelectors in a concise
manner.
Its primary function is to provide static factory methods for constructing BySelectors
using a shortened syntax. For example, you would use findObject(By.text("foo")) rather
than findObject(new BySelector().text("foo")) to select UI elements with the text value
"foo".
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
BySelector and sets the checkable criteria.
| |||||||||||
Constructs a new
BySelector and sets the checked criteria.
| |||||||||||
Constructs a new
BySelector and sets the class name criteria.
| |||||||||||
Constructs a new
BySelector and sets the class name criteria.
| |||||||||||
Constructs a new
BySelector and sets the class name criteria.
| |||||||||||
Constructs a new
BySelector and sets the class name criteria.
| |||||||||||
Constructs a new
BySelector and sets the clickable criteria.
| |||||||||||
Constructs a new
BySelector and copies the criteria from original.
| |||||||||||
Constructs a new
BySelector and sets the depth criteria.
| |||||||||||
Constructs a new
BySelector and sets the content description criteria.
| |||||||||||
Constructs a new
BySelector and sets the content description criteria.
| |||||||||||
Constructs a new
BySelector and sets the content description criteria.
| |||||||||||
Constructs a new
BySelector and sets the content description criteria.
| |||||||||||
Constructs a new
BySelector and sets the content description criteria.
| |||||||||||
Constructs a new
BySelector and sets the enabled criteria.
| |||||||||||
Constructs a new
BySelector and sets the focusable criteria.
| |||||||||||
Constructs a new
BySelector and sets the focused criteria.
| |||||||||||
Constructs a new
BySelector and adds a child selector criteria.
| |||||||||||
Constructs a new
BySelector and adds a descendant selector criteria.
| |||||||||||
Constructs a new
BySelector and adds a descendant selector criteria.
| |||||||||||
Constructs a new
BySelector and sets the long clickable criteria.
| |||||||||||
Constructs a new
BySelector and sets the application package name criteria.
| |||||||||||
Constructs a new
BySelector and sets the application package name criteria.
| |||||||||||
Constructs a new
BySelector and sets the resource name criteria.
| |||||||||||
Constructs a new
BySelector and sets the resource id criteria.
| |||||||||||
Constructs a new
BySelector and sets the resource name criteria.
| |||||||||||
Constructs a new
BySelector and sets the scrollable criteria.
| |||||||||||
Constructs a new
BySelector and sets the selected criteria.
| |||||||||||
Constructs a new
BySelector and sets the text value criteria.
| |||||||||||
Constructs a new
BySelector and sets the text value criteria.
| |||||||||||
Constructs a new
BySelector and sets the text value criteria.
| |||||||||||
Constructs a new
BySelector and sets the text value criteria.
| |||||||||||
Constructs a new
BySelector and sets the text value criteria.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructs a new BySelector and sets the checkable criteria.
Constructs a new BySelector and sets the checked criteria.
Constructs a new BySelector and sets the class name criteria.
Constructs a new BySelector and sets the class name criteria.
Constructs a new BySelector and sets the class name criteria.
Constructs a new BySelector and sets the class name criteria.
Constructs a new BySelector and sets the clickable criteria.
Constructs a new BySelector and copies the criteria from original.
Constructs a new BySelector and sets the content description criteria.
Constructs a new BySelector and sets the content description criteria.
Constructs a new BySelector and sets the content description criteria.
Constructs a new BySelector and sets the content description criteria.
Constructs a new BySelector and sets the content description criteria.
Constructs a new BySelector and sets the enabled criteria.
Constructs a new BySelector and sets the focusable criteria.
Constructs a new BySelector and sets the focused criteria.
Constructs a new BySelector and adds a child selector criteria.
Constructs a new BySelector and adds a descendant selector criteria.
Constructs a new BySelector and adds a descendant selector criteria.
Constructs a new BySelector and sets the long clickable criteria.
Constructs a new BySelector and sets the application package name criteria.
Constructs a new BySelector and sets the application package name criteria.
Constructs a new BySelector and sets the resource name criteria.
Constructs a new BySelector and sets the resource id criteria.
Constructs a new BySelector and sets the resource name criteria.
Constructs a new BySelector and sets the scrollable criteria.
Constructs a new BySelector and sets the selected criteria.
Constructs a new BySelector and sets the text value criteria.
Constructs a new BySelector and sets the text value criteria.
Constructs a new BySelector and sets the text value criteria.
Constructs a new BySelector and sets the text value criteria.
Constructs a new BySelector and sets the text value criteria.