com.atlassian.selenium
Class SystemPropertySeleniumConfiguration

java.lang.Object
  extended by com.atlassian.selenium.AbstractSeleniumConfiguration
      extended by com.atlassian.selenium.SystemPropertySeleniumConfiguration
All Implemented Interfaces:
SeleniumConfiguration

public class SystemPropertySeleniumConfiguration
extends AbstractSeleniumConfiguration


Field Summary
protected  String appContext
           
protected  String appLocation
           
protected  String appPort
           
protected  String browserStartString
           
protected  String serverLocation
           
protected  int serverPort
           
protected  boolean startSeleniumServer
           
protected  boolean useSingleBrowser
           
 
Constructor Summary
protected SystemPropertySeleniumConfiguration(String selServerLocationProp, String seleniumServerLocationDefault, String selServerPortProp, int selServerPortDefault, String selStartServerProp, boolean startServerDefault, String appLocationProp, String appLocationDefault, String appPortProp, String appPortDefault, String appContextProp, String appContextDefault)
           
 
Method Summary
 String getApplicationContext()
           
 String getBaseUrl()
          The starting url for the browser
 String getBrowserStartString()
          The browser start string to be passed to Selenium
 String getServerLocation()
          The address of the node hosting the selenium server.
 int getServerPort()
          The port the selenium server is listening on
 boolean getStartSeleniumServer()
          Whether the framework should start the selenium server
 
Methods inherited from class com.atlassian.selenium.AbstractSeleniumConfiguration
getActionWait, getConditionCheckInterval, getFirefoxProfileTemplate, getPageLoadWait, getSingleWindowMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serverLocation

protected String serverLocation

serverPort

protected int serverPort

browserStartString

protected String browserStartString

startSeleniumServer

protected boolean startSeleniumServer

useSingleBrowser

protected boolean useSingleBrowser

appLocation

protected String appLocation

appPort

protected String appPort

appContext

protected String appContext
Constructor Detail

SystemPropertySeleniumConfiguration

protected SystemPropertySeleniumConfiguration(String selServerLocationProp,
                                              String seleniumServerLocationDefault,
                                              String selServerPortProp,
                                              int selServerPortDefault,
                                              String selStartServerProp,
                                              boolean startServerDefault,
                                              String appLocationProp,
                                              String appLocationDefault,
                                              String appPortProp,
                                              String appPortDefault,
                                              String appContextProp,
                                              String appContextDefault)
Method Detail

getServerLocation

public String getServerLocation()
Description copied from interface: SeleniumConfiguration
The address of the node hosting the selenium server.


getServerPort

public int getServerPort()
Description copied from interface: SeleniumConfiguration
The port the selenium server is listening on


getBrowserStartString

public String getBrowserStartString()
Description copied from interface: SeleniumConfiguration
The browser start string to be passed to Selenium


getBaseUrl

public String getBaseUrl()
Description copied from interface: SeleniumConfiguration
The starting url for the browser


getStartSeleniumServer

public boolean getStartSeleniumServer()
Description copied from interface: SeleniumConfiguration
Whether the framework should start the selenium server


getApplicationContext

public String getApplicationContext()


Copyright © 2010 Atlassian Pty Ltd. All Rights Reserved.