public class Solo extends SoloWorker
It is important to note that the Remote Control Solo class is always running in a process that is outside of the device or emulator. Thus, the API (and your program) do not have direct access to the actual Solo or AUT objects like when running the traditional Robotium Solo on the device.
For this reason, we generally receive and use String unique ID (UID) references to these objects when the original Solo API calls for a reference to an actual Android object like a View, Button, EditText, etc...
Additionally, the embedded Robotium Solo class is always running in the context of an Android jUnit test. That means a traditional Robotium test will generally issue (and stop) on Error any time a jUnit Assert fails.
That is not the case with Robotium Remote Control.
We cannot have the embedded test engine using Robotium Solo abort on Error because no information would get back to Robotium Remote Control. Instead, the embedded remote control client must capture and report all such Errors to Robotium Remote Control and remain running until commanded to shutdown.
By default, Robotium Remote Control is NOT implemented as jUnit tests. It does not abort or stop upon a test failure. This allows Robotium Remote Control to be used in many different types of testing frameworks including, but not exclusive to, jUnit. A future subclass of this Solo class and API can provide that same jUnit support, if needed.
Default usage:
Solo solo = new Solo(); try{ solo.setLogsInterface(alog); solo.initialize(); results = solo.startMainLauncher(errormsg); (use the API) solo.finishOpenActivities(); solo.shutdown(); } catch(IllegalThreadStateException x){ //TODO: handle it } catch(RemoteException x){ //TODO: handle it } catch(TimeoutException x){ //TODO: handle it } catch(ShutdownInvocationException x){ //TODO: handle it }
Message
Modifier and Type | Field and Description |
---|---|
java.util.Properties |
_last_remote_result
Holds the Properties object returned from the last remote control call returning Properties.
|
protected static AndroidTools |
androidsdk
static android sdk tool to the one appropriate for the OS (Windows or Unix).
|
static int |
CLOSED
0
|
static int |
DELETE
67
|
static int |
DOWN
20
|
static int |
ENTER
66
|
static int |
LANDSCAPE
0
|
static int |
LEFT
21
|
static int |
MENU
82
|
static int |
OPENED
1
|
static int |
PORTRAIT
1
|
static int |
RIGHT
22
|
static int |
UP
19
|
_props, CAUSE_SEP, control, default_connect_stimeout, default_ready_stimeout, default_result_stimeout, default_running_stimeout, default_shutdown_stimeout, doProcessFailure, doProcessSuccess, err, FAIL_SUFFIX, listenername, log, out, PASS_SUFFIX, TAG, tcp_delay
Constructor and Description |
---|
Solo() |
Modifier and Type | Method and Description |
---|---|
boolean |
assertCurrentActivityClass(java.lang.String errormsg,
java.lang.String activityclass)
Asserts that the expected Activity is the current active one.
|
boolean |
assertCurrentActivityClass(java.lang.String errormsg,
java.lang.String activityclass,
boolean isNewInstance)
Asserts that the expected Activity is the current active one, with the possibility to verify that the expected
Activity is a new instance of the Activity.
|
boolean |
assertCurrentActivityName(java.lang.String errormsg,
java.lang.String activityname)
Asserts that the expected Activity is the current active one.
|
boolean |
assertCurrentActivityName(java.lang.String errormsg,
java.lang.String activityname,
boolean isNewInstance)
Asserts that the expected Activity is the current active one, with the possibility to verify that
the expected Activity is a new instance of the Activity.
|
boolean |
assertMemoryNotLow()
Asserts that the available memory on the device or system is not low.
|
boolean |
clearEditText(int index)
Clears the value of an EditText.
|
boolean |
clearEditText(java.lang.String uidEditText)
Clears the value of an EditText.
|
boolean |
clearLog()
Clears the logcat log.
|
boolean |
clearTextInWebElement(By by)
Clears text in a WebElement matching the specified By object.
|
java.util.ArrayList<java.lang.String> |
clickInList(int line)
Clicks on a given list line and returns an ArrayList of String UID references for each TextView object that
the list line is showing.
|
java.util.ArrayList<java.lang.String> |
clickInList(int line,
int index)
Clicks on a given list line on a specified list and returns an ArrayList of String UID references for each TextView object that
the list line is showing.
|
java.util.ArrayList<java.lang.String> |
clickLongInList(int line)
Long Click on a given list line and returns an ArrayList of String UID references for each TextView object that
the list line is showing.
|
java.util.ArrayList<java.lang.String> |
clickLongInList(int line,
int index)
Long click on a given list line on a specified list and returns an ArrayList of String UID references for each TextView object that
the list line is showing.
|
java.util.ArrayList<java.lang.String> |
clickLongInList(int line,
int index,
int time)
Long click on a given list line on a specified list and returns an ArrayList of String UID references for each TextView object that
the list line is showing.
|
boolean |
clickLongOnScreen(float x,
float y)
Long clicks on a given coordinate on the screen.
|
boolean |
clickLongOnScreen(float x,
float y,
int time)
Long clicks on a given coordinate on the screen for a specified number of milliseconds.
|
boolean |
clickLongOnText(java.lang.String text)
Long clicks on a given View.
|
boolean |
clickLongOnText(java.lang.String text,
int match)
Long clicks on a given View.
|
boolean |
clickLongOnText(java.lang.String text,
int match,
boolean scroll)
Long clicks on a given View.
|
boolean |
clickLongOnText(java.lang.String text,
int match,
int time)
Long clicks on a given View.
|
boolean |
clickLongOnTextAndPress(java.lang.String text,
int index)
Long clicks on a given View and then selects an item from the context menu that appears.
|
boolean |
clickLongOnView(java.lang.String uidView)
Long clicks on a given View.
|
boolean |
clickLongOnView(java.lang.String uidView,
int time)
Long clicks on a given View for a specified amount of time.
|
boolean |
clickOnActionBarHomeButton()
Clicks on the Action Bar Home button.
|
boolean |
clickOnActionBarItem(int resourceID)
Clicks on an ActionBar item with a given resource id.
|
boolean |
clickOnButton(int index)
Clicks on a Button at a given index.
|
boolean |
clickOnButton(java.lang.String name)
Clicks on a Button with the given text.
|
boolean |
clickOnCheckBox(int index)
Clicks on a CheckBox at a given index.
|
boolean |
clickOnEditText(int index)
Clicks on an EditText at a given index.
|
boolean |
clickOnImage(int index)
Clicks on Image at a given index.
|
boolean |
clickOnImageButton(int index)
Clicks on a ImageButton at a given index.
|
boolean |
clickOnMenuItem(java.lang.String text)
Clicks on a menuitem with a given text.
|
boolean |
clickOnMenuItem(java.lang.String text,
boolean subMenu)
Clicks on a MenuItem with a given text.
|
boolean |
clickOnRadioButton(int index)
Clicks on a RadioButton at a given index.
|
boolean |
clickOnScreen(float x,
float y)
Clicks on a given coordinate on the screen.
|
boolean |
clickOnScreen(float x,
float y,
int numberOfClicks)
Clicks the specified coordinates rapidly a specified number of times.
|
boolean |
clickOnText(java.lang.String text)
Clicks on a View displaying the given text.
|
boolean |
clickOnText(java.lang.String text,
int match)
Clicks on a View displaying the given text.
|
boolean |
clickOnText(java.lang.String text,
int match,
boolean scroll)
Clicks on a View displaying the given text.
|
boolean |
clickOnToggleButton(java.lang.String name)
Clicks on a ToggleButton displaying the given text.
|
boolean |
clickOnView(java.lang.String uidView)
Clicks on the specified View.
|
boolean |
clickOnView(java.lang.String uidView,
boolean immediately)
Clicks on the specified View -- Robotium 4.1 required.
|
boolean |
clickOnWebElement(By by)
Clicks a WebElement matching the specified By object.
|
boolean |
clickOnWebElement(By by,
int match)
Clicks a WebElement matching the specified By object.
|
boolean |
clickOnWebElement(By by,
int match,
boolean scroll)
Clicks a WebElement matching the specified By object.
|
boolean |
clickOnWebElement(java.lang.String webElementUID)
Clicks a WebElement stored in cache with a reference.
|
(package private) java.lang.String |
config_getScreenshotFileType()
Gets the current Solo.Config.screenshotFileType String value.
|
(package private) java.lang.String |
config_getScreenshotSavePath()
Gets the current Solo.Config.screenshotSavePath String value.
|
(package private) boolean |
config_getShouldScroll()
Gets the current Solo.Config.shouldScroll boolean value.
|
(package private) int |
config_getTimeoutLarge()
Gets the current Solo.Config.timeout_large value.
|
(package private) int |
config_getTimeoutSmall()
Gets the current Solo.Config.timeout_small value.
|
(package private) boolean |
config_getUseJavaScriptToClickWebElements()
Gets the current Solo.Config.useJavaScriptToClickWebElements boolean value.
|
(package private) boolean |
config_setScreenshotFileType(java.lang.String fileType)
Sets the Solo.Config.screenshotFileType value.
|
(package private) boolean |
config_setScreenshotSavePath(java.lang.String savePath)
Sets the Solo.Config.screenshotSavePath String value.
|
(package private) boolean |
config_setShouldScroll(boolean shouldScroll)
Sets the Solo.Config.shouldScroll boolean value.
|
(package private) int |
config_setTimeoutLarge()
Sets a new Solo.Config.timeout_large value.
|
(package private) int |
config_setTimeoutSmall()
Sets a new Solo.Config.timeout_small value.
|
(package private) boolean |
config_setUseJavaScriptToClickWebElements(boolean shouldScroll)
Sets the Solo.Config.shouldScroll boolean value.
|
boolean |
drag(float fromX,
float toX,
float fromY,
float toY,
int stepCount)
Simulate touching a given location and dragging it to a new location.
|
boolean |
enterText(int index,
java.lang.String text)
Enter text into an EditText with the given index.
|
boolean |
enterText(java.lang.String uidEditText,
java.lang.String text)
Enter text into a given EditText.
|
boolean |
enterTextInWebElement(By by,
java.lang.String text)
Enters text in a WebElement matching the specified By object.
|
(package private) java.util.List<java.lang.String> |
filterViews(java.lang.String className,
java.util.List<java.lang.String> viewUIDList)
Filters Views based on the given class type.
|
(package private) java.util.List<java.lang.String> |
filterViewsByText(java.util.List<java.lang.String> viewUIDList,
java.lang.String regex)
Filters a collection of Views and returns a list that contains only Views
with text that matches a specified regular expression.
|
(package private) java.util.List<java.lang.String> |
filterViewsToSet(java.util.List<java.lang.String> classNameList,
java.util.List<java.lang.String> viewUIDList)
Filters all Views not within the given set.
|
boolean |
finalizeRemoteSolo()
Finalizes the remote Solo object and removes the ActivityMonitor.
|
boolean |
finishOpenedActivities()
All Activities that have been active are finished.
|
java.lang.String |
getActivityMonitor()
Returns a String UID for the Robotium Solo Activity Monitor.
|
java.util.ArrayList<java.lang.String> |
getAllOpenActivities()
Returns an ArrayList of String UIDs for all the opened/active Activities.
|
java.lang.String |
getButton(int index)
Returns a String UID for the Button at the given index.
|
java.lang.String |
getButton(java.lang.String text)
Returns a String UID for the Button showing the given text.
|
java.lang.String |
getButton(java.lang.String text,
boolean onlyVisible)
Returns a String UID for the Button showing the given text.
|
java.lang.String |
getCurrentActivity()
Returns a String UID reference to the current Activity.
|
java.util.ArrayList<java.lang.String> |
getCurrentButtons()
Returns an ArrayList of String UIDs for all the current Buttons in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentCheckBoxes()
Returns an ArrayList of String UIDs for all the current CheckBoxes in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentDatePickers()
Returns an ArrayList of String UIDs for all the current DatePickers in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentEditTexts()
Returns an ArrayList of String UIDs for all the current EditTexts in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentGridViews()
Returns an ArrayList of String UIDs for all the current GridViews in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentImageButtons()
Returns an ArrayList of String UIDs for all the current ImageButtons in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentImageViews()
Returns an ArrayList of String UIDs for all the current ImageViews in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentListViews()
Returns an ArrayList of String UIDs for all the current ListViews in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentNumberPickers()
Returns an ArrayList of String UIDs for all the current NumberPickers in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentProgressBars()
Returns an ArrayList of String UIDs for all the current ProgressBars in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentRadioButtons()
Returns an ArrayList of String UIDs for all the current RadioButtons in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentScrollViews()
Returns an ArrayList of String UIDs for all the current ScrollViews in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentSlidingDrawers()
Returns an ArrayList of String UIDs for all the current SlidingDrawers in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentSpinners()
Returns an ArrayList of String UIDs for all the current Spinners in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentTextViews()
Returns an ArrayList of String UIDs for all the current TextViews in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentTimePickers()
Returns an ArrayList of String UIDs for all the current TimePickers in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentToggleButtons()
Returns an ArrayList of String UIDs for all the current ToggleButtons in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentViews()
Returns an ArrayList of String UIDs for all the current Views in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentViews(java.lang.String classFullName)
Returns an ArrayList of String UIDs for all the current Views
matching the specified class located in the focused Activity or Dialog. |
java.util.ArrayList<java.lang.String> |
getCurrentViews(java.lang.String classFullName,
boolean includeSubclasses)
Returns an ArrayList of String UIDs for all the current Views
matching the specified class located in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getCurrentViews(java.lang.String classFullName,
java.lang.String parentViewUID)
Returns an ArrayList of String UIDs for all the current Views
matching the specified class under the specified parent. |
java.util.ArrayList<java.lang.String> |
getCurrentViews(java.lang.String classFullName,
java.lang.String parentViewUID,
boolean includeSubclasses)
Returns an ArrayList of String UIDs for all the current Views
matching the specified class under the specified parent. |
java.util.ArrayList<java.lang.String> |
getCurrentWebElements()
Returns an ArrayList of the currently displayed WebElements in the active WebView.
|
java.util.ArrayList<java.lang.String> |
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 |
getEditText(int index)
Returns a String UID for the EditText at the given index.
|
java.lang.String |
getEditText(java.lang.String text)
Returns a String UID for the EditText item with the given text.
|
java.lang.String |
getEditText(java.lang.String text,
boolean onlyVisible)
Returns a String UID for the EditText item with the given text.
|
java.awt.image.BufferedImage |
getGUIImage(java.lang.String viewID)
Get the image of View according to String UID reference.
|
java.lang.String |
getImage(int index)
Returns a String UID for the Image at the given index.
|
java.lang.String |
getImageButton(int index)
Returns a String UID for the ImageButton at the given index.
|
(package private) int |
getLargeTimeout()
Gets the default timeout length of the waitFor methods.
|
(package private) int |
getNumberOfMatches(java.lang.String regex,
java.lang.String textViewUID,
java.util.Set<java.lang.String> matchedViewUIDList)
Checks if a View matches a certain string and returns the amount of total matches.
|
java.lang.String |
getObjectClassName(java.lang.String viewID)
Get the class name of an object according to String UID reference.
|
boolean |
getScreenshotSequence(java.lang.String filename,
boolean onlyLasttime,
java.lang.String destinationDir,
java.lang.String serialNumber)
This method is used to retrieve all screenshots of sequence from the device.
REQUIRES: As android command 'adb pull' is used to get the sequence, so this method needs to know where to find 'adb' command, so user MUST set 'android sdk path' to Environment ANDROID_HOME or ANDROID_SDK It is MUST be called in following order: 1. |
java.awt.image.BufferedImage |
getScreenshotSequence(java.lang.String filename,
int index)
This method is used to retrieve one of the screenshot sequence from the device.
It is MUST be called in following order: 1. |
int |
getScreenshotSequenceSize(java.lang.String filename,
boolean onlyLasttime,
int timeoutSecond)
This method is used to retrieve number of the screenshot sequence generated at the device.
It is MUST be called in following order: 1. |
java.awt.Dimension |
getScreenSize()
Returns a Dimension representing the emulator/device's screen size.
|
(package private) int |
getSmallTimeout()
Gets the default timeout length of the get, is, set, assert, enter and click methods.
|
java.lang.String |
getString(int resourceId)
Returns a localized String from localized String resources.
|
java.lang.String |
getString(java.lang.String resourceId)
Returns a localized String from localized String resources in the app or android packages.
|
java.lang.String |
getTagForView(java.lang.String uidView)
Returns a Tag for a View.
|
java.lang.String |
getText(int index)
Returns a String UID for the Text at the given index.
|
java.lang.String |
getText(java.lang.String text)
Returns a String UID for the Text item with the given text.
|
java.lang.String |
getText(java.lang.String text,
boolean onlyVisible)
Returns a String UID for the Text item with the given text.
|
java.lang.String |
getTextViewValue(java.lang.String uid)
Return the TextView's text value.
|
java.lang.String |
getTopParent(java.lang.String uidView)
Returns the absolute top parent View for a given View.
|
java.lang.String |
getView(int id)
Returns a View with the given id.
|
java.lang.String |
getView(int id,
int index)
Returns the nth View with the given id.
|
java.lang.String |
getView(java.lang.String classname,
int index)
Returns a View of a given class and index.
|
java.lang.String |
getViewByName(java.lang.String idname)
Returns a View matching the specified "resource name".
|
java.lang.String |
getViewByName(java.lang.String idname,
int index)
Returns a View matching the specified "resource name" and index.
|
java.lang.String |
getViewByTag(java.lang.String tagUID)
Returns a View matching the specified Tag.
|
java.lang.String |
getViewByTag(java.lang.String tagUID,
int index)
Returns a View matching the specified Tag and index.
|
java.lang.String |
getViewClassName(java.lang.String viewID)
Get the class name of View according to String UID reference.
|
java.awt.Rectangle |
getViewLocation(java.lang.String uidView)
Return the location of View on screen.
|
java.util.ArrayList<java.lang.String> |
getViews()
Returns an ArrayList of String UIDs for all the View objects located in the focused Activity or Dialog.
|
java.util.ArrayList<java.lang.String> |
getViews(java.lang.String uidParent)
Returns an ArrayList of String UIDs for all the View objects contained in the parent View.
|
java.lang.String |
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> |
getWebElements()
Returns an ArrayList of all the WebElements displayed in the active WebView.
|
java.util.ArrayList<java.lang.String> |
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. |
java.lang.String |
getWebUrl()
Returns the current web page URL -- Robotium 4.1 required.
|
boolean |
goBack()
Simulates pressing the hardware back key.
|
boolean |
goBackToActivity(java.lang.String activityname)
Returns to the given Activity.
|
boolean |
hideSoftKeyboard()
Hides the soft keyboard.
|
boolean |
isCheckBoxChecked(int index)
Checks if the CheckBox with a given index is checked.
|
boolean |
isCheckBoxChecked(java.lang.String text)
Checks if the CheckBox with the given text is checked.
|
boolean |
isRadioButtonChecked(int index)
Checks if the RadioButton with a given index is checked.
|
boolean |
isRadioButtonChecked(java.lang.String text)
Checks if the RadioButton with the given text is checked.
|
(package private) boolean |
isScreenshotSequenceRunning() |
boolean |
isSpinnerTextSelected(int index,
java.lang.String text)
Checks if the given text is selected in the given Spinner.
|
boolean |
isSpinnerTextSelected(java.lang.String text)
Checks if the given text is selected in any Spinner located in the current screen.
|
boolean |
isTextChecked(java.lang.String text)
Checks if the given Text is checked.
|
boolean |
isToggleButtonChecked(int index)
Checks if the ToggleButton at the give index is checked.
|
boolean |
isToggleButtonChecked(java.lang.String text)
Checks if a ToggleButton with the give text is checked.
|
boolean |
pinchToZoom(PointF startPoint1,
PointF startPoint2,
PointF endPoint1,
PointF endPoint2)
Zooms in or out if startPoint1 and startPoint2 are larger or smaller then endPoint1 and endPoint2.
|
boolean |
pressMenuItem(int index)
Presses a MenuItem with a given index.
|
boolean |
pressMenuItem(int index,
int itemsPerRow)
Presses a MenuItem with a given index.
|
boolean |
pressSoftKeyboardNextButton()
Press the soft keyboard Next button.
|
boolean |
pressSoftKeyboardSearchButton()
Press the soft keyboard Search button.
|
boolean |
pressSpinnerItem(int spinnerIndex,
int itemIndex)
Presses on a Spinner (drop-down menu) item.
|
(package private) java.util.List<java.lang.String> |
removeInvisibleViews(java.util.List<java.lang.String> viewUIDList)
Removes invisible Views.
|
boolean |
rotateLarge(PointF center1,
PointF center2)
Draws two semi-circles at the specified centers.
|
boolean |
rotateSmall(PointF center1,
PointF center2)
Draws two semi-circles at the specified centers.
|
boolean |
scrollDown()
Scrolls down the screen.
|
boolean |
scrollDownList(int index)
Scrolls down a list with the given index.
|
boolean |
scrollDownListUID(java.lang.String uidView)
Scrolls down a list with the given Reference UID.
|
boolean |
scrollListToBottom(int index)
Scrolls down a list with the given index all the way to the bottom.
|
boolean |
scrollListToBottomUID(java.lang.String uidView)
Scrolls down a list with the given UID all the way to the bottom.
|
boolean |
scrollListToLine(int index,
int line)
Scrolls a list with the given index to the specified line.
|
boolean |
scrollListToLineUID(java.lang.String uidView,
int line)
Scrolls a list with the given UID to the specified line.
|
boolean |
scrollListToTop(int index)
Scrolls up a list with the given index all the way to the top.
|
boolean |
scrollListToTopUID(java.lang.String uidView)
Scrolls up a list with the given UID all the way to the top.
|
boolean |
scrollToBottom()
Scrolls to the bottom of the screen.
|
boolean |
scrollToSide(int side)
Scrolls horizontally.
|
boolean |
scrollToSide(int side,
float scrollPosition)
Scrolls horizontally.
|
boolean |
scrollToSide(int side,
float scrollPosition,
int stepCount)
Scrolls horizontally.
|
boolean |
scrollToTop()
Scrolls to the top of the screen.
|
boolean |
scrollUp()
Scrolls up the screen.
|
boolean |
scrollUpList(int index)
Scrolls up a list with the given index.
|
boolean |
scrollUpListUID(java.lang.String uidView)
Scrolls up a list with the given reference id.
|
boolean |
scrollViewToSide(java.lang.String uidView,
int side)
Scrolls horizontally a view with the given UID.
|
boolean |
scrollViewToSide(java.lang.String uidView,
int side,
float scrollPosition)
Scrolls horizontally a view with the given UID.
|
boolean |
scrollViewToSide(java.lang.String uidView,
int side,
float scrollPosition,
int stepCount)
Scrolls horizontally a view with the given UID.
|
boolean |
searchButton(java.lang.String text)
Searches for a Button with the given text and returns true if at least one is found.
|
boolean |
searchButton(java.lang.String text,
boolean onlyVisible)
Searches for a Button with the given text and returns true if at least one is found.
|
boolean |
searchButton(java.lang.String text,
int minimumNumberOfMatches)
Searches for a Button with the given text and returns true if found at least a given number of times.
|
boolean |
searchButton(java.lang.String text,
int minimumNumberOfMatches,
boolean onlyVisible)
Searches for a Button with the given text and returns true if found at least a given number of times.
|
boolean |
searchEditText(java.lang.String text)
Searches for an EditText with the given text and returns true if at least one is found.
|
boolean |
searchText(java.lang.String text)
Searches for a TextView with the given text and returns true if at least one is found.
|
boolean |
searchText(java.lang.String text,
boolean onlyVisible)
Searches for a TextView with the given text and returns true if at least one is found.
|
boolean |
searchText(java.lang.String text,
int minimumNumberOfMatches)
Searches for a TextView with the given text and returns true if found at least a given number of times.
|
boolean |
searchText(java.lang.String text,
int minimumNumberOfMatches,
boolean scroll)
Searches for a TextView with the given text and returns true if found at least a given number of times.
|
boolean |
searchText(java.lang.String text,
int minimumNumberOfMatches,
boolean scroll,
boolean onlyVisible)
Searches for a TextView with the given text and returns true if found at least a given number of times.
|
boolean |
searchToggleButton(java.lang.String text)
Searches for a ToggleButton with the given text and returns true if at least one is found.
|
boolean |
searchToggleButton(java.lang.String text,
int minimumNumberOfMatches)
Searches for a ToggleButton with the given text and returns true if found at least a given number of times.
|
boolean |
sendKey(int key)
|
boolean |
setActivityOrientation(int orientation)
|
boolean |
setDatePicker(int index,
int year,
int monthOfYear,
int dayOfMonth)
Sets the date in a given DatePicker.
|
boolean |
setDatePicker(java.lang.String uidDatePicker,
int year,
int monthOfYear,
int dayOfMonth)
Sets the date in a given DatePicker.
|
(package private) boolean |
setLargeTimeout(int milliseconds)
Sets the default timeout length of the waitFor methods.
|
boolean |
setMobileData(boolean turnedOn)
Sets if mobile data should be turned on or off.
|
boolean |
setNavigationDrawer(int status)
Sets the status of the NavigationDrawer.
|
boolean |
setProgressBar(int index,
int progress)
Sets the status in a given ProgressBar.
|
boolean |
setProgressBar(java.lang.String uidProgressBar,
int progress)
Sets the status in a given ProgressBar.
|
(package private) void |
setScreenshotSequenceRunning(boolean isScreenshotSequenceRunning) |
boolean |
setSlidingDrawer(int index,
int status)
Sets the status in a given SlidingDrawer.
|
boolean |
setSlidingDrawer(java.lang.String uidSlidingDrawer,
int status)
Sets the status in a given SlidingDrawer.
|
(package private) boolean |
setSmallTimeout(int milliseconds)
Sets the default timeout length of the get, is, set, assert, enter and click methods.
|
boolean |
setTimePicker(int index,
int hour,
int minute)
Sets the time in a given TimePicker.
|
boolean |
setTimePicker(java.lang.String uidTimePicker,
int hour,
int minute)
Sets the time in a given TimePicker.
|
boolean |
setWiFiData(boolean turnedOn)
Sets if wifi data should be turned on or off.
|
boolean |
sleep(int millis)
Make Robotium sleep for a specified number of milliseconds.
|
(package private) void |
sortViewsByLocationOnScreen(java.util.List<java.lang.String> viewUIDList)
Orders Views by their location on-screen.
|
(package private) void |
sortViewsByLocationOnScreen(java.util.List<java.lang.String> viewUIDList,
boolean yAxisFirst)
Orders Views by their location on-screen.
|
boolean |
startMainLauncher()
Start the AUT app by launching its main launcher Activity.
|
boolean |
startScreenshotSequence(java.lang.String filename)
Takes a Robotium screenshot sequence and saves the images with the specified name prefix in
"/sdcard/Robotium-Screenshots/".
|
boolean |
startScreenshotSequence(java.lang.String filename,
int quality,
int frameDelay,
int maxFrames)
Takes a Robotium screenshot sequence and saves the images with the specified name prefix in
"/sdcard/Robotium-Screenshots/".
|
boolean |
stopScreenshotSequence()
Stop the current screenshot sequence started with startScreenshotSequence.
|
boolean |
swipe(PointF startPoint1,
PointF startPoint2,
PointF endPoint1,
PointF endPoint2)
Swipes with two fingers in a linear path determined by starting and ending points.
|
java.awt.image.BufferedImage |
takeScreenshot()
Take a screenshot and retrieve the stored JPG image.
|
java.awt.image.BufferedImage |
takeScreenshot(java.lang.String filename)
Take a screenshot and retrieve the stored JPG image.
|
java.awt.image.BufferedImage |
takeScreenshot(java.lang.String filename,
int quality)
Take a screenshot and retrieve the stored JPG image.
|
boolean |
typeText(int index,
java.lang.String text)
Enter text in an EditText with a given index.
|
boolean |
typeText(java.lang.String uidEditText,
java.lang.String text)
Enter text into a given EditText.
|
boolean |
typeTextInWebElement(By by,
java.lang.String text)
Types text in a WebElement matching the specified By object.
|
boolean |
typeTextInWebElement(By by,
java.lang.String text,
int match)
Types text in a WebElement matching the specified By object and index.
|
boolean |
typeTextInWebElement(java.lang.String webElementUID,
java.lang.String text)
Types text in a WebElement stored in remote cache by a reference UID.
|
boolean |
unlockScreen()
Unlocks the lock screen.
|
boolean |
waitForActivity(java.lang.String activityname)
Waits for the given Activity.
|
boolean |
waitForActivity(java.lang.String activityname,
int timeout)
Waits for the given Activity for up to the specified timeout milliseconds.
|
boolean |
waitForActivityByClass(java.lang.String activityClassName)
Waits for an Activity matching the specified class.
|
boolean |
waitForActivityByClass(java.lang.String activityClassName,
int timeout)
Waits for an Activity matching the specified class.
|
boolean |
waitForCondition(Condition condition,
int timeout)
Waits for the condition to be satisfied.
|
boolean |
waitForDialogToClose()
Waits for a Dialog to close.
|
boolean |
waitForDialogToClose(int millis)
Waits for a Dialog to close.
|
boolean |
waitForDialogToOpen()
Waits for a Dialog to open in a default Solo timeout period.
|
boolean |
waitForDialogToOpen(int millis)
Waits for a Dialog to open.
|
boolean |
waitForEmptyActivityStack(int millis)
Wait for the activity stack to be empty.
|
boolean |
waitForFragmentById(int id,
int timeout)
Waits for the given V4 Fragment for up to the specified timeout milliseconds.
|
boolean |
waitForFragmentByTag(java.lang.String tag,
int timeout)
Waits for the given V4 Fragment for up to the specified timeout milliseconds.
|
boolean |
waitForLogMessage(java.lang.String text,
int timeout)
Waits for specific text in the android log within a timeout period.
|
boolean |
waitForText(java.lang.String text)
Waits for a text to be shown.
|
boolean |
waitForText(java.lang.String text,
int minimumNumberOfMatches,
long timeout)
Waits for a text to be shown.
|
boolean |
waitForText(java.lang.String text,
int minimumNumberOfMatches,
long timeout,
boolean scroll)
Waits for a text to be shown.
|
boolean |
waitForText(java.lang.String text,
int minimumNumberOfMatches,
long timeout,
boolean scroll,
boolean onlyVisible)
Waits for a text to be shown.
|
boolean |
waitForView(int id)
Waits for a View matching the specified resource id.
|
boolean |
waitForView(int id,
int minimumNumberOfMatches,
int timeout)
Waits for a View matching the specified resource id.
|
boolean |
waitForView(int id,
int minimumNumberOfMatches,
int timeout,
boolean scroll)
Waits for a View matching the specified resource id.
|
boolean |
waitForView(java.lang.String classname)
Waits for a View of a certain classname (or extended subclass) to be shown.
|
boolean |
waitForView(java.lang.String classname,
int minimumNumberOfMatches,
long timeout)
Waits for a View of a certain classname (or extended subclass) to be shown.
|
boolean |
waitForView(java.lang.String classname,
int minimumNumberOfMatches,
long timeout,
boolean scroll)
Waits for a View of a certain classname (or extended subclass) to be shown.
|
boolean |
waitForViewByTag(java.lang.String tagUID)
Waits for the View with the previously captured TAG UID reference.
|
boolean |
waitForViewByTag(java.lang.String tagUID,
int minimumNumberOfMatches,
int timeout)
Waits for the View with the previously captured TAG UID reference.
|
boolean |
waitForViewByTag(java.lang.String tagUID,
int minimumNumberOfMatches,
int timeout,
boolean scroll)
Waits for the View with the previously captured TAG UID reference.
|
boolean |
waitForViewUID(java.lang.String uidView)
Waits for the View with the previously captured UID reference.
|
boolean |
waitForViewUID(java.lang.String uidView,
int timeout,
boolean scroll)
Waits for the View with the previously captured UID reference.
|
boolean |
waitForWebElement(By by)
Waits for a WebElement matching the specified By object.
|
boolean |
waitForWebElement(By by,
int timeout,
boolean scroll)
Waits for a WebElement matching the specified By object.
|
boolean |
waitForWebElement(By by,
int minimumNumberOfMatches,
int timeout,
boolean scroll)
Waits for a WebElement matching the specified By object.
|
createRemoteControl, debug, getListenerName, getRemoteControl, initialize, onReceiveDebug, prepInstrumentDispatch, prepSoloDispatch, processFailure, processSuccess, setControllerPort, setLogsInterface, setPortForwarding, setRemoteControl, shutdown, shutdownRemote, turnProtocolDebug, turnRunnerDebug
public static final int RIGHT
public static final int LEFT
public static final int UP
public static final int DOWN
public static final int ENTER
public static final int MENU
public static final int DELETE
public static final int OPENED
public static final int CLOSED
public static final int PORTRAIT
public static final int LANDSCAPE
public java.util.Properties _last_remote_result
protected static AndroidTools androidsdk
public boolean clearEditText(java.lang.String uidEditText) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
String
- UID reference to the EditText to clear._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clearedittextreference (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_REFERENCE=String UID reference
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clearEditText(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the EditText to be cleared. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clearedittextindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clearLog() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clearlog (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String, error message if the command fails.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(String)
,
Message
public java.util.ArrayList<java.lang.String> clickInList(int line) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
line
- that should be clicked._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickinlist (in ):PARAM_LINE=int (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual TextView objects stored in a remote cache. (out):PARAM_TEXT=String containing the text-value of actual TextView objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID" The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
PARAM_TEXT content format: ";text;text;text" The first character is the delimiter used to delimit each text followed by each text separated by the delimiter.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> clickInList(int line, int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
line
- that should be clicked.index
- of the list. 1 if two lists are available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickinlistindex (in ):PARAM_LINE=int (in ):PARAM_INDEX=int (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual TextView objects stored in a remote cache. (out):PARAM_TEXT=String containing the text-value of actual TextView objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID" The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
PARAM_TEXT content format: ";text;text;text" The first character is the delimiter used to delimit each text followed by each text separated by the delimiter.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> clickLongInList(int line) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
line
- that should be clicked._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklonginlist (in ):PARAM_LINE=int (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual TextView objects stored in a remote cache. (out):PARAM_TEXT=String containing the text-value of actual TextView objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID" The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
PARAM_TEXT content format: ";text;text;text" The first character is the delimiter used to delimit each text followed by each text separated by the delimiter.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> clickLongInList(int line, int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
line
- that should be clicked.index
- of the list. 1 if two lists are available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklonginlistindex (in ):PARAM_LINE=int (in ):PARAM_INDEX=int (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual TextView objects stored in a remote cache. (out):PARAM_TEXT=String containing the text-value of actual TextView objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID" The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
PARAM_TEXT content format: ";text;text;text" The first character is the delimiter used to delimit each text followed by each text separated by the delimiter.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> clickLongInList(int line, int index, int time) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
line
- that should be clicked.index
- of the list. 1 if two lists are available.time
- in milliseconds to hold the long click._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklongtimeinlistindex (in ):PARAM_LINE=int (in ):PARAM_INDEX=int (in ):PARAM_TIME=int (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual TextView objects stored in a remote cache. (out):PARAM_TEXT=String containing the text-value of actual TextView objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID" The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
PARAM_TEXT content format: ";text;text;text" The first character is the delimiter used to delimit each text followed by each text separated by the delimiter.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public boolean clickLongOnScreen(float x, float y) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
float
- x coordinatefloat
- y coordinate_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklongonscreen (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_FLOATX=float (in ):PARAM_FLOATy=float
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickLongOnScreen(float x, float y, int time) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
float
- x coordinatefloat
- y coordinatetime
- in milliseconds to hold the click._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklongtimeonscreen (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_FLOATX=float (in ):PARAM_FLOATY=float (in ):PARAM_TIME=int milliseconds
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickLongOnText(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
clickOnText(String)
can then
be used to click on the context menu items that appear after the long click.String
- text that should be clicked. The parameter is interpretted as a regular expression._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklongontext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String text
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickLongOnText(java.lang.String text, int match) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
clickOnText(String)
can then
be used to click on the context menu items that appear after the long click.String
- text that should be clicked. The parameter is interpretted as a regular expression.match
- the match of the text that should be clicked._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklongontextmatch (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String text (in ):PARAM_MATCH=String text
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickLongOnText(java.lang.String text, int match, boolean scroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
clickOnText(String)
can then
be used to click on the context menu items that appear after the long click.String
- text that should be clicked. The parameter is interpretted as a regular expression.match
- the match of the text that should be clicked.scroll
- true if scrolling should be performed._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklongontextmatchscroll (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String text (in ):PARAM_MATCH=String text (in ):PARAM_SCROLL=boolean
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickLongOnText(java.lang.String text, int match, int time) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
clickOnText(String)
can then
be used to click on the context menu items that appear after the long click.String
- text that should be clicked. The parameter is interpretted as a regular expression.match
- the match of the text that should be clicked.time
- in milliseconds to hold the click._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklongtimeontextmatch (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String text (in ):PARAM_MATCH=String text (in ):PARAM_TIME=int millis
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickLongOnTextAndPress(java.lang.String text, int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
String
- text that should be clicked. The parameter is interpretted as a regular expression.index
- of the menu item to be pressed. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklongpressontext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String text (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickLongOnView(java.lang.String uidView) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
String
- UID reference to the View that should be long clicked._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklongonview (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_REFERENCE=String UID reference (out):PARAM_CLASS=String The view's full qualified class name
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickLongOnView(java.lang.String uidView, int time) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
String
- UID reference to the View that should be long clicked.time
- in milliseconds to hold the click._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clicklongtimeonview (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_REFERENCE=String UID reference (in ):PARAM_TIME=int (out):PARAM_CLASS=String The view's full qualified class name
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickOnButton(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the Button to be clicked. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonbuttonindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnActionBarHomeButton() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonactionbarhomebutton (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnActionBarItem(int resourceID) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
resourceID,
- the R.id of the ActionBar item._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonactionbaritem (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_RESID=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickOnButton(java.lang.String name) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- name of the button presented to the user. The parameter will be interpretted as a regular expression._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonbutton (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_NAME=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnCheckBox(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the CheckBox to be clicked. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickoncheckboxindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnEditText(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the EditText to be clicked. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonedittextindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnImage(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the Image to be clicked. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonimage (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnImageButton(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the ImageButton to be clicked. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonimagebutton (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnMenuItem(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- of the menuitem to be clicked. The parameter will be interpretted as a regular expression._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonmenuitem (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnMenuItem(java.lang.String text, boolean subMenu) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- of the menuitem to be clicked. The parameter will be interpretted as a regular expression.submenu
- true if the menu item could be located in a sub menu._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonsubmenuitem (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String (in ):PARAM_SUBMENU=boolean
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickOnRadioButton(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the RadioButton to be clicked. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonradiobuttonindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnScreen(float x, float y) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
float
- x coordinatefloat
- y coordinate_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonscreen (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_FLOATX=float (in ):PARAM_FLOATY=float
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickOnScreen(float x, float y, int numberOfClicks) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
x
- the x coordinatey
- the y coordinatenumberOfClicks
- the number of clicks to perform_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonscreenntimes (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_FLOATX=float (in ):PARAM_FLOATY=float
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
public boolean clickOnText(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- that should be clicked. The parameter will be treated like a regular expression._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickontext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnText(java.lang.String text, int match) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- that should be clicked. The parameter will be treated as a regular expression.int
- match of the text that should be clicked._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickontextmatch (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String (in ):PARAM_MATCH=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickOnText(java.lang.String text, int match, boolean scroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- that should be clicked. The parameter will be treated as a regular expression.int
- match of the text that should be clicked.scroll
- true if scrolling should be performed._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickontextmatchscroll (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String (in ):PARAM_MATCH=int (in ):PARAM_SCROLL=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean clickOnToggleButton(java.lang.String name) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
name
- of the ToggleButton presented to the user. The parameter will be treated as a regular expression._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickontogglebutton (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_NAME=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnView(java.lang.String uidView) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
String
- UID reference of the View that should be clicked._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonview (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_REFERENCE=String UID (out):PARAM_CLASS=String The view's full qualified class name
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean clickOnView(java.lang.String uidView, boolean immediately) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
String
- UID reference of the View that should be clicked.boolean,
- immediately, if View should be clicked without any wait_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonviewimmediately (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_REFERENCE=String, UID reference of the View that should be clicked. (in ):PARAM_IMMEDIATELY=boolean, if View should be clicked without any wait (out):PARAM_CLASS=String The view's full qualified class name
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean drag(float fromX, float toX, float fromY, float toY, int stepCount) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
fromX
- coordinate of the initial touch, in screen coordinates.toX
- coordinate of the drag destination, in screen coordinates.fromY
- coordinate of the initial touch, in screen coordinates.toY
- coordinate of the drag destination, in screen coordinates.stepCount
- How many move steps to include in the drag._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_drag (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_FROMX=float (in ):PARAM_TOX=float (in ):PARAM_FROMY=float (in ):PARAM_TOY=float (in ):PARAM_STEPCOUNT=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean enterText(java.lang.String uidEditText, java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
String
- UID reference for the EditText to enter text into.text
- String to enter into the EditText field._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_entertextreference (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_REFERENCE=String UID (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean enterText(int index, java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the EditText. 0 if only one is available.text
- String to enter into the EditText field._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_entertextindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public java.lang.String getActivityMonitor() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getactivitymonitor (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the stored object
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.lang.String getButton(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the Button to get._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getbutton (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public java.lang.String getButton(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- that is shown._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getbuttontext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public java.lang.String getButton(java.lang.String text, boolean onlyVisible) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- that is shown.onlyVisible
- true if only visible buttons on the screen should be returned._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getbuttonvisible (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object (in ):PARAM_TEXT=String (in ):PARAM_ONLYVISIBLE=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentButtons() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentbuttons (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentCheckBoxes() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentcheckboxes (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentDatePickers() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentdatepickers (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentEditTexts() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentedittexts (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentGridViews() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentgridviews (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentImageButtons() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentimagebuttons (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentImageViews() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentimageviews (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentListViews() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentlistviews (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentProgressBars() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentprogressbars (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentRadioButtons() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentradiobuttons (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentScrollViews() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentscrollviews (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentSlidingDrawers() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentslidingdrawers (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentSpinners() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentspinners (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentTextViews() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrenttextviews (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentTimePickers() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrenttimepickers (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentNumberPickers() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentnumberpickers (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentToggleButtons() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrenttogglebuttons (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getCurrentViews() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentviews (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.lang.String getEditText(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the EditText. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getedittext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public java.lang.String getEditText(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- that is shown_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getedittexttext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public java.lang.String getEditText(java.lang.String text, boolean onlyVisible) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- that is shownonlyVisible
- true if only visible EditTexts on the screen should be returned._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getedittextvisible (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (in ):PARAM_TEXT=String (in ):PARAM_ONLYVISIBLE=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.lang.String getImage(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the Image. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getimage (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public java.lang.String getImageButton(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the ImageButton. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getimagebutton (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public java.lang.String getTagForView(java.lang.String uidView) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
uidView
- - the View to wait for._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_gettagforview (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual tag object stored in remote cache. (in ):PARAM_REFERENCE=String UID reference for the View.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.getSingleObject(Properties)
,
Message
public java.lang.String getText(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the Text View. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_gettext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public java.lang.String getText(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- that is shown_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getetexttext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public java.lang.String getText(java.lang.String text, boolean onlyVisible) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
text
- that is shownonlyVisible
- tru if only visible Texts on the screen should be shown._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_gettextvisible (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (in ):PARAM_TEXT=String (in ):PARAM_ONLYVISIBLE=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.lang.String getTopParent(java.lang.String uidView) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
uidView
- the String UID Reference whose top parent is requested._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_gettopparent (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (in ):PARAM_REFERENCE=String (out):PARAM_CLASS=String The top parent View's full qualified class name
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.lang.String getView(java.lang.String classname, int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
classname
- of the requested View.index
- of the View. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getviewclass (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (in ):PARAM_CLASS=String classname (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.lang.String getView(int id) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
id
- the R.id of the View to be returned._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getviewid (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (out):PARAM_CLASS=String full Classname of the actual View. (in ):PARAM_ID=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.lang.String getView(int id, int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
id
- the R.id of the View to be returned.index
- the nth View to be returned. 0 for the first, or if there is only one._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getviewid (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (out):PARAM_CLASS=String full Classname of the actual View. (in ):PARAM_ID=int (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.lang.String getViewByName(java.lang.String idname, int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
idname
- The resource name of the View
to return.
The resource name contains 3 parts: "package", "type" and "entry", it has format as "package:type/entry".
If the entry belongs to the package of "Application Under Test"(AUT) and it type is "id", user can
provide only the entry part for simplicity. Otherwise, user SHOULD provide the full resource name.index
- the index of the View
. 0
if only one is available_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getviewbynamematch (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (in ):PARAM_NAME=String, The name of the resource id of the View (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
public java.lang.String getViewByName(java.lang.String idname) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
idname
- The resource name of the View
to return.
The resource name contains 3 parts: "package", "type" and "entry", it has format as "package:type/entry".
If the entry belongs to the package of "Application Under Test"(AUT) and it type is "id", user can
provide only the entry part for simplicity. Otherwise, user SHOULD provide the full resource name._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getviewbyname (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (in ):PARAM_NAME=String, The name of the resource id of the View
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
public java.lang.String getViewByTag(java.lang.String tagUID, int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
tagUID
- String, The tag of the View
to return.
It can be the string tag-UID corresponding to the real Tag Object; it is got by getTagForView(String)
.index
- int, the index of the View
. 0
if only one is available_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getviewbytagmatch (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (in ):PARAM_REFERENCE=String, The "UID string of the Tag object"/"tag string" of the View (in ):PARAM_INDEX=int (out):PARAM_CLASS=String The full qualified class name of the View.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
public java.lang.String getViewByTag(java.lang.String tagUID) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
tagUID
- String, The tag of the View
to return.
It can be the string tag-UID corresponding to the real Tag Object; it is got by getTagForView(String)
._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getviewbytagmatch (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference for the actual object stored in remote cache. (in ):PARAM_REFERENCE=String, The "UID string of the Tag object"/"tag string" of the View (out):PARAM_CLASS=String The full qualified class name of the View.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
public java.util.ArrayList<java.lang.String> getViews() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
getCurrentViews()
._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getviews (in ):PARAM_REFERENCE=String (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getViews(java.lang.String uidParent) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
parent
- String UID of the parent View from which to return the Views' String UIDs._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getparentviews (in ):PARAM_REFERENCE=String (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public boolean isCheckBoxChecked(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
index
- of the CheckBox to check. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_ischeckboxchecked (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether checked (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean isCheckBoxChecked(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- shown on the CheckBox._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_ischeckboxcheckedtext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether checked (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean isRadioButtonChecked(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
index
- of the RadioButton to check. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_isradiobuttonchecked (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether checked (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean isRadioButtonChecked(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- shown on the RadioButton._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_isradiobuttoncheckedtext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether checked (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean isSpinnerTextSelected(int index, java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- that is expected to be selected.index
- of the Spinner to check. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_isspinnertextselectedindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether checked (in ):PARAM_TEXT=String (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean isSpinnerTextSelected(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- that is expected to be selected._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_isspinnertextselected (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether checked (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean isTextChecked(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- shown on a CheckedTextView or CompoundButton._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_istextchecked (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether checked (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean isToggleButtonChecked(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- shown on a ToggleButton._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_istogglebuttoncheckedtext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether checked (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean isToggleButtonChecked(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
index
- of the ToggleButton. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_istogglebuttonchecked (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether checked (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean pressMenuItem(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the MenuItem to be pressed._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_pressmenuitem (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean pressMenuItem(int index, int itemsPerRow) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the MenuItem to be pressed._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_presssubmenuitem (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int (in ):PARAM_ITEMSPERROW=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean pressSpinnerItem(int spinnerIndex, int itemIndex) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the Spinner menu to be used.itemindex
- of the Spinner item to be pressed relative to the currently selected item.
A negative number moves up the Spinner. A positive number moves down._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_pressspinneritem (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int (in ):PARAM_ITEMINDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean scrollDown() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolldown (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled down
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean scrollToTop() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolltotop (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled. Always false.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean scrollToBottom() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolltobottom (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled. Always false.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean scrollDownList(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
index
- of the ListView to be scrolled. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolldownlist (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled down (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean scrollDownListUID(java.lang.String uidView) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
uidView
- - the reference id of ListView to scroll down._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolldownlistuid (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled down (in ):PARAM_REFERENCE=String UID reference for the View.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean scrollListToBottom(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
index
- of the ListView to be scrolled. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolllisttobottom (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled down (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResultWithIndex(String, int)
,
Message
public boolean scrollListToBottomUID(java.lang.String uidView) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
uidView
- - the reference id of ListView to scroll down._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolllisttobottomuid (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled down (in ):PARAM_REFERENCE=String UID reference for the View.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean scrollListToLine(int index, int line) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
index
- - the index of the AbsListView to scroll.line
- - the line to scroll to_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolllisttoline (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled down (in ):PARAM_INDEX=String the index of the AbsListView to scroll. (in ):PARAM_LINE=Int the line to scroll to
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean scrollListToLineUID(java.lang.String uidView, int line) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
uidView
- - the reference id of ListView to scroll.line
- - the line to scroll to_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolllisttolineuid (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled down (in ):PARAM_REFERENCE=String UID reference for the View. (in ):PARAM_LINE=Int the line to scroll to
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean scrollListToTop(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
index
- of the ListView to be scrolled. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolllisttotop (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled up (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean scrollListToTopUID(java.lang.String uidView) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
uidView
- - the reference id of ListView to scroll up._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolllisttotopuid (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled up (in ):PARAM_REFERENCE=String UID reference for the View.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean scrollToSide(int side, float scrollPosition, int stepCount) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
side
- the side to scroll; RIGHT
or LEFT
scrollPosition
- the position to scroll to, from 0 to 1 where 1 is all the way. Example is: 0.55.stepCount
- how many move steps to include in the scroll. Less steps results in a faster scroll_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolltoside (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_SIDE=int (in ):PARAM_SCROLLPOSITION=float the position to scroll to (in ):PARAM_STEPCOUNT=int how many move steps to include in the scroll
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean scrollToSide(int side, float scrollPosition) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
side
- the side to scroll; RIGHT
or LEFT
scrollPosition
- the position to scroll to, from 0 to 1 where 1 is all the way. Example is: 0.55._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolltoside (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_SIDE=int (in ):PARAM_SCROLLPOSITION=float the position to scroll to
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean scrollToSide(int side) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
side
- to which to scroll; RIGHT
or LEFT
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolltoside (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_SIDE=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean scrollUp() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrollup (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled up
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean scrollUpList(int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
index
- of the ListView to be scrolled. 0 if only one is available._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolluplist (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled up (in ):PARAM_INDEX=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean scrollUpListUID(java.lang.String uidView) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
uidView
- - the reference id of ListView to scroll up._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolluplistuid (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled up (in ):PARAM_REFERENCE=String UID reference for the View.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean scrollViewToSide(java.lang.String uidView, int side) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
uidView
- - the reference id of View to scroll.side
- - the side to which to scroll; RIGHT
or LEFT
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrollviewtoside (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled down (in ):PARAM_REFERENCE=String UID reference for the View. (in ):PARAM_SIDE=Int the side to scroll to
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean scrollViewToSide(java.lang.String uidView, int side, float scrollPosition) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
uidView
- - the reference id of View to scroll.side
- - the side to which to scroll; RIGHT
or LEFT
scrollPosition
- the position to scroll to, from 0 to 1 where 1 is all the way. Example is: 0.55._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrollviewtoside (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled down (in ):PARAM_REFERENCE=String UID reference for the View. (in ):PARAM_SIDE=int the side to scroll to (in ):PARAM_SCROLLPOSITION=float the position to scroll to
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean scrollViewToSide(java.lang.String uidView, int side, float scrollPosition, int stepCount) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
uidView
- - the reference id of View to scroll.side
- - the side to which to scroll; RIGHT
or LEFT
scrollPosition
- the position to scroll to, from 0 to 1 where 1 is all the way. Example is: 0.55.stepCount
- how many move steps to include in the scroll. Less steps results in a faster scroll_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrollviewtoside (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled down (in ):PARAM_REFERENCE=String UID reference for the View. (in ):PARAM_SIDE=int the side to scroll to (in ):PARAM_SCROLLPOSITION=float the position to scroll to (in ):PARAM_STEPCOUNT=int how many move steps to include in the scroll
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean searchButton(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchbutton (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean searchButton(java.lang.String text, boolean onlyVisible) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression.onlyVisible
- true if only visible Buttons should be searched._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchbuttonvisible (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String (in ):PARAM_ONLYVISIBLE=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean searchButton(java.lang.String text, int minimumNumberOfMatches) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression.minimumNumberOfMatches
- expected to be found. 0 matches means that one or more matches are expected._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchbuttonmatch (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String (in ):PARAM_MINIMUMMATCHES=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean searchButton(java.lang.String text, int minimumNumberOfMatches, boolean onlyVisible) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression.minimumNumberOfMatches
- expected to be found. 0 matches means that one or more matches are expected.onlyVisible
- true if only visible Buttons are to be sought._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchbuttonmatchvisible (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String (in ):PARAM_MINIMUMMATCHES=int (in ):PARAM_ONLYVISIBLE=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean searchEditText(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchedittext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean searchText(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchtext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean searchText(java.lang.String text, boolean onlyVisible) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression.onlyVisible
- true if only visible TextViews should be searched._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchtextvisible (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String (in ):PARAM_ONLYVISIBLE=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean searchText(java.lang.String text, int minimumNumberOfMatches) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression.minimumNumberOfMatches
- expected to be found. 0 matches means that one or more matches are expected._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchtextmatch (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String (in ):PARAM_MINIMUMMATCHES=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean searchText(java.lang.String text, int minimumNumberOfMatches, boolean scroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression.minimumNumberOfMatches
- expected to be found. 0 matches means that one or more matches are expected.scroll
- true if scrolling should be performed._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchtextmatchscroll (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String (in ):PARAM_MINIMUMMATCHES=int (in ):PARAM_SCROLL=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean searchText(java.lang.String text, int minimumNumberOfMatches, boolean scroll, boolean onlyVisible) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression.minimumNumberOfMatches
- expected to be found. 0 matches means that one or more matches are expected.scroll
- true if scrolling should be performed.onlyVisible
- true if only visible TextView objects should be sought._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchtextmatchscrollvisible (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String (in ):PARAM_MINIMUMMATCHES=int (in ):PARAM_SCROLL=true/false (in ):PARAM_ONLYVISIBLE=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean searchToggleButton(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchtogglebutton (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean searchToggleButton(java.lang.String text, int minimumNumberOfMatches) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- to search for. The parameter will be interpretted as a regular expression.minimumNumberOfMatches
- expected to be found. 0 matches means that one or more matches are expected._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_searchtogglebuttonmatch (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean: whether found or not (in ):PARAM_TEXT=String (in ):PARAM_MINIMUMMATCHES=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean sendKey(int key) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
key
- to be sent._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_sendkey (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_KEY=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setActivityOrientation(int orientation) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
orientation
- to be set._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setactivityorientation (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_ORIENTATION=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setMobileData(boolean turnedOn) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
turnedOn
- boolean, true if mobile data is to be turned on and false if not_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setmobiledata (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_ORIENTATION=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setWiFiData(boolean turnedOn) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
turnedOn
- boolean, true if mobile wifi is to be turned on and false if not_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setwifidata (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_ORIENTATION=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setDatePicker(java.lang.String uidDatePicker, int year, int monthOfYear, int dayOfMonth) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
uidDatePicker
- String UID reference to a DatePicker object.years
- to set e.g. 2011monthOfYear
- the month e.g. 03dayOfMonth
- the day e.g. 10_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setdatepickerreference (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_REFERENCE=String UID (in ):PARAM_YEAR=int (in ):PARAM_YEARMONTH=int (in ):PARAM_MONTHDAY=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setDatePicker(int index, int year, int monthOfYear, int dayOfMonth) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the DatePicker to set. 0 if only one is available.years
- to set e.g. 2011monthOfYear
- the month e.g. 03dayOfMonth
- the day e.g. 10_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setdatepickerindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int (in ):PARAM_YEAR=int (in ):PARAM_YEARMONTH=int (in ):PARAM_MONTHDAY=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setNavigationDrawer(int status) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
status
- of CLOSED
or OPENED
to be set._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setnavigationdrawer (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_STATUS=intCLOSED
orOPENED
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setProgressBar(int index, int progress) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the ProgressBar to set. 0 if only one is available.progress
- that the ProgressBar should be set to._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setprogressbarindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int (in ):PARAM_PROGRESS=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setProgressBar(java.lang.String uidProgressBar, int progress) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
uidProgressBar
- String UID reference to the desired ProgressBar.progress
- that the ProgressBar should be set to._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setprogressbarreference (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_REFERENCE=String UID (in ):PARAM_PROGRESS=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setSlidingDrawer(int index, int status) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the SlidingDrawer to be set. 0 if only 1 is available.status
- of CLOSED
or OPENED
to be set._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setslidingdrawerindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int (in ):PARAM_STATUS=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setSlidingDrawer(java.lang.String uidSlidingDrawer, int status) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
uidSlidingDrawer
- String UID reference to the desired SlidingDrawer.status
- of CLOSED
or OPENED
to be set._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setslidingdrawerreference (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_REFERENCE=String UID (in ):PARAM_STATUS=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setTimePicker(int index, int hour, int minute) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the TimePicker to set. 0 if only one is available.hour
- to be set e.g. 15minute
- to be set e.g. 30_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_settimepickerindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int (in ):PARAM_HOUR=int (in ):PARAM_MINUTE=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean setTimePicker(java.lang.String uidTimePicker, int hour, int minute) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
uidTimePicker
- String UID reference to the desired TimePicker.hour
- to be set e.g. 15minute
- to be set e.g. 30_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_settimepickerreference (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_REFERENCE=String UID (in ):PARAM_HOUR=int (in ):PARAM_MINUTE=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean startMainLauncher() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_startmainlauncher (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in/out):PARAM_ERRORMSG=String (out):PARAM_NAME=String Name of the Activity that was launched. (out):PARAM_CLASS=String full Classname of the Activity that was launched.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean finishOpenedActivities() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_finishopenedactivities (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean finalizeRemoteSolo() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_finalizeremotesolo (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public java.util.ArrayList<java.lang.String> getAllOpenActivities() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getallopenactivities (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual Activity objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.lang.String getCurrentActivity() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentactivity (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference key for current Activity object stored in a remote cache. (out):PARM_CLASS=ClassName of retrieved Activity. (out):PARM_NAME=Name of retrieved Activity.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.lang.String getString(int resourceId) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
int
- resourceId of the localized String resource._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getstring (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=localized String or null if it does not exist. (in ):PARAM_RESID=int
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.lang.String getString(java.lang.String resourceId) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
String
- resourceId of the localized String resource in the app or android packages._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getstring (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=localized String or null if it does not exist. (in ):PARAM_ID=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public boolean sleep(int millis) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
time
- in milliseconds for Robotium to sleep._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_sleep (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TIME=millis
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean assertCurrentActivityName(java.lang.String errormsg, java.lang.String activityname) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
errormsg
- - the message to display/log if the assertion fails.activityname
- - the name of the Activity that is expected to be active e.g. "MyActivity"_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_assertcurrentactivityname (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in/out):PARAM_ERRORMSG=String (in/out):PARAM_NAME=String (in: the expected Activity name, out: the actual Activity name) (out):PARAM_CLASS=String full Classname of the actual current Activity.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean assertCurrentActivityName(java.lang.String errormsg, java.lang.String activityname, boolean isNewInstance) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
errormsg
- - the message to display/log if the assertion fails.activityname
- - the name of the Activity that is expected to be active e.g. "MyActivity"isnewinstance
- - true if the expected Activity is a new instance of the Activity._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_assertnewcurrentactivityname (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in/out):PARAM_ERRORMSG=String (in/out):PARAM_ISNEWINSTANCE=true/false (in/out):PARAM_NAME=String (in: the expected Activity name, out: the actual Activity name) (out):PARAM_CLASS=String full Classname of the actual current Activity.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean assertCurrentActivityClass(java.lang.String errormsg, java.lang.String activityclass) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
errormsg
- - the message to display/log if the assertion fails.activityclass
- - the full classname of the Activity that is expected to be active e.g. "com.company.activities.MainActivityClass"_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_assertcurrentactivityclass (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in/out):PARAM_ERRORMSG=String (out):PARAM_NAME=String name of the actual current Activity. (in/out):PARAM_CLASS=String (in: the expected Activity class, out: the actual current Activity class)
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
Message
public boolean assertCurrentActivityClass(java.lang.String errormsg, java.lang.String activityclass, boolean isNewInstance) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
errormsg
- - the message to display/log if the assertion fails.activityclass
- - the full classname of the Activity that is expected to be active e.g. "com.company.activities.MainActivityClass"isnewinstance
- - true if the expected Activity is a new instance of the Activity_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_assertnewcurrentactivityclass (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in/out):PARAM_ISNEWINSTANCE=true/false (in/out):PARAM_ERRORMSG=String (out):PARAM_NAME=String name of the actual current Activity. (in/out):PARAM_CLASS=String (in: the expected Activity class, out: the actual current Activity class)
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean assertMemoryNotLow() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_assertmemorynotlow (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:true, if the system's memory is enough.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(String)
,
Message
public boolean goBack() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_goback (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(String)
,
Message
public boolean goBackToActivity(java.lang.String activityname) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
activityname
- - the name of the Activity to wait for e.g. "MyActivity"_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_gobacktoactivity (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in/out):PARAM_NAME=String (in: the name of the Activity to return to e.g. "MyActivity", out: the actual Activity name) (out):PARAM_CLASS=String the actual Activity's full qualified class name
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean waitForActivity(java.lang.String activityname) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
activityname
- - the name of the Activity to wait for e.g. "MyActivity"_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforactivity (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the activity appear (in/out):PARAM_NAME=String (in: the name of the Activity to wait for e.g. "MyActivity", out: the actual Activity name) (out):PARAM_CLASS=String the actual Activity's full qualified class name
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean waitForActivity(java.lang.String activityname, int timeout) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
activityname
- - the name of the Activity to wait for e.g. "MyActivity".timeout
- -- milliseconds to wait before timeout._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforactivitytimeout (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the activity appear (in/out):PARAM_NAME=String (in: the name of the Activity to wait for e.g. "MyActivity", out: the actual Activity name) (in ):PARAM_TIMEOUT=milliseconds to wait. (out):PARAM_CLASS=String the actual Activity's full qualified class name
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForFragmentByTag(java.lang.String tag, int timeout) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
tag
- - the tag of the Fragment to wait for.timeout
- -- milliseconds to wait before timeout._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforfragmentbytag (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the fragment appear (in/out):PARAM_NAME=String (in: the tag of the Fragment to wait for, out: the current Activity name) (in ):PARAM_TIMEOUT=milliseconds to wait. (out):PARAM_CLASS=String the current Activity's full qualified class name
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForFragmentById(int id, int timeout) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
id
- - the id of the Fragment to wait for.timeout
- -- milliseconds to wait before timeout._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforfragmentbyid (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the fragment appear (in/out):PARAM_ID=String (in: the int id of the Fragment to wait for, out: the current Activity String name) (in ):PARAM_TIMEOUT=milliseconds to wait. (out):PARAM_CLASS=String the current Activity's full qualified class name
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForDialogToClose(int millis) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
timeout
- -- the amount of time in milliseconds to wait_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitfordialogtoclose (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the dialog has been closed (in ):PARAM_TIMEOUT=milliseconds
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForDialogToClose() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitfordialogtoclose (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the dialog has been closed
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForDialogToOpen() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitfordialogtoopen (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the dialog has been opened
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
_last_remote_result
,
Message
public boolean waitForEmptyActivityStack(int millis) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
timeout
- the amount of time in milliseconds to waittrue
if activity stack is empty before the timeout and false
if it is not
Field _last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforemptyactivitystack (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the dialog has been opened (in ):PARAM_TIMEOUT=milliseconds
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
_last_remote_result
,
Message
public boolean waitForDialogToOpen(int millis) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
timeout
- -- the amount of time in milliseconds to wait_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitfordialogtoopen (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the dialog has been opened (in ):PARAM_TIMEOUT=milliseconds
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
finishOpenedActivities()
,
_last_remote_result
,
Message
public boolean waitForLogMessage(java.lang.String text, int timeout) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- - the text to wait for.timeout
- - timeout in milliseconds to wait._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforlogmessage (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String text to wait for. (in ):PARAM_TIMEOUT=milliseconds timeout to wait.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForText(java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- - the text to wait for._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitfortext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_TEXT=String text to wait for.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForText(java.lang.String text, int minimumNumberOfMatches, long timeout) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- - the text to wait for.minimumNumberOfMatches
- -- the minimum number of matches that are expected to be shown.
0 means any number of matches.timeout
- -- milliseconds to wait before timeout._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitfortextmatchtimeout (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the text appear (in ):PARAM_TEXT=String text to wait for. (in ):PARAM_MINIMUMMATCHES=int (in ):PARAM_TIMEOUT=milliseconds.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForText(java.lang.String text, int minimumNumberOfMatches, long timeout, boolean scroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- - the text to wait for.minimumNumberOfMatches
- -- the minimum number of matches that are expected to be shown.
0 means any number of matches.timeout
- -- milliseconds to wait before timeout.scroll
- -- true if scrolling should be performed._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitfortextmatchtimeoutscroll (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the text appear (in ):PARAM_TEXT=String text to wait for. (in ):PARAM_MINIMUMMATCHES=int (in ):PARAM_TIMEOUT=milliseconds. (in ):PARAM_SCROLL=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForText(java.lang.String text, int minimumNumberOfMatches, long timeout, boolean scroll, boolean onlyVisible) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
text
- - the text to wait for.minimumNumberOfMatches
- -- the minimum number of matches that are expected to be shown.
0 means any number of matches.timeout
- -- milliseconds to wait before timeout.scroll
- -- true if scrolling should be performed.onlyVisible
- -- true if only visible text views should be waited for_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitfortextmatchtimeoutscrollvisible (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the text appear (in ):PARAM_TEXT=String text to wait for. (in ):PARAM_MINIMUMMATCHES=int (in ):PARAM_TIMEOUT=milliseconds. (in ):PARAM_SCROLL=true/false (in ):PARAM_ONLYVISIBLE=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForView(java.lang.String classname) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
classname
- - the View classname to wait for._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforviewclass (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the view appear (in ):PARAM_CLASS=String classname to wait for.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForView(java.lang.String classname, int minimumNumberOfMatches, long timeout) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
classname
- - the classname to wait for.minimumNumberOfMatches
- -- the minimum number of matches that are expected to be shown.
0 means any number of matches.timeout
- -- milliseconds to wait before timeout._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforviewclassmatchtimeout (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the view appear (in ):PARAM_CLASS=String classname to wait for. (in ):PARAM_MINIMUMMATCHES=int (in ):PARAM_TIMEOUT=milliseconds.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForView(java.lang.String classname, int minimumNumberOfMatches, long timeout, boolean scroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
classname
- - the classname to wait for.minimumNumberOfMatches
- -- the minimum number of matches that are expected to be shown.
0 means any number of matches.timeout
- -- milliseconds to wait before timeout.scroll
- -- true if scrolling should be performed_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforviewclassmatchtimeoutscroll (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the view appear (in ):PARAM_CLASS=String classname to wait for. (in ):PARAM_MINIMUMMATCHES=int (in ):PARAM_TIMEOUT=milliseconds. (in ):PARAM_SCROLL=true/false
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
getRemoteBooleanResult(boolean, String, String)
,
Message
public boolean waitForView(int id) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
id
- the R.id of the View
to wait for_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo
(in ):KEY_COMMAND= cmd_waitforviewid
(out):KEY_ISREMOTERESULT=true
(out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK
(out):KEY_REMOTERESULTINFO=String:boolean:if the view appear
(in ):PARAM_ID=int, the id of the view to wait for.
(out):PARAM_CLASS=String The full qualified class name of the View.
It can be got by _last_remote_result.getProperty(Message.PARAM_CLASS);
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
getRemoteBooleanResult(boolean, String, String)
,
_last_remote_result
,
Message
public boolean waitForView(int id, int minimumNumberOfMatches, int timeout) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
id
- the R.id of the View
to wait forminimumNumberOfMatches
- the minimum number of matches that are expected to be found. 0
means any number of matchestimeout
- the amount of time in milliseconds to wait_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo
(in ):KEY_COMMAND= cmd_waitforviewidtimeout
(out):KEY_ISREMOTERESULT=true
(out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK
(out):KEY_REMOTERESULTINFO=String:boolean:if the view appear
(in ):PARAM_ID=int, the id of the view to wait for.
(in ):PARAM_MINIMUMMATCHES=int
(in ):PARAM_TIMEOUT=int, milliseconds.
(out):PARAM_CLASS=String The full qualified class name of the View.
It can be got by _last_remote_result.getProperty(Message.PARAM_CLASS);
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
getRemoteBooleanResult(boolean, String, String)
,
_last_remote_result
,
Message
public boolean waitForView(int id, int minimumNumberOfMatches, int timeout, boolean scroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
id
- the R.id of the View
to wait forminimumNumberOfMatches
- the minimum number of matches that are expected to be found. 0
means any number of matchestimeout
- the amount of time in milliseconds to waitscroll
- true
if scrolling should be performed_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo
(in ):KEY_COMMAND= cmd_waitforviewidtimeoutscroll
(out):KEY_ISREMOTERESULT=true
(out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK
(out):KEY_REMOTERESULTINFO=String:boolean:if the view appear
(in ):PARAM_ID=int, the id of the view to wait for.
(in ):PARAM_MINIMUMMATCHES=int
(in ):PARAM_TIMEOUT=int, milliseconds.
(in ):PARAM_SCROLL=boolean, true/false
(out):PARAM_CLASS=String The full qualified class name of the View.
It can be got by _last_remote_result.getProperty(Message.PARAM_CLASS);
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
getRemoteBooleanResult(boolean, String, String)
,
_last_remote_result
,
Message
public boolean waitForViewUID(java.lang.String uidView) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
uidView
- - the View to wait for._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo
(in ):KEY_COMMAND= cmd_waitforviewreference
(out):KEY_ISREMOTERESULT=true
(out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK
(out):KEY_REMOTERESULTINFO=String:boolean:if the view appear
(in ):PARAM_REFERENCE=String UID reference for the View.
(out):PARAM_CLASS=String The full qualified class name of the View.
It can be got by _last_remote_result.getProperty(Message.PARAM_CLASS);
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
Message
public boolean waitForViewUID(java.lang.String uidView, int timeout, boolean scroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
uidView
- - the View to wait for.timeout
- -- milliseconds to wait before timeout.scroll
- -- true if scrolling should be performed_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo
(in ):KEY_COMMAND= cmd_waitforviewreferencetimeoutscroll
(out):KEY_ISREMOTERESULT=true
(out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK
(out):KEY_REMOTERESULTINFO=String:boolean:if the view appear
(in ):PARAM_REFERENCE=String UID reference for the View.
(in ):PARAM_TIMEOUT=milliseconds
(in ):PARAM_SCROLL=true/false
(out):PARAM_CLASS=String The full qualified class name of the View.
It can be got by _last_remote_result.getProperty(Message.PARAM_CLASS);
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
Message
public boolean waitForViewByTag(java.lang.String tagUID) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
tagUID
- String, The tag of the View
to return.
It can be the string tag-UID corresponding to the real Tag Object; it is got by getTagForView(String)
._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo
(in ):KEY_COMMAND= cmd_waitforviewbytagreference
(out):KEY_ISREMOTERESULT=true
(out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK
(out):KEY_REMOTERESULTINFO=String:boolean:if the view appear
(in ):PARAM_REFERENCE=String UID reference for the Tag object of waited View.
(out):PARAM_CLASS=String The full qualified class name of the View.
It can be got by _last_remote_result.getProperty(Message.PARAM_CLASS);
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
Message
public boolean waitForViewByTag(java.lang.String tagUID, int minimumNumberOfMatches, int timeout) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
tagUID
- String, The tag of the View
to return.
It can be the string tag-UID corresponding to the real Tag Object; it is got by getTagForView(String)
.minimumNumberOfMatches
- the minimum number of matches that are expected to be found. 0
means any number of matchestimeout
- -- milliseconds to wait before timeout._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo
(in ):KEY_COMMAND= cmd_waitforviewbytagreferencetimeout
(out):KEY_ISREMOTERESULT=true
(out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK
(out):KEY_REMOTERESULTINFO=String:boolean:if the view appear
(in ):PARAM_REFERENCE=String UID reference for the Tag object of waited View.
(in ):PARAM_MINIMUMMATCHES=int
(in ):PARAM_TIMEOUT=milliseconds
(out):PARAM_CLASS=String The full qualified class name of the View.
It can be got by _last_remote_result.getProperty(Message.PARAM_CLASS);
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
Message
public boolean waitForViewByTag(java.lang.String tagUID, int minimumNumberOfMatches, int timeout, boolean scroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
tagUID
- String, The tag of the View
to return.
It can be the string tag-UID corresponding to the real Tag Object; it is got by getTagForView(String)
.minimumNumberOfMatches
- the minimum number of matches that are expected to be found. 0
means any number of matchestimeout
- -- milliseconds to wait before timeout.scroll
- -- true if scrolling should be performed_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo
(in ):KEY_COMMAND= cmd_waitforviewbytagreferencetimeoutscroll
(out):KEY_ISREMOTERESULT=true
(out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK
(out):KEY_REMOTERESULTINFO=String:boolean:if the view appear
(in ):PARAM_REFERENCE=String UID reference for the Tag object of waited View.
(in ):PARAM_MINIMUMMATCHES=int
(in ):PARAM_TIMEOUT=milliseconds
(in ):PARAM_SCROLL=true/false
(out):PARAM_CLASS=String The full qualified class name of the View.
It can be got by _last_remote_result.getProperty(Message.PARAM_CLASS);
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties, int, int, int)
,
Message
public java.awt.Dimension getScreenSize() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getscreensize (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the width and height of emulator/deviceREMOTERESULTINFO content format: ";width;height"
The first character is the delimiter used to delimit width and height.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public boolean pressSoftKeyboardNextButton() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_presssoftkeyboardnextbutton (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(String)
,
_last_remote_result
,
Message
public boolean pressSoftKeyboardSearchButton() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_presssoftkeyboardsearchbutton (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(String)
,
_last_remote_result
,
Message
public java.awt.Rectangle getViewLocation(java.lang.String uidView) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
uidView
- - the View to get location._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getviewlocation (in ):PARAM_REFERENCE=String: the view's ID (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the location of view on screen(x, y) is the upper-left point of the View. If unexpected something happened, a null will be returned.REMOTERESULTINFO content format: ";x;y;width;height"
The first character is the delimiter used to delimit x, y, width and height.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
Message
public java.lang.String getTextViewValue(java.lang.String uid) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
uid
- - the TextView to get its text value._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_gettextviewvalue (in ):PARAM_REFERENCE=String: the view's ID (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String the TextView's text valueIf unexpected something happened, a null will be returned.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.awt.image.BufferedImage getGUIImage(java.lang.String viewID) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
viewID
- The string uid of the View._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getguiimage (in ):PARAM_ID=String (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the encoded png image bytes of the view./Or error message.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
public java.lang.String getViewClassName(java.lang.String viewID) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
viewID
- The string uid of the View._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getviewclassname (in ):PARAM_ID=String (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the class name of the view.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public java.lang.String getObjectClassName(java.lang.String viewID) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
viewID
- The string uid of an object._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getobjectclassname (in ):PARAM_ID=String (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the class name of the object.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
public boolean stopScreenshotSequence() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_stopscreenshotsequence (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String, error message if the command fails.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(String)
,
Message
public boolean startScreenshotSequence(java.lang.String filename) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
stopScreenshotSequence()
has not been called to finish any prior sequences.
Calling this method is equivalent to calling startScreenshotSequence(String, int, int, int)
with (filename, 80, 400, 100).filename
- The root filename prefix for the screenshot sequence._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_startscreenshotsequencemax (in ):PARAM_NAME=String (in ):PARAM_QUALITY= 80 (in ):PARAM_TIME= 400 (in ):PARAM_STEPCOUNT= 100 (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=/sdcard/Robotium-Screenshots/filename prefix, or error message if the command fails.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.startScreenshotSequence(String, int, int, int)
,
stopScreenshotSequence()
,
#getScreenshotSequence(int)
,
#getScreenshotSequence(int, int)
,
Message
public boolean startScreenshotSequence(java.lang.String filename, int quality, int frameDelay, int maxFrames) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
stopScreenshotSequence()
has not been called to
finish any prior sequences.filename
- The root filename prefix for the screenshots.quality
- the compression rate. 0 - 100. 0 = compress for lowest quality, 100 = compress for max quality.frameDelay
- the time in milliseconds to wait between each frame.maxFrames
- the maximum number of frames that will comprise the sequence._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_startscreenshotsequencemax (in ):PARAM_NAME=String (in ):PARAM_QUALITY= 0 - 100 (in ):PARAM_TIME= time in milliseconds between each frame (in ):PARAM_STEPCOUNT= max number of frames for the sequence (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=/sdcard/Robotium-Screenshots/filename prefix, or error message if the command fails.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.stopScreenshotSequence()
,
#getScreenshotSequence(int)
,
#getScreenshotSequence(int, int)
,
Message
public int getScreenshotSequenceSize(java.lang.String filename, boolean onlyLasttime, int timeoutSecond) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
startScreenshotSequence(String)
/startScreenshotSequence(String, int, int, int)
stopScreenshotSequence()
getScreenshotSequenceSize(String, boolean, int)
getScreenshotSequence(String, int)
to get each image.onlyLasttime,
- boolean, if true, count only the sequence generated last time; if false, count all.filename,
- String, The root filename prefix for the screenshots.timeoutSecond,
- int, the extra timeout (in seconds) to wait for the result._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getscreenshotsequenceszie (in ):PARAM_NAME=String (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String, containing a encoded JPG image./Or an error message. (out):PARAM_NAME+"FILE"=A set of absolute-path to temp screenshot image, delimited by ;
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
startScreenshotSequence(String)
,
startScreenshotSequence(String, int, int, int)
,
stopScreenshotSequence()
,
getScreenshotSequence(String, int)
public java.awt.image.BufferedImage getScreenshotSequence(java.lang.String filename, int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
startScreenshotSequence(String)
/startScreenshotSequence(String, int, int, int)
stopScreenshotSequence()
getScreenshotSequenceSize(String, boolean, int)
getScreenshotSequence(String, int)
to get each image.filename,
- String, The root filename prefix for the screenshots.index,
- int, the index of the screenshot of the whole sequence, start from 0._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getscreenshotsequenceindex (in ):PARAM_NAME=String (in ):PARAM_INDEX= the index of frame to get, start from 0. (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String, containing a encoded JPG image./Or an error message. (out):PARAM_NAME+"FILE"=Absolute Path to temp screenshot image.
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
startScreenshotSequence(String)
,
startScreenshotSequence(String, int, int, int)
,
stopScreenshotSequence()
,
getScreenshotSequenceSize(String, boolean, int)
public boolean getScreenshotSequence(java.lang.String filename, boolean onlyLasttime, java.lang.String destinationDir, java.lang.String serialNumber) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
startScreenshotSequence(String)
/startScreenshotSequence(String, int, int, int)
stopScreenshotSequence()
getScreenshotSequence(String, boolean, String, String)
to get all images.filename,
- String, The root filename prefix for the screenshots.onlyLasttime,
- boolean, if true, get only the sequence generated last time; if false, get all.destinationDir,
- String, the local directory to store the sequence image.serialNumber,
- String, the serial number of the device; can be null if only one device is attached._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getscreenshotsequence (in ):PARAM_NAME=String (in ):PARAM_ONLYVISIBLE=boolean, if get only the sequence generated last time or get all. (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String, a set of sequence name delimited by ';'. Such as ;FILE_0;FILE_1;FILE_2;FILE_3
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
startScreenshotSequence(String)
,
startScreenshotSequence(String, int, int, int)
,
stopScreenshotSequence()
boolean isScreenshotSequenceRunning()
void setScreenshotSequenceRunning(boolean isScreenshotSequenceRunning)
public java.awt.image.BufferedImage takeScreenshot() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
Upon success,
there will also be a PARAM_NAME+"FILE" property containing an absolute file path to
the temporary binary file containing the JPG image. The temporary file will be
timestamped with a "RobotiumRCScreenshot" prefix.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_takescreenshot (in ):PARAM_NAME= "RobotiumRCScreenShot-"+ datetimestamp (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the encoded JPG image./Or an error message. (out):PARAM_NAME+"FILE"=Absolute Path to temp screenshot image.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
,
getBase64EncodedImage(String, String)
public java.awt.image.BufferedImage takeScreenshot(java.lang.String filename) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
filename
- The root filename for the returned JPG image._last_remote_result
contains the returned Properties object. Upon success,
there will also be a PARAM_NAME+"FILE" property containing an absolute file path to
the temporary binary file containing the JPG image.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_takescreenshot (in ):PARAM_NAME=String (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the encoded JPG image./Or an error message. (out):PARAM_NAME+"FILE"=Absolute Path to temp screenshot image.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getSingleObject(Properties)
,
Message
,
getBase64EncodedImage(String, String)
public java.awt.image.BufferedImage takeScreenshot(java.lang.String filename, int quality) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
filename
- String, The root filename for the returned JPG image.quality
- int, The compression rate. From 0 (compress for lowest size) to 100 (compress for maximum quality)_last_remote_result
contains the returned Properties object. Upon success,
there will also be a PARAM_NAME+"FILE" property containing an absolute file path to
the temporary binary file containing the JPG image.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_takescreenshotquality (in ):PARAM_NAME=String (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the encoded JPG image./Or an error message. (out):PARAM_NAME+"FILE"=Absolute Path to temp screenshot image. (in ):PARAM_QUALITY=int, the compression rate. From 0 (compress for lowest size) to 100 (compress for maximum quality)
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
,
getBase64EncodedImage(String, String)
public boolean typeText(java.lang.String uidEditText, java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
String
- UID reference for the EditText to enter text into.text
- String to enter into the EditText field._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_typetextuid (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_REFERENCE=String UID (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean typeText(int index, java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
index
- of the EditText. 0 if only one is available.text
- String to enter into the EditText field._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_typetext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String (in ):PARAM_INDEX=int (in ):PARAM_TEXT=String
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.runBooleanResult(Properties)
,
Message
public boolean waitForCondition(Condition condition, int timeout) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
condition,
- Condition - the instance of Conditiontimeout,
- int - the amount of time in milliseconds to wait_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforcondition (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:true if the condition is satisfied withing timeout (in):PARAM_OBJECT=Condition: the encoded string of object Condition (in):PARAM_TIMEOUT=int: the amount of time in milliseconds to wait.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
getRemoteBooleanResult(boolean, String, String)
,
_last_remote_result
,
Message
public boolean clearTextInWebElement(By by) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
by,
- By - the instance of By. Examples are: By.id("id")
and By.name("name")
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_cleartextinwebelement (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:String:the information of the WebElement (in):PARAM_OBJECT=By: the encoded string of object By
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
_last_remote_result
,
Message
public boolean clickOnWebElement(By by) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
by,
- By - the instance of By. Examples are: By.id("id")
and By.name("name")
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonwebelement (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:String:the information of the WebElement (in):PARAM_OBJECT=By: the encoded string of object By
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
_last_remote_result
,
Message
public boolean clickOnWebElement(By by, int match) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
by,
- By - the instance of By. Examples are: By.id("id")
and By.name("name")
match,
- int - if multiple objects match, this determines which one to click_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonwebelementindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:String:the information of the WebElement (in):PARAM_OBJECT=By: the encoded string of object By (in):PARAM_MATCH=int: if multiple objects match, this determines which one to click
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
_last_remote_result
,
Message
public boolean clickOnWebElement(By by, int match, boolean scroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
by,
- By - the instance of By. Examples are: By.id("id")
and By.name("name")
match,
- int - if multiple objects match, this determines which one to clickscroll,
- boolean - if scrolling should be performed_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonwebelementindexscroll (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:String:the information of the WebElement (in):PARAM_OBJECT=By: the encoded string of object By (in):PARAM_MATCH=int: if multiple objects match, this determines which one to click (in):PARAM_SCROLL=boolean: if scrolling should be performed
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
_last_remote_result
,
Message
public boolean clickOnWebElement(java.lang.String webElementUID) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
webElementUID,
- String - the UID used to get a WebElement object from the cache_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_clickonwebelementuid (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:String:the information of the WebElement (in):PARAM_REFERENCE=String: the UID used to get a WebElement object from the cache
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResultWithUID(String, String)
,
_last_remote_result
,
Message
public boolean enterTextInWebElement(By by, java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
by,
- By - the instance of By. Examples are: By.id("id")
and By.name("name")
text,
- String - the text to enter in the WebElement field_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_entertextinwebelement (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:String:the information of the WebElement (in):PARAM_OBJECT=By: the encoded string of object By (in):PARAM_TEXT=String: the text to enter in the WebElement field
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
_last_remote_result
,
Message
public java.util.ArrayList<java.lang.String> getCurrentViews(java.lang.String classFullName) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
classFullName
- String, the specified class name to match for current views._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentviewsbyclass (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual View objects stored in a remote cache. (in ):PARAM_CLASS=String: the specified class name to match for current viewsREMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
public java.util.ArrayList<java.lang.String> getCurrentViews(java.lang.String classFullName, boolean includeSubclasses) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
classFullName
- String, the specified class name to match for current views.includeSubclasses
- include instances of the subclasses in the ArrayList
that will be returned_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentviewsbyclass (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual View objects stored in a remote cache. (in ):PARAM_CLASS=String: the specified class name to match for current views (in ):PARAM_INCLUDSUBCLASSES=boolean: include instances of the subclassesREMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
public java.util.ArrayList<java.lang.String> getCurrentViews(java.lang.String classFullName, java.lang.String parentViewUID) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
classFullName
- String, the specified class name to match for current views.parentViewUID
- String, the specified parent where the views locate_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentviewsbyclassandparent (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual View objects stored in a remote cache. (in ):PARAM_CLASS=String: the specified class name to match for current views (in ):PARAM_REFERENCE=String: the specified parent where the views locateREMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
public java.util.ArrayList<java.lang.String> getCurrentViews(java.lang.String classFullName, java.lang.String parentViewUID, boolean includeSubclasses) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
classFullName
- String, the specified class name to match for current views.parentViewUID
- String, the specified parent where the views locateincludeSubclasses
- include instances of the subclasses in the ArrayList
that will be returned_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentviewsbyclassandparent (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual View objects stored in a remote cache. (in ):PARAM_CLASS=String: the specified class name to match for current views (in ):PARAM_REFERENCE=String: the specified parent where the views locate (in ):PARAM_INCLUDSUBCLASSES=boolean: include instances of the subclassesREMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
public java.util.ArrayList<java.lang.String> getCurrentWebElements() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentwebelements (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual WebElement objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
public java.util.ArrayList<java.lang.String> getWebElements() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getwebelements (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual WebElement objects stored in a remote cache.REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
public java.util.ArrayList<java.lang.String> getCurrentWebElements(By by) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
by
- the By object. Examples are: By.id("id")
and By.name("name")
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getcurrentwebelementsby (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual WebElement objects stored in a remote cache. (in ):PARAM_OBJECT=By: the encoded string of object ByREMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
public java.util.ArrayList<java.lang.String> getWebElements(By by) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
by
- the By object. Examples are: By.id("id")
and By.name("name")
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getwebelementsby (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for actual WebElement objects stored in a remote cache. (in ):PARAM_OBJECT=By: the encoded string of object ByREMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
public java.lang.String getWebElement(By by, int index) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
by
- the By object. Examples are: By.id("id")
and By.name("name")
index,
- int the index of the WebElement to get, start from 0_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getwebelement (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference key for actual WebElement object stored in a remote cache. (in ):PARAM_OBJECT=By: the encoded string of object By (in ):PARAM_INDEX=int: the index of the WebElement to get, start from 0
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
public java.lang.String getWebUrl() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getweburl (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String the current web page URL
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
public boolean hideSoftKeyboard() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_hidesoftkeyboard (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String a general success message
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
getCurrentObjects(Properties)
,
_last_remote_result
,
Message
public boolean typeTextInWebElement(By by, java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
by,
- By - the instance of By. Examples are: By.id("id")
and By.name("name")
text,
- String - the text to type in the WebElement field_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_typetextinwebelement (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:String:the information of the WebElement (in):PARAM_OBJECT=By: the encoded string of object By (in):PARAM_TEXT=String: the text to enter in the WebElement field
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
_last_remote_result
,
Message
public boolean typeTextInWebElement(By by, java.lang.String text, int match) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
by,
- By - the instance of By. Examples are: By.id("id")
and By.name("name")
text,
- String - the text to type in the WebElement fieldmatch,
- String - if multiple objects match, this determines which one will be typed in_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_typetextinwebelementindex (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:String:the information of the WebElement (in):PARAM_OBJECT=By: the encoded string of object By (in):PARAM_TEXT=String: the text to enter in the WebElement field (in):PARAM_INDEX=String: if multiple objects match, this determines which one will be typed in
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
_last_remote_result
,
Message
public boolean typeTextInWebElement(java.lang.String webElementUID, java.lang.String text) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
webElementUID,
- sTRING - the UID used to get the WebElement object from the remote cache.text,
- String - the text to type in the WebElement field_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_typetextinwebelementuid (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:String:the information of the WebElement (in):PARAM_OBJECT=By: the encoded string of object By (in):PARAM_TEXT=String: the text to enter in the WebElement field
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
_last_remote_result
,
Message
public boolean waitForActivityByClass(java.lang.String activityClassName) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
activityClassName
- String - the Activity's full qualified class name_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforactivitybyclass (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the activity appear (in ):PARAM_CLASS=String the Activity's full qualified class name (in/out):PARAM_CLASS=String (in: the class name of the Activity to wait for e.g. "org.package.MyActivity", out: the actual Activity class name) (out):PARAM_NAME=String the actual Activity name
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
getRemoteBooleanResult(boolean, String, String)
,
_last_remote_result
,
Message
public boolean waitForActivityByClass(java.lang.String activityClassName, int timeout) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
activityClassName
- String - the Activity's full qualified class nametimeout
- int - the timeout to wait for an activity, in milliseconds_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforactivitybyclasstimeout (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the activity appear (in/out):PARAM_CLASS=String (in: the class name of the Activity to wait for e.g. "org.package.MyActivity", out: the actual Activity class name) (out):PARAM_NAME=String the actual Activity name (in ):PARAM_TIMEOUT=int the timeout to wait for an activity, in milliseconds
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
getRemoteBooleanResult(boolean, String, String)
,
_last_remote_result
,
Message
public boolean waitForWebElement(By by) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
by
- By, Examples are: By.id("id")
and By.name("name")
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforwebelement (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the WebElement appears (in):PARAM_OBJECT=By: the encoded string of object By
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
getRemoteBooleanResult(boolean, String, String)
,
_last_remote_result
,
Message
public boolean waitForWebElement(By by, int timeout, boolean scroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
by
- By, Examples are: By.id("id")
and By.name("name")
timeout
- int, the the amount of time in milliseconds to waitscroll
- boolean, if scrolling should be performed_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_waitforwebelementtimeout (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:if the WebElement appears (in):PARAM_OBJECT=By: the encoded string of object By (in):PARAM_TIMEOUT=int: the the amount of time in milliseconds to wait (in):PARAM_SCROLL=boolean: if scrolling should be performed
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
getRemoteBooleanResult(boolean, String, String)
,
_last_remote_result
,
Message
public boolean waitForWebElement(By by, int minimumNumberOfMatches, int timeout, boolean scroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
by
- By, Examples are: By.id("id")
and By.name("name")
timeout
- int, the the amount of time in milliseconds to waitscroll
- boolean, if scrolling should be performedminimumNumberOfMatches
- int, the minimum number of matches that are expected to be found. 0
means any number of matches_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo
(in ):KEY_COMMAND= cmd_waitforwebelementminmatchtimeout
(out):KEY_ISREMOTERESULT=true
(out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK
(out):KEY_REMOTERESULTINFO=String:boolean:if the WebElement appears
(in):PARAM_OBJECT=By: the encoded string of object By
(in):PARAM_TIMEOUT=int: the the amount of time in milliseconds to wait
(in):PARAM_SCROLL=boolean: if scrolling should be performed
(in):PARAM_MATCH=int: the minimum number of matches that are expected to be found. 0
means any number of matches
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.runBooleanResult(Properties)
,
getRemoteBooleanResult(boolean, String, String)
,
_last_remote_result
,
Message
public boolean pinchToZoom(PointF startPoint1, PointF startPoint2, PointF endPoint1, PointF endPoint2) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
startPoint1
- First "finger" down on the screen.startPoint2
- Second "finger" down on the screen.endPoint1
- Corresponding ending point of startPoint1.endPoint2
- Corresponding ending point of startPoint2._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_pinchtozoom (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String: nothing if command succeeds; error message if command fails. (in):PARAM_OBJECT=PointCollection: a collection of PointF used to zoom
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
#runBooleanResult(Properties)}
,
_last_remote_result
public boolean rotateLarge(PointF center1, PointF center2) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
center1
- Center of semi-circle drawn from [0, Pi]center2
- Center of semi-circle drawn from [Pi, 3*Pi]_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_rotatelarge (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String: nothing if command succeeds; error message if command fails. (in):PARAM_OBJECT=ObjectCollection: a collection of PointF used to rotate
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
#runBooleanResult(Properties)}
,
_last_remote_result
public boolean rotateSmall(PointF center1, PointF center2) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
center1
- Center of semi-circle drawn from [0, Pi]center2
- Center of semi-circle drawn from [Pi, 3*Pi]_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_rotatesmall (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String: nothing if command succeeds; error message if command fails. (in):PARAM_OBJECT=ObjectCollection: a collection of PointF used to rotate
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
#runBooleanResult(Properties)}
,
_last_remote_result
public boolean swipe(PointF startPoint1, PointF startPoint2, PointF endPoint1, PointF endPoint2) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
startPoint1
- First "finger" down on the screen.startPoint2
- Second "finger" down on the screen.endPoint1
- Corresponding ending point of startPoint1endPoint2
- Corresponding ending point of startPoint2_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_swipe (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String: nothing if command succeeds; error message if command fails. (in):PARAM_OBJECT=ObjectCollection: a collection of PointF used to swipe
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
#runBooleanResult(Properties)}
,
_last_remote_result
public boolean unlockScreen() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_scrolltotop (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String:boolean:whether can still be scrolled. Always false.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.RemoteSoloException
- -- if the command was not executed successfully in remote side.SoloRemoteControl.performRemotePropsCommand(Properties, int, int, int)
,
_last_remote_result
,
Message
java.util.List<java.lang.String> filterViews(java.lang.String className, java.util.List<java.lang.String> viewUIDList) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
className,
- String, the class name used to filter views.viewUIDList,
- List, a list of UID (unique ID) reference keys for Views to be filtered._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_utilsfilterviews (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for Filtered Views stored in a remote cache. (in ):PARAM_CLASS=String, the class name used to filter views. (in ):PARAM_REFERENCES=String, containing the UID (unique ID) reference keys for Views to be filtered.PARAM_REFERENCES, KEY_REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
java.util.List<java.lang.String> filterViewsByText(java.util.List<java.lang.String> viewUIDList, java.lang.String regex) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
viewUIDList,
- List, a list of UID (unique ID) reference keys for Views to be filtered.regex,
- String, The text regular pattern to search for._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_utilsfilterviewsbytext (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for Filtered Views stored in a remote cache. (in ):PARAM_REFERENCES=String, containing the UID (unique ID) reference keys for Views to be filtered. (in ):PARAM_REGEX_STRING=String, The text regular pattern to search for.PARAM_REFERENCES, KEY_REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
java.util.List<java.lang.String> filterViewsToSet(java.util.List<java.lang.String> classNameList, java.util.List<java.lang.String> viewUIDList) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
classNameList,
- List, contains 'full qualified class name' for all classes that are OK to pass the filterviewUIDList,
- List, a list of UID (unique ID) reference keys for Views to be filtered.regex,
- String, The text regular pattern to search for._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_utilsfilterviewstoset (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for Filtered Views stored in a remote cache. (in ):PARAM_CLASSES=String, a delimited string containing classname for all classes that are OK to pass the filter (in ):PARAM_REFERENCES=String, containing the UID (unique ID) reference keys for Views to be filtered.PARAM_CLASSES, PARAM_REFERENCES, KEY_REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
int getNumberOfMatches(java.lang.String regex, java.lang.String textViewUID, java.util.Set<java.lang.String> matchedViewUIDList) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
regex,
- String, The text regular pattern to match.textViewUID,
- String, the UID (unique ID) reference key for View to be matched.matchedViewUIDList,
- Set_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_utilsfilterviewstoset (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for matched Views stored in a remote cache. (in ):PARAM_REGEX_STRING=String, The text regular pattern to match. (in ):PARAM_REFERENCE=String, containing the UID (unique ID) reference keys for Views to be matched.KEY_REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
java.util.List<java.lang.String> removeInvisibleViews(java.util.List<java.lang.String> viewUIDList) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
viewUIDList,
- List, a list of UID (unique ID) reference keys for Views to be filtered._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_utilsremoveinvisibleviews (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String containing the UID (unique ID) reference keys for Filtered Views stored in a remote cache. (in ):PARAM_REFERENCES=String, containing the UID (unique ID) reference keys for Views to be filtered.PARAM_REFERENCES, KEY_REMOTERESULTINFO content format: ";UID;UID;UID"
The first character is the delimiter used to delimit each UID followed by each UID separated by the delimiter. Each UID must be a unique String reference key to an object in the remote cache.
RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
void sortViewsByLocationOnScreen(java.util.List<java.lang.String> viewUIDList) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
viewUIDList,
- List, a list of UID (unique ID) reference keys for Views to be sorted.RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
void sortViewsByLocationOnScreen(java.util.List<java.lang.String> viewUIDList, boolean yAxisFirst) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
viewUIDList,
- List, a list of UID (unique ID) reference keys for Views to be sorted.yAxisFirst,
- boolean, Whether the y-axis should be compared before the x-axis.RemoteException
- -- if remote execution raised an Exceptionjava.util.concurrent.TimeoutException
- -- if remote command did not complete in timeout period.ShutdownInvocationException
- -- if remote clients have shutdown unexpectedly.java.lang.IllegalThreadStateException
- -- if the command was not sent for some reason.getCurrentObjects(Properties)
,
_last_remote_result
,
Message
boolean setLargeTimeout(int milliseconds) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
milliseconds,
- int, the timeout of the waitFor methods, in milliseconds._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setlargetimeout (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (in ):PARAM_TIMEOUT=int
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
runBooleanResult(Properties)
,
_last_remote_result
,
Message
boolean setSmallTimeout(int milliseconds) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
milliseconds,
- int, the timeout of the get, is, set, assert, enter and click methods, in milliseconds._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_setsmalltimeout (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (in ):PARAM_TIMEOUT=int
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
runBooleanResult(Properties)
,
_last_remote_result
,
Message
int getLargeTimeout() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getlargetimeout (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String, the timeout in milliseconds
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
getSingleObject(Properties)
,
_last_remote_result
,
Message
int getSmallTimeout() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_getsmalltimeout (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String, the timeout in milliseconds
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
getSingleObject(Properties)
,
_last_remote_result
,
Message
int config_getTimeoutSmall() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_gettimeoutsmall (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String, the timeout in milliseconds
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
getSingleObject(Properties)
,
_last_remote_result
,
Message
int config_setTimeoutSmall() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_settimeoutsmall (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String, the newly set timeout value in milliseconds
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
getSingleObject(Properties)
,
_last_remote_result
,
Message
int config_getTimeoutLarge() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_gettimeoutlarge (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String, the timeout in milliseconds
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
getSingleObject(Properties)
,
_last_remote_result
,
Message
int config_setTimeoutLarge() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_settimeoutlarge (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String, the newly set timeout value in milliseconds
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
getSingleObject(Properties)
,
_last_remote_result
,
Message
boolean config_getShouldScroll() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_getshouldscroll (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String true or false of current setting
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
#getRemoteBooleanResult(Properties)
,
_last_remote_result
,
Message
boolean config_setShouldScroll(boolean shouldScroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_setshouldscroll (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String true or false of current setting (in ):PARAM_STATUS=String true or false
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
runBooleanResult(Properties)
,
_last_remote_result
,
Message
boolean config_getUseJavaScriptToClickWebElements() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_getusejavascripttoclickwebelements (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String true or false of current setting
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
#getRemoteBooleanResult(Properties)
,
_last_remote_result
,
Message
boolean config_setUseJavaScriptToClickWebElements(boolean shouldScroll) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_setusejavascripttoclickwebelements (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String true or false of current setting (in ):PARAM_STATUS=String true or false
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
runBooleanResult(Properties)
,
_last_remote_result
,
Message
java.lang.String config_getScreenshotSavePath() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_getscreenshotsavepath (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String path of current setting
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
getSingleObject(Properties)
,
_last_remote_result
,
Message
boolean config_setScreenshotSavePath(java.lang.String savePath) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
String
- path to set._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_setscreenshotsavepath (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String path of current setting (in ):PARAM_TEXT=String path to set
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
runBooleanResult(Properties)
,
_last_remote_result
,
Message
java.lang.String config_getScreenshotFileType() throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
_last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_getscreenshotfiletype (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String file type of current setting (Message.FILETYPE_JPEG, Message.FILETYPE_PNG)
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
getSingleObject(Properties)
,
_last_remote_result
,
Message
boolean config_setScreenshotFileType(java.lang.String fileType) throws java.lang.IllegalThreadStateException, RemoteException, java.util.concurrent.TimeoutException, ShutdownInvocationException, RemoteSoloException
String
- FileType to set (Message.FILETYPE_JPEG, Message.FILETYPE_PNG)._last_remote_result
contains the returned Properties object.
The KEY_, PARAM_, STATUS_, cmd_, and target_ constants all come from the Message class and are used here and in the device/emulator Robotium Test Runner.
(in ):KEY_TARGET= solo (in ):KEY_COMMAND= cmd_config_setscreenshotfiletype (out):KEY_ISREMOTERESULT=true (out):KEY_REMOTERESULTCODE=String:int:0=success/normal=STATUS_REMOTERESULT_OK (out):KEY_REMOTERESULTINFO=String file type of current setting (Message.FILETYPE_JPEG, Message.FILETYPE_PNG) (in ):PARAM_TEXT=String file type (Message.FILETYPE_JPEG, Message.FILETYPE_PNG)
java.lang.IllegalThreadStateException
RemoteException
java.util.concurrent.TimeoutException
ShutdownInvocationException
RemoteSoloException
runBooleanResult(Properties)
,
_last_remote_result
,
Message
Copyright © SAS Institute. All Rights Reserved.