public class SoloMessage extends Message
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RESULT_INFO_ACTIVITYMONITOR_NULL |
static java.lang.String |
RESULT_INFO_ASSERTION_FAIL |
static java.lang.String |
RESULT_INFO_COMMAND_ISNULL |
static java.lang.String |
RESULT_INFO_COMMAND_UNKNOWN |
static java.lang.String |
RESULT_INFO_COMPARAISON_FAIL |
static java.lang.String |
RESULT_INFO_EXCEPTION |
static java.lang.String |
RESULT_INFO_GENERAL_FAIL |
static java.lang.String |
RESULT_INFO_GENERAL_SUCCESS |
static java.lang.String |
RESULT_INFO_GENERATE_UID_NULL |
static java.lang.String |
RESULT_INFO_MEMORY_ISLOW |
static java.lang.String |
RESULT_INFO_PARAM_WRONG |
static java.lang.String |
RESULT_INFO_PROCESSOR_EXCEPTION |
static java.lang.String |
RESULT_INFO_SOLO_ISNULL |
static java.lang.String |
RESULT_INFO_VIEW_NULL |
static java.lang.String |
RESULT_INFO_VIEW_TAG_INVALID |
cmd_assertcurrentactivityclass, cmd_assertcurrentactivityname, cmd_assertmemorynotlow, cmd_assertnewcurrentactivityclass, cmd_assertnewcurrentactivityname, cmd_clearedittextindex, cmd_clearedittextreference, cmd_clearlog, cmd_cleartextinwebelement, cmd_clickinlist, cmd_clickinlistindex, cmd_clicklonginlist, cmd_clicklonginlistindex, cmd_clicklongonscreen, cmd_clicklongontext, cmd_clicklongontextmatch, cmd_clicklongontextmatchscroll, cmd_clicklongonview, cmd_clicklongpressontext, cmd_clicklongtimeinlistindex, cmd_clicklongtimeonscreen, cmd_clicklongtimeontextmatch, cmd_clicklongtimeonview, cmd_clickonactionbarhomebutton, cmd_clickonactionbaritem, cmd_clickonbutton, cmd_clickonbuttonindex, cmd_clickoncheckboxindex, cmd_clickonedittextindex, cmd_clickonimage, cmd_clickonimagebutton, cmd_clickonmenuitem, cmd_clickonradiobuttonindex, cmd_clickonscreen, cmd_clickonscreenntimes, cmd_clickonsubmenuitem, cmd_clickontext, cmd_clickontextmatch, cmd_clickontextmatchscroll, cmd_clickontogglebutton, cmd_clickonview, cmd_clickonviewimmediately, cmd_clickonwebelement, cmd_clickonwebelementindex, cmd_clickonwebelementindexscroll, cmd_clickonwebelementuid, cmd_config_getscreenshotfiletype, cmd_config_getscreenshotsavepath, cmd_config_getshouldscroll, cmd_config_gettimeoutlarge, cmd_config_gettimeoutsmall, cmd_config_getusejavascripttoclickwebelements, cmd_config_setscreenshotfiletype, cmd_config_setscreenshotsavepath, cmd_config_setshouldscroll, cmd_config_settimeoutlarge, cmd_config_settimeoutsmall, cmd_config_setusejavascripttoclickwebelements, cmd_drag, cmd_entertextindex, cmd_entertextinwebelement, cmd_entertextreference, cmd_finalizeremotesolo, cmd_finishopenedactivities, cmd_getactivitymonitor, cmd_getallopenactivities, cmd_getbutton, cmd_getbuttontext, cmd_getbuttonvisible, cmd_getcurrentactivity, cmd_getcurrentbuttons, cmd_getcurrentcheckboxes, cmd_getcurrentdatepickers, cmd_getcurrentedittexts, cmd_getcurrentgridviews, cmd_getcurrentimagebuttons, cmd_getcurrentimageviews, cmd_getcurrentlistviews, cmd_getcurrentnumberpickers, cmd_getcurrentprogressbars, cmd_getcurrentradiobuttons, cmd_getcurrentscrollviews, cmd_getcurrentslidingdrawers, cmd_getcurrentspinners, cmd_getcurrenttextviews, cmd_getcurrenttimepickers, cmd_getcurrenttogglebuttons, cmd_getcurrentviews, cmd_getcurrentviewsbyclass, cmd_getcurrentviewsbyclassandparent, cmd_getcurrentwebelements, cmd_getcurrentwebelementsby, cmd_getedittext, cmd_getedittexttext, cmd_getedittextvisible, cmd_getguiimage, cmd_getimage, cmd_getimagebutton, cmd_getlargetimeout, cmd_getobjectclassname, cmd_getparentviews, cmd_getscreenshotsequence, cmd_getscreenshotsequenceindex, cmd_getscreenshotsequenceszie, cmd_getscreensize, cmd_getsmalltimeout, cmd_getstring, cmd_gettagforview, cmd_gettext, cmd_gettexttext, cmd_gettextviewvalue, cmd_gettextvisible, cmd_gettopparent, cmd_getviewbyname, cmd_getviewbynamematch, cmd_getviewbytag, cmd_getviewbytagmatch, cmd_getviewclass, cmd_getviewclassname, cmd_getviewid, cmd_getviewlocation, cmd_getviews, cmd_getwebelement, cmd_getwebelements, cmd_getwebelementsby, cmd_getweburl, cmd_goback, cmd_gobacktoactivity, cmd_hidesoftkeyboard, cmd_ischeckboxchecked, cmd_ischeckboxcheckedtext, cmd_isradiobuttonchecked, cmd_isradiobuttoncheckedtext, cmd_isspinnertextselected, cmd_isspinnertextselectedindex, cmd_istextchecked, cmd_istogglebuttonchecked, cmd_istogglebuttoncheckedtext, cmd_pinchtozoom, cmd_pressmenuitem, cmd_presssoftkeyboardnextbutton, cmd_presssoftkeyboardsearchbutton, cmd_pressspinneritem, cmd_presssubmenuitem, cmd_rotatelarge, cmd_rotatesmall, cmd_scrolldown, cmd_scrolldownlist, cmd_scrolldownlistuid, cmd_scrolllisttobottom, cmd_scrolllisttobottomuid, cmd_scrolllisttoline, cmd_scrolllisttolineuid, cmd_scrolllisttotop, cmd_scrolllisttotopuid, cmd_scrolltobottom, cmd_scrolltobottomuid, cmd_scrolltoside, cmd_scrolltotop, cmd_scrollup, cmd_scrolluplist, cmd_scrolluplistuid, cmd_scrollviewtoside, cmd_searchbutton, cmd_searchbuttonmatch, cmd_searchbuttonmatchvisible, cmd_searchbuttonvisible, cmd_searchedittext, cmd_searchtext, cmd_searchtextmatch, cmd_searchtextmatchscroll, cmd_searchtextmatchscrollvisible, cmd_searchtextvisible, cmd_searchtogglebutton, cmd_searchtogglebuttonmatch, cmd_sendkey, cmd_setactivityorientation, cmd_setdatepickerindex, cmd_setdatepickerreference, cmd_setlargetimeout, cmd_setmobiledata, cmd_setnavigationdrawer, cmd_setprogressbarindex, cmd_setprogressbarreference, cmd_setslidingdrawerindex, cmd_setslidingdrawerreference, cmd_setsmalltimeout, cmd_settimepickerindex, cmd_settimepickerreference, cmd_setwifidata, cmd_sleep, cmd_startmainlauncher, cmd_startscreenshotsequence, cmd_startscreenshotsequencemax, cmd_stopscreenshotsequence, cmd_swipe, cmd_takescreenshot, cmd_takescreenshotquality, cmd_typetext, cmd_typetextinwebelement, cmd_typetextinwebelementindex, cmd_typetextinwebelementuid, cmd_typetextuid, cmd_unlockscreen, cmd_utilsfilterviews, cmd_utilsfilterviewsbytext, cmd_utilsfilterviewstoset, cmd_utilsgetnumberofmatches, cmd_utilsremoveinvisibleviews, cmd_utilssortviewsbylocationonscreen, cmd_utilssortviewsbylocationonscreenyfirst, cmd_waitforactivity, cmd_waitforactivitybyclass, cmd_waitforactivitybyclasstimeout, cmd_waitforactivitytimeout, cmd_waitforcondition, cmd_waitfordialogtoclose, cmd_waitfordialogtoopen, cmd_waitforemptyactivitystack, cmd_waitforfragmentbyid, cmd_waitforfragmentbytag, cmd_waitforlogmessage, cmd_waitfortext, cmd_waitfortextmatchtimeout, cmd_waitfortextmatchtimeoutscroll, cmd_waitfortextmatchtimeoutscrollvisible, cmd_waitforviewbytagreference, cmd_waitforviewbytagreferencetimeout, cmd_waitforviewbytagreferencetimeoutscroll, cmd_waitforviewclass, cmd_waitforviewclassmatchtimeout, cmd_waitforviewclassmatchtimeoutscroll, cmd_waitforviewid, cmd_waitforviewidtimeout, cmd_waitforviewidtimeoutscroll, cmd_waitforviewreference, cmd_waitforviewreferencetimeoutscroll, cmd_waitforwebelement, cmd_waitforwebelementminmatchtimeout, cmd_waitforwebelementtimeout, FILETYPE_JPEG, FILETYPE_PNG, KEY_CHANGETIMEOUT, KEY_COMMAND, KEY_TARGET, KEY_UTF8_CHARSET, method_by_className, method_by_cssSelector, method_by_id, method_by_name, method_by_tagName, method_by_textContent, method_by_xpath, NULL_VALUE, PARAM_CLASS, PARAM_CLASSES, PARAM_CLICKNUMBER, PARAM_CONDITION_DEFINITION, PARAM_ERRORMSG, PARAM_FLOATX, PARAM_FLOATY, PARAM_FROMX, PARAM_FROMY, PARAM_HOUR, PARAM_ID, PARAM_IMMEDIATELY, PARAM_INCLUDSUBCLASSES, PARAM_INDEX, PARAM_ISNEWINSTANCE, PARAM_ITEMINDEX, PARAM_ITEMSPERROW, PARAM_KEY, PARAM_LINE, PARAM_MATCH, PARAM_MINIMUMMATCHES, PARAM_MINUTE, PARAM_MONTHDAY, PARAM_NAME, PARAM_OBJECT, PARAM_ONLYVISIBLE, PARAM_ORIENTATION, PARAM_PROGRESS, PARAM_QUALITY, PARAM_REFERENCE, PARAM_REFERENCES, PARAM_REGEX_STRING, PARAM_RESID, PARAM_SCROLL, PARAM_SCROLLPOSITION, PARAM_SIDE, PARAM_STATUS, PARAM_STEPCOUNT, PARAM_SUBMENU, PARAM_TEXT, PARAM_TIME, PARAM_TIMEOUT, PARAM_TIMEOUT_TYPE, PARAM_TOX, PARAM_TOY, PARAM_TURNON, PARAM_YAXISFIRST, PARAM_YEAR, PARAM_YEARMONTH, target_instrument, target_solo
KEY_ISREMOTERESULT, KEY_REMOTERESULTCODE, KEY_REMOTERESULTINFO, msg_connected, msg_debug, msg_dispatchfile, msg_dispatchprops, msg_exception, msg_message, msg_ready, msg_remoteshutdown, msg_result, msg_resultprops, msg_running, msg_sep, msg_shutdown, shutdown_cause_controller, shutdown_cause_device, shutdown_cause_normal, shutdown_cause_service, STATUS_REMOTE_NOT_EXECUTED, STATUS_REMOTE_NOT_EXECUTED_STRING, STATUS_REMOTERESULT_FAIL, STATUS_REMOTERESULT_FAIL_STRING, STATUS_REMOTERESULT_OK, STATUS_REMOTERESULT_OK_STRING, STATUS_REMOTERESULT_UNKNOWN, STATUS_REMOTERESULT_UNKNOWN_STRING, STATUS_REMOTERESULT_WARN, STATUS_REMOTERESULT_WARN_STRING
Constructor and Description |
---|
SoloMessage() |
Modifier and Type | Method and Description |
---|---|
static boolean |
exist(java.util.Properties props,
java.lang.String key)
Return true if the key exists in the properties.
|
static android.graphics.PointF |
getAndroidPoint(PointF point)
Convert a com.jayway.android.robotium.remotecontrol.PointF to a android.graphics.PointF.
|
static java.util.List<android.graphics.PointF> |
getAndroidPointFList(java.util.List<PointF> points)
Convert a list of com.jayway.android.robotium.remotecontrol.PointF to a list of android.graphics.PointF.
|
static boolean |
getBoolean(java.util.Properties props,
java.lang.String key)
Return the optional parameter as a boolean value
|
static double |
getDouble(java.util.Properties props,
java.lang.String key)
Return the required parameter as a double value
If this parameter is optional, you should catch the ProcessorException |
static float |
getFloat(java.util.Properties props,
java.lang.String key)
Return the required parameter as a float value
If this parameter is optional, you should catch the ProcessorException |
static int |
getInteger(java.util.Properties props,
java.lang.String key)
Return the required parameter as an int value
If this parameter is optional, you should catch the ProcessorException |
static long |
getLong(java.util.Properties props,
java.lang.String key)
Return the required parameter as a long value
If this parameter is optional, you should catch the ProcessorException |
static java.lang.Number |
getNumber(java.util.Properties props,
java.lang.String key,
java.lang.Class numberClass)
Warn: If the key can't be found in the properties object, a ProcessorException will be thrown out
|
static java.lang.String |
getSimpleClassName(java.lang.String fullQulifiedClassName)
get the 'simple class name' from a 'full qualified class name'
|
static com.robotium.solo.By |
getSoloBy(By by)
Convert a com.jayway.android.robotium.remotecontrol.By to a com.robotium.solo.By.
|
static java.lang.String |
getString(java.util.Properties props,
java.lang.String key)
Return the required parameter as a String value
If this parameter is optional, you should catch the ProcessorException |
static void |
main(java.lang.String[] args) |
static java.lang.String |
makeUniqueCacheKey()
Routine is used to create a unique ID String key.
|
convertToDelimitedString, convertToDelimitedString, decodeBase64Object, encodeBase64Object, getUniqueSeparator, parseStringArrayList
getStackTrace
public static final java.lang.String RESULT_INFO_GENERAL_SUCCESS
public static final java.lang.String RESULT_INFO_GENERAL_FAIL
public static final java.lang.String RESULT_INFO_COMMAND_ISNULL
public static final java.lang.String RESULT_INFO_COMMAND_UNKNOWN
public static final java.lang.String RESULT_INFO_PARAM_WRONG
public static final java.lang.String RESULT_INFO_PROCESSOR_EXCEPTION
public static final java.lang.String RESULT_INFO_COMPARAISON_FAIL
public static final java.lang.String RESULT_INFO_ASSERTION_FAIL
public static final java.lang.String RESULT_INFO_EXCEPTION
public static final java.lang.String RESULT_INFO_SOLO_ISNULL
public static final java.lang.String RESULT_INFO_MEMORY_ISLOW
public static final java.lang.String RESULT_INFO_ACTIVITYMONITOR_NULL
public static final java.lang.String RESULT_INFO_VIEW_NULL
public static final java.lang.String RESULT_INFO_GENERATE_UID_NULL
public static final java.lang.String RESULT_INFO_VIEW_TAG_INVALID
public static boolean exist(java.util.Properties props, java.lang.String key)
public static boolean getBoolean(java.util.Properties props, java.lang.String key)
public static java.lang.String getString(java.util.Properties props, java.lang.String key) throws ProcessorException
ProcessException
- if the value is not found in the properties.ProcessorException
public static int getInteger(java.util.Properties props, java.lang.String key) throws ProcessorException
ProcessorException
public static float getFloat(java.util.Properties props, java.lang.String key) throws ProcessorException
ProcessorException
public static double getDouble(java.util.Properties props, java.lang.String key) throws ProcessorException
ProcessorException
public static long getLong(java.util.Properties props, java.lang.String key) throws ProcessorException
ProcessorException
public static java.lang.Number getNumber(java.util.Properties props, java.lang.String key, java.lang.Class numberClass) throws ProcessorException
ProcessorException
public static java.lang.String getSimpleClassName(java.lang.String fullQulifiedClassName)
public static java.lang.String makeUniqueCacheKey()
public static java.util.List<android.graphics.PointF> getAndroidPointFList(java.util.List<PointF> points)
public static android.graphics.PointF getAndroidPoint(PointF point)
getAndroidPointFList(List)
public static com.robotium.solo.By getSoloBy(By by)
public static void main(java.lang.String[] args) throws ProcessorException
ProcessorException
Copyright © SAS Institute. All Rights Reserved.