Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.framework
Interface AjocadoConfiguration


public interface AjocadoConfiguration

Version:
$Revision$
Author:
Lukas Fryc

Nested Class Summary
static class AjocadoConfiguration.TimeoutType
          Type of selenium timeout
 
Method Summary
 Browser getBrowser()
          Returns current browser implementation used in tests.
 File getBuildDirectory()
          Returns current project build (target) directory.
 URL getContextPath()
          Returns context path, the URL for application context incl.
 URL getContextRoot()
          Returns context root, the root URL for server instance.
 File getResourcesDirectory()
          Returns current resources dir, such as images, XMLs, etc.
 String getSeleniumHost()
          Returns the host of Selenium Server
 int getSeleniumPort()
          Returns the port for Selenium Server
 int getSeleniumSpeed()
          Returns the speed of performing selenium commands
 long getTimeout(AjocadoConfiguration.TimeoutType type)
          Returns the predefined timeout for given type.
 boolean isSeleniumDebug()
          Returns if Selenium test is in debug mode
 boolean isSeleniumMaximize()
          Returns whenever should browser window be maximized after start.
 boolean isSeleniumNetworkTrafficEnabled()
          Returns if the network traffic should be captured during the selenium session.
 

Method Detail

getContextRoot

URL getContextRoot()
Returns context root, the root URL for server instance.

Returns:
context root, the root URL for server instance.

getContextPath

URL getContextPath()
Returns context path, the URL for application context incl. context root (getContextRoot().

Returns:
context path, the URL for application context incl. context root (getContextRoot().

getBrowser

Browser getBrowser()
Returns current browser implementation used in tests.

Returns:
current browser implementation used in tests.

getResourcesDirectory

File getResourcesDirectory()
Returns current resources dir, such as images, XMLs, etc.

Returns:
current resources dir, such as images, XMLs, etc.

getBuildDirectory

File getBuildDirectory()
Returns current project build (target) directory.

Returns:
current project build (target) directory.

getSeleniumHost

String getSeleniumHost()
Returns the host of Selenium Server

Returns:
the host of Selenium Server

getSeleniumPort

int getSeleniumPort()
Returns the port for Selenium Server

Returns:
the port for Selenium Server

isSeleniumMaximize

boolean isSeleniumMaximize()
Returns whenever should browser window be maximized after start.

Returns:
whenever should browser window be maximized after start

isSeleniumDebug

boolean isSeleniumDebug()
Returns if Selenium test is in debug mode

Returns:
if Selenium test is in debug mode

getSeleniumSpeed

int getSeleniumSpeed()
Returns the speed of performing selenium commands

Returns:
the speed of performing selenium commands

isSeleniumNetworkTrafficEnabled

boolean isSeleniumNetworkTrafficEnabled()
Returns if the network traffic should be captured during the selenium session.

Returns:
if the network traffic should be captured during the selenium session.

getTimeout

long getTimeout(AjocadoConfiguration.TimeoutType type)
Returns the predefined timeout for given type.

Parameters:
type - the type of timeout (AjocadoConfiguration.TimeoutType)
Returns:
the predefined timeout for given type.

Ajocado API 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.