org.jbehave.web.selenium
Class PerStorySeleniumSteps

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

public class PerStorySeleniumSteps
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 story and close/stop Selenum after each story.

Author:
Mauro Talevi

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

Constructor Detail

PerStorySeleniumSteps

public PerStorySeleniumSteps()

PerStorySeleniumSteps

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

beforeStory

public void beforeStory()
                 throws Exception
Throws:
Exception

afterStory

public void afterStory()
                throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.