Forum: RSpec [Cucumber] Webrat / Watir - generating page images

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
918fec3ccefc8da359c12b0a8cf65f36?d=identicon&s=25 Arco (Guest)
on 2009-02-26 15:53
(Received via mailing list)
I am using Cucumber with Webrat/Watir/Celerity for UI testing.

I would like to generate an error report which shows the page image
for each failed test.

I believe I have read about this being done, but now I can't find any
info online.

Can someone please point me in the right direction??

Thanks in advance!!
3399cbfb9e5fec93c324789b29309911?d=identicon&s=25 Pat Nakajima (patnakajima)
on 2009-02-26 18:27
(Received via mailing list)
Here's the step I use for taking screenshots:
https://gist.github.com/dff2a429afff1c212416.
3399cbfb9e5fec93c324789b29309911?d=identicon&s=25 Pat Nakajima (patnakajima)
on 2009-02-26 18:57
(Received via mailing list)
(I extracted the method in the Gist, so it may be a bit off)
This topic is locked and can not be replied to.