[rspec-users] rSpec, Selenium and screenshots

Andrew WC Brown omen.king at gmail.com
Tue Apr 8 06:29:39 EDT 2008

Doesn't Selenium already do that?
Mine takes screenshots on failure.

On Tue, Apr 8, 2008 at 6:25 AM, Bart Zonneveld <loop at superinfinite.com>

> Hey list,
> I'm currently playing with the selenium acceptance test-thingies, and
> I want to build something that saves a screenshot when a test fails.
> However, I have no clue whatsoever where to implement this. I'm
> thinking it should be along the line of:
> - apply a general after_each, in which we
> - check whether we were using selenium (no idea how yet), and
> - if an error occured, take a screenshot, and save it somewhere
> Any ideas?
> thanks a bunch,
> bartz
> _______________________________________________
> 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/20080408/c7853e23/attachment.html 

More information about the rspec-users mailing list