[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,
> rspec-users mailing list
> rspec-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users