Package net.thucydides.core.steps
Class ScenarioSteps
java.lang.Object
net.thucydides.core.steps.ScenarioSteps
- All Implemented Interfaces:
Serializable
A set of reusable steps for use in an acceptance test suite.
A step corresponds to an action taken during a web test - clicking on a button or a link,
for example. Steps may be reused across more than one test, and may take parameters.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebDrivergetPages()onPage()<T extends ScenarioSteps>
TonSamePage(Class<T> stepsType) pages()protected voidtoString()voidwaitABit(long delayInMilliseconds) Pause the test to wait for the page to display completely.WaitForBuilder<? extends ScenarioSteps>waitFor(int duration)
-
Constructor Details
-
ScenarioSteps
public ScenarioSteps() -
ScenarioSteps
-
-
Method Details
-
getDriver
public org.openqa.selenium.WebDriver getDriver() -
setPages
-
getPages
-
onPage
-
pages
-
onSamePage
-
waitABit
public void waitABit(long delayInMilliseconds) Pause the test to wait for the page to display completely. This is not normally recommended practice, but is useful from time to time. -
waitFor
-
toString
-