public interface StepPublisher
Modifier and Type | Method and Description |
---|---|
boolean |
aStepHasFailed()
Should return true if a step failure has been logged.
|
org.openqa.selenium.WebDriver |
getDriver()
The currently-used WebDriver instance for these tests.
|
Throwable |
getTestFailureCause()
If a test failed, what was the error.
|
List<TestOutcome> |
getTestOutcomes()
A step listener should be able to return a set of test results at the end of the test run.
|
void |
setDriver(org.openqa.selenium.WebDriver driver)
Used to update the webdriver driver for screenshots if a listener is reused between scenarios.
|
List<TestOutcome> getTestOutcomes()
void setDriver(org.openqa.selenium.WebDriver driver)
org.openqa.selenium.WebDriver getDriver()
boolean aStepHasFailed()
Throwable getTestFailureCause()
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.