|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.selenium.SystemProperties
public final class SystemProperties
Exposing of test system properties.
| Nested Class Summary | |
|---|---|
static class |
SystemProperties.SeleniumTimeoutType
Type of selenium timeout |
| Method Summary | |
|---|---|
static Browser |
getBrowser()
Returns current browser implementation used in tests. |
static URL |
getContextPath()
Returns context path, the URL for application context incl. |
static URL |
getContextRoot()
Returns context root, the root URL for server instance. |
static File |
getMavenProjectBuildDirectory()
Returns current maven project build (target) directory. |
static File |
getMavenResourcesDir()
Returns current maven resources dir, such as images, XMLs, etc. |
static String |
getSeleniumHost()
Returns the host of Selenium Server |
static int |
getSeleniumPort()
Returns the port for Selenium Server |
static int |
getSeleniumSpeed()
Returns the speed of performing selenium commands |
static long |
getSeleniumTimeout(SystemProperties.SeleniumTimeoutType type)
Returns the predefined timeout for given type. |
static boolean |
isSeleniumDebug()
Returns if Selenium test is in debug mode |
static boolean |
isSeleniumMaximize()
Returns whenever should browser window be maximized after start. |
static boolean |
isSeleniumNetworkTrafficEnabled()
Returns if the network traffic should be captured during the selenium session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static URL getContextRoot()
public static URL getContextPath()
getContextRoot().
getContextRoot().public static Browser getBrowser()
public static File getMavenResourcesDir()
public static File getMavenProjectBuildDirectory()
public static String getSeleniumHost()
public static int getSeleniumPort()
public static boolean isSeleniumMaximize()
public static boolean isSeleniumDebug()
public static int getSeleniumSpeed()
public static boolean isSeleniumNetworkTrafficEnabled()
public static long getSeleniumTimeout(SystemProperties.SeleniumTimeoutType type)
type - the type of timeout (SystemProperties.SeleniumTimeoutType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||