Doesn't Selenium already do that? Mine takes screenshots on failure. On Tue, Apr 8, 2008 at 6:25 AM, Bart Zonneveld <[EMAIL PROTECTED]> wrote:
> 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 > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
