public class MyTest extends SoloTest
ARG_KEY_AUT_APK, ARG_KEY_AVD, ARG_KEY_INSTRUMENT_ARG, ARG_KEY_MESSENGER_APK, ARG_KEY_NO_AUT, ARG_KEY_NO_MESSENGER, ARG_KEY_NO_RUNNER, ARG_KEY_PERSIST_AVD, ARG_KEY_REMOVE_INSTALLED_APK, ARG_KEY_RESIGN_JAR, ARG_KEY_TESTRUNNER_APK, ARG_KEY_TESTRUNNER_SOURCE, argAUTpassed, argINSTRUMENTpassed, argMESSENGERpassed, argRESIGNJARpassed, argRUNNERpassed, argRUNNERSOURCEpassed, avdSerialNo, debugEnabled, DEFAULT_AUT_APK, DEFAULT_INSTRUMENT_ARG, DEFAULT_MESSENGER_APK, DEFAULT_TESTRUNNER_APK, DEFAULT_TESTRUNNER_SOURCE_DIR, log, mainActivityUID, persistEmulators, removeinstalledapk, robotiumTimeout, robotiumUtils, solo, unlockEmulatorScreen, weLaunchedEmulator
Constructor and Description |
---|
MyTest() |
MyTest(java.lang.String[] args) |
MyTest(java.lang.String messengerApk,
java.lang.String testRunnerApk,
java.lang.String instrumentArg) |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
protected void |
test()
Use solo to test.
You will extend this method in the sub-class, normally In the RobotiumTestRunner project, there is a file AndroidManifest.xml: There is a tag For example, android:targetPackage="your.test.application.package" And you need to override this method to do the test work. |
debug, error, fail, getAUTApk, getInstrumentArg, getLogsInterface, getMessengerApk, getResignJar, getTestRunnerApk, getTestRunnerSourceDir, goBackToViewUID, info, initialize, isRemoveinstalledapk, pass, pause, preparation, prepareDevice, prepareLogsInterface, process, scrollToBottoum, scrollToTop, setAUTApk, setInstallAUT, setInstallMessenger, setInstallRunner, setInstrumentArg, setLogsInterface, setMessengerApk, setProtocolDebug, setRebuildRunner, setRemoveinstalledapk, setResignJar, setRunnerDebug, setTestRunnerApk, setTestRunnerSourceDir, stopEmulator, terminate, warn, wrapRegex
public MyTest()
public MyTest(java.lang.String[] args)
public MyTest(java.lang.String messengerApk, java.lang.String testRunnerApk, java.lang.String instrumentArg)
public static void main(java.lang.String[] args)
protected void test()
SoloTest
Copyright © SAS Institute. All Rights Reserved.