|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aludratest.service.gui.web.selenium.SeleniumWrapperConfiguration
public final class SeleniumWrapperConfiguration
Configuration object for Selenium 1 and 2 services. Note that some properties are for Selenium 2 only.
Constructor Summary | |
---|---|
SeleniumWrapperConfiguration(Preferences configuration)
Creates a new typed configuration object for the given Preferences object |
Method Summary | |
---|---|
String |
getBrowser()
Browser which will be used for testing. |
String[] |
getBrowserArguments()
Returns the (possibly empty) list of additional arguments to pass to the Browser. |
String |
getBrowserLogLevel()
Returns the browser log level. |
boolean |
getCloseTestappAfterExecution()
Indicates if the application under test shall be closed after test execution. |
String |
getDriverName()
Returns the web driver name for Selenium 2, and throws a ConfigurationException if it is not set. |
boolean |
getHighlightCommands()
Indicates if commands shall be highlighted in GUI before performing them. |
String |
getIdentificationPrefix()
This value specifies the default prefix of an ID locator. |
String |
getIdentificationSuffix()
It is nearly the same as getIdentificationPrefix() with the difference that it is a suffix. |
int |
getMinProxyPort()
This property is only used for Selenium 2, and only has effect if the local proxy flag is set to true . |
String |
getPageSourceAttachmentExtension()
|
int |
getPauseBetweenRetries()
If execution of a action fails the program has to pause until it retries to execute this action again. |
String |
getScreenshotAttachmentExtension()
|
String |
getSpeed()
Speed in milliseconds. |
int |
getTaskCompletionTimeout()
Returns the maximum time the framework waits for an activity to finish. |
int |
getTaskPollingInterval()
Returns the polling interval for tasks, in milliseconds. |
int |
getTaskStartTimeout()
Returns the time the framework waits for an activity to start. |
int |
getTimeout()
Timeout in milliseconds after which a test step stops retrying doing a action. |
String |
getUrlOfAut()
URL of the application under test. |
URL |
getUrlOfAutAsUrl()
|
boolean |
isUsingLocalProxy()
Returns, for Selenium 2, if a local proxy server shall be used. |
boolean |
isUsingRemoteDriver()
Returns, for Selenium 2, if a remote driver shall be used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SeleniumWrapperConfiguration(Preferences configuration)
configuration
- Preferences object containing required configuration.Method Detail |
---|
public String getBrowser()
public String getUrlOfAut()
public int getTimeout()
public String getSpeed()
public boolean getCloseTestappAfterExecution()
true
if the application under test shall be closed after test execution.public String getBrowserLogLevel()
public boolean getHighlightCommands()
true
if commands shall be highlighted in GUI before performing them.public int getPauseBetweenRetries()
public String getIdentificationPrefix()
public String getIdentificationSuffix()
getIdentificationPrefix()
with the difference that it is a suffix.
public String getScreenshotAttachmentExtension()
public String getPageSourceAttachmentExtension()
public int getTaskStartTimeout()
public int getTaskCompletionTimeout()
public int getTaskPollingInterval()
public URL getUrlOfAutAsUrl()
URL
object.public boolean isUsingLocalProxy()
false
otherwise.public int getMinProxyPort()
true
.
public String getDriverName()
public String[] getBrowserArguments()
public boolean isUsingRemoteDriver()
true
if a remote driver shall be used, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |