org.jbehave.web.selenium
Class SeleniumPerStorySteps
java.lang.Object
org.jbehave.core.steps.Steps
org.jbehave.web.selenium.AbstractSeleniumSteps
org.jbehave.web.selenium.SeleniumPerStorySteps
- All Implemented Interfaces:
- org.jbehave.core.steps.CandidateSteps
public abstract class SeleniumPerStorySteps
- extends AbstractSeleniumSteps
Steps implementation that can be used in Selenium-based scenarios. It
provides annotated methods to start and stop Selenium before and after
stories. It can also provides defaults for Selenium and ConditionRunner
dependencies, which may be overridden by user when providing the
implementation of scenario steps.
- Author:
- Mauro Talevi
| Nested classes/interfaces inherited from class org.jbehave.core.steps.Steps |
org.jbehave.core.steps.Steps.DuplicateCandidateStepFoundException, org.jbehave.core.steps.Steps.SilentStepResult |
| Methods inherited from class org.jbehave.core.steps.Steps |
createCandidateStep, getConfiguration, getSteps, getSteps, runAfterScenario, runAfterStory, runBeforeScenario, runBeforeStory, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SeleniumPerStorySteps
public SeleniumPerStorySteps()
SeleniumPerStorySteps
public SeleniumPerStorySteps(org.jbehave.core.steps.StepsConfiguration configuration)
SeleniumPerStorySteps
public SeleniumPerStorySteps(com.thoughtworks.selenium.Selenium selenium)
SeleniumPerStorySteps
public SeleniumPerStorySteps(SeleniumStepsConfiguration configuration)
beforeStory
public void beforeStory()
throws java.lang.Exception
- Throws:
java.lang.Exception
afterStory
public void afterStory()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010. All Rights Reserved.