net.thucydides.core.webdriver
Interface Configuration

Package class diagram package Configuration
All Known Implementing Classes:
SystemPropertiesConfiguration

public interface Configuration


Method Summary
 Configuration copy()
           
 String getBaseUrl()
           
 int getCurrentTestCount()
          This is the URL where test cases start.
 SupportedWebDriver getDriverType()
           
 int getElementTimeout()
           
 EnvironmentVariables getEnvironmentVariables()
           
 double getEstimatedAverageStepCount()
           
 File getOutputDirectory()
           
 int getRestartFrequency()
           
 com.google.common.base.Optional<TakeScreenshots> getScreenshotLevel()
          How often should screenshots be taken.
 int getStepDelay()
           
 boolean getUseUniqueBrowser()
           
 int maxRetries()
           
 boolean onlySaveFailingScreenshots()
           
 void setDefaultBaseUrl(String defaultBaseUrl)
           
 void setIfUndefined(String property, String value)
           
 void setOutputDirectory(File outputDirectory)
           
 boolean storeHtmlSourceCode()
           
 boolean takeVerboseScreenshots()
          Take a screenshot for each action.
 Configuration withEnvironmentVariables(EnvironmentVariables environmentVariables)
           
 

Method Detail

getDriverType

SupportedWebDriver getDriverType()

getStepDelay

int getStepDelay()

getElementTimeout

int getElementTimeout()

getUseUniqueBrowser

boolean getUseUniqueBrowser()

setOutputDirectory

void setOutputDirectory(File outputDirectory)

getOutputDirectory

File getOutputDirectory()

getEstimatedAverageStepCount

double getEstimatedAverageStepCount()

onlySaveFailingScreenshots

boolean onlySaveFailingScreenshots()

setDefaultBaseUrl

void setDefaultBaseUrl(String defaultBaseUrl)

getRestartFrequency

int getRestartFrequency()

getCurrentTestCount

int getCurrentTestCount()
This is the URL where test cases start. The default value can be overriden using the webdriver.baseurl property. It is also the base URL used to build relative paths.


getBaseUrl

String getBaseUrl()

takeVerboseScreenshots

boolean takeVerboseScreenshots()
Take a screenshot for each action.


getScreenshotLevel

com.google.common.base.Optional<TakeScreenshots> getScreenshotLevel()
How often should screenshots be taken.


storeHtmlSourceCode

boolean storeHtmlSourceCode()

setIfUndefined

void setIfUndefined(String property,
                    String value)

copy

Configuration copy()

withEnvironmentVariables

Configuration withEnvironmentVariables(EnvironmentVariables environmentVariables)

getEnvironmentVariables

EnvironmentVariables getEnvironmentVariables()

maxRetries

int maxRetries()


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.