[rspec-users] [cucumber] screenshot upon exception

aslak hellesoy aslak.hellesoy at gmail.com
Mon Dec 22 16:00:12 EST 2008

On Mon, Dec 22, 2008 at 9:46 PM, aidy lewis <aidy.lewis at googlemail.com>wrote:

> Hi,
> I am using Cucumber in combination with tests that drive the actual
> browser.
> Is there a place where I can easily trap an exception and take a
> screenshot of the browser?


Use AfterStep. Currently there is no easy way for the AfterStep block to
figure out whether a step failed or not though.
Existing tix:



> Regards
> Aidy
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081222/d3c240d0/attachment.html>

More information about the rspec-users mailing list