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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Arco (Guest)
on 2009-02-26 16: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!!
Pat N. (Guest)
on 2009-02-26 19:27
(Received via mailing list)
Here's the step I use for taking screenshots:
Pat N. (Guest)
on 2009-02-26 19: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.