Hello,

I have been using the JBehave Selenium Configuration with Spring and have
been following the
etsy example. I am looking to get the failure screen shots generated for
the failure case . Currently
I am using SpringStepsFactory to load the steps with a spring beans in
spite using the InstanceSteps
Factory which is why I am kind of stuck to add SeleniumScreenshotOnFailure to
the StepsFactory as it
has been used in the trader example here :
https://github.com/jbehave/jbehave-web/blob/master/examples/trader-runner-selenium/src/main/java/org/jbehave/web/examples/trader/selenium/TraderWebStories.java

Now, I need a way to achieve this through my SpringStepsFactory in order to
add this class to step list
for having the failure screen shots generated after a scenario failure.

Thanks,
Bhuvnesh

Reply via email to