Package | Description |
---|---|
com.jayway.android.robotium.remotecontrol | |
com.jayway.android.robotium.remotecontrol.client | |
com.jayway.android.robotium.remotecontrol.solo |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
By.ClassName |
(package private) static class |
By.CssSelector |
(package private) static class |
By.Id |
(package private) static class |
By.Name |
(package private) static class |
By.TagName |
(package private) static class |
By.Text |
(package private) static class |
By.Xpath |
Modifier and Type | Method and Description |
---|---|
static By |
By.className(java.lang.String className)
Select a WebElement by its class name.
|
static By |
By.cssSelector(java.lang.String selectors)
Select a WebElement by its css selector.
|
static By |
By.id(java.lang.String id)
Select a WebElement by its id.
|
static By |
By.name(java.lang.String name)
Select a WebElement by its name.
|
static By |
By.tagName(java.lang.String tagName)
Select a WebElement by its tag name.
|
static By |
By.textContent(java.lang.String textContent)
Select a WebElement by its text content.
|
static By |
By.xpath(java.lang.String xpath)
Select a WebElement by its xpath.
|
Modifier and Type | Method and Description |
---|---|
static com.robotium.solo.By |
SoloMessage.getSoloBy(By by)
Convert a com.jayway.android.robotium.remotecontrol.By to a com.robotium.solo.By.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Solo.clearTextInWebElement(By by)
Clears text in a WebElement matching the specified By object.
|
boolean |
Solo.clickOnWebElement(By by)
Clicks a WebElement matching the specified By object.
|
boolean |
Solo.clickOnWebElement(By by,
int match)
Clicks a WebElement matching the specified By object.
|
boolean |
Solo.clickOnWebElement(By by,
int match,
boolean scroll)
Clicks a WebElement matching the specified By object.
|
boolean |
Solo.enterTextInWebElement(By by,
java.lang.String text)
Enters text in a WebElement matching the specified By object.
|
java.util.ArrayList<java.lang.String> |
Solo.getCurrentWebElements(By by)
Returns an ArrayList of String UIDs for all the current WebElements displayed in the active WebView
matching the specified By object -- Robotium 4.1 required. |
java.lang.String |
Solo.getWebElement(By by,
int index)
Returns an UID for the WebElement displayed in the active WebView matching the specified By object and index-- Robotium 4.1 required.
|
java.util.ArrayList<java.lang.String> |
Solo.getWebElements(By by)
Returns an ArrayList of all the WebElements displayed in the active WebView matching the specified By object.
matching the specified By object -- Robotium 5.2.1 required. |
boolean |
Solo.typeTextInWebElement(By by,
java.lang.String text)
Types text in a WebElement matching the specified By object.
|
boolean |
Solo.typeTextInWebElement(By by,
java.lang.String text,
int match)
Types text in a WebElement matching the specified By object and index.
|
boolean |
Solo.waitForWebElement(By by)
Waits for a WebElement matching the specified By object.
|
boolean |
Solo.waitForWebElement(By by,
int timeout,
boolean scroll)
Waits for a WebElement matching the specified By object.
|
boolean |
Solo.waitForWebElement(By by,
int minimumNumberOfMatches,
int timeout,
boolean scroll)
Waits for a WebElement matching the specified By object.
|
Copyright © SAS Institute. All Rights Reserved.