|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface StepPublisher
Represents a class that monitors step results and can report on test outcomes.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
List<TestOutcome> getTestOutcomes()
void setDriver(org.openqa.selenium.WebDriver driver)
org.openqa.selenium.WebDriver getDriver()
boolean aStepHasFailed()
Throwable getTestFailureCause()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||