org.jbehave.web.selenium
Class SeleniumPerScenarioSteps
java.lang.Object
org.jbehave.core.steps.Steps
org.jbehave.web.selenium.AbstractSeleniumSteps
org.jbehave.web.selenium.SeleniumPerScenarioSteps
- All Implemented Interfaces:
- org.jbehave.core.steps.CandidateSteps
public abstract class SeleniumPerScenarioSteps
- extends AbstractSeleniumSteps
Steps implementation that can be used in Selenium-based scenarios. It
provides annotated methods to start and stop Selenium before and after
scenarios. 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 |
SeleniumPerScenarioSteps
public SeleniumPerScenarioSteps()
SeleniumPerScenarioSteps
public SeleniumPerScenarioSteps(org.jbehave.core.steps.StepsConfiguration configuration)
SeleniumPerScenarioSteps
public SeleniumPerScenarioSteps(com.thoughtworks.selenium.Selenium selenium)
SeleniumPerScenarioSteps
public SeleniumPerScenarioSteps(SeleniumStepsConfiguration configuration)
beforeScenario
public void beforeScenario()
throws java.lang.Exception
- Throws:
java.lang.Exception
afterScenario
public void afterScenario()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010. All Rights Reserved.