On 26.01.2012 12:16, Simon Kent wrote:
Is there an easy way to hook into step failures to capture screen shots? We are running JBehave 3.5.4.

yes, there is an example for web-selenium that includes the screenshot function

http://jbehave.org/reference/web/stable/using-selenium.html (section "Using WebDriver API")

The same code with a complete example is included in the jbehave-web source at https://github.com/jbehave/jbehave-web/blob/master/examples/trader-runner-webdriver/src/main/java/org/jbehave/web/examples/trader/webdriver/TraderWebStories.java




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to