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!!
on 2009-02-26 16:53
on 2009-02-26 19:27
Here's the step I use for taking screenshots: https://gist.github.com/dff2a429afff1c212416.
on 2009-02-26 19:57
(I extracted the method in the Gist, so it may be a bit off)