|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.robotium.solo.Solo.Config
public static class Solo.Config
Config class used to set the scroll behaviour, default timeouts, screenshot filetype and screenshot save path.
Example of usage:
public void setUp() throws Exception {
Config config = new Config();
config.screenshotFileType = ScreenshotFileType.PNG;
config.screenshotSavePath = Environment.getExternalStorageDirectory() + "/Robotium/";
config.shouldScroll = false;
solo = new Solo(getInstrumentation(), config);
getActivity();
}
| Nested Class Summary | |
|---|---|
static class |
Solo.Config.ScreenshotFileType
The screenshot file type, JPEG or PNG. |
| Field Summary | |
|---|---|
boolean |
commandLogging
Set to true if logging should be enabled. |
String |
commandLoggingTag
The command logging tag. |
Solo.Config.ScreenshotFileType |
screenshotFileType
The screenshot file type, JPEG or PNG. |
String |
screenshotSavePath
The screenshot save path. |
boolean |
shouldScroll
Set to true if the get, is, set, enter, type and click methods should scroll. |
int |
timeout_large
The timeout length of the waitFor methods. |
int |
timeout_small
The timeout length of the get, is, set, assert, enter and click methods. |
boolean |
trackActivities
Set to true if Activity tracking should be enabled. |
boolean |
useJavaScriptToClickWebElements
Set to true if JavaScript should be used to click WebElements. |
String |
webFrame
Set the web frame to be used by Robotium. |
| Constructor Summary | |
|---|---|
Solo.Config()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int timeout_small
public int timeout_large
public String screenshotSavePath
public Solo.Config.ScreenshotFileType screenshotFileType
public boolean shouldScroll
public boolean useJavaScriptToClickWebElements
public boolean trackActivities
public String webFrame
public boolean commandLogging
public String commandLoggingTag
| Constructor Detail |
|---|
public Solo.Config()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||