org.jbehave.web.selenium
Class WebDriverPageDumpOnFailure
java.lang.Object
org.jbehave.web.selenium.WebDriverSteps
org.jbehave.web.selenium.WebDriverPageDumpOnFailure
public class WebDriverPageDumpOnFailure
- extends WebDriverSteps
WebDriverSteps that save a page dump upon failure in a scenario outcome.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PAGE_DUMP_PATH_PATTERN
public static final String DEFAULT_PAGE_DUMP_PATH_PATTERN
- See Also:
- Constant Field Values
reporterBuilder
protected final org.jbehave.core.reporters.StoryReporterBuilder reporterBuilder
pageDumpPathPattern
protected final String pageDumpPathPattern
WebDriverPageDumpOnFailure
public WebDriverPageDumpOnFailure(WebDriverProvider driverProvider)
WebDriverPageDumpOnFailure
public WebDriverPageDumpOnFailure(WebDriverProvider driverProvider,
org.jbehave.core.reporters.StoryReporterBuilder reporterBuilder)
WebDriverPageDumpOnFailure
public WebDriverPageDumpOnFailure(WebDriverProvider driverProvider,
org.jbehave.core.reporters.StoryReporterBuilder reporterBuilder,
String pageDumpPathPattern)
afterScenarioFailure
public void afterScenarioFailure(org.jbehave.core.failures.UUIDExceptionWrapper uuidWrappedFailure)
throws Exception
- Throws:
Exception
pageDumpPath
protected String pageDumpPath(UUID uuid)
Copyright © 2012. All Rights Reserved.