org.jbehave.web.selenium
Class PerScenarioSeleniumSteps

java.lang.Object
  extended by org.jbehave.web.selenium.SeleniumSteps
      extended by org.jbehave.web.selenium.PerScenarioSeleniumSteps

public class PerScenarioSeleniumSteps
extends SeleniumSteps

Steps implementation that can be used before and after lifecycle in Selenium-based stories. It provides annotated methods to start Selenium before each scenario and close/stop Selenum after each scenario.

Author:
Mauro Talevi

Field Summary
 
Fields inherited from class org.jbehave.web.selenium.SeleniumSteps
runner, selenium
 
Constructor Summary
PerScenarioSeleniumSteps()
           
PerScenarioSeleniumSteps(com.thoughtworks.selenium.Selenium selenium)
           
 
Method Summary
 void afterScenario()
           
 void beforeScenario()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerScenarioSeleniumSteps

public PerScenarioSeleniumSteps()

PerScenarioSeleniumSteps

public PerScenarioSeleniumSteps(com.thoughtworks.selenium.Selenium selenium)
Method Detail

beforeScenario

public void beforeScenario()
                    throws Exception
Throws:
Exception

afterScenario

public void afterScenario()
                   throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.