Arco
2009-Feb-26 03:49 UTC
[rspec-users] [Cucumber] Webrat / Watir - generating page images
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 Nakajima
2009-Feb-26 17:21 UTC
[rspec-users] [Cucumber] Webrat / Watir - generating page images
Here''s the step I use for taking screenshots: https://gist.github.com/dff2a429afff1c212416. On Wed, Feb 25, 2009 at 10:49 PM, Arco <akleak at gmail.com> wrote:> 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!! > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
Pat Nakajima
2009-Feb-26 17:25 UTC
[rspec-users] [Cucumber] Webrat / Watir - generating page images
(I extracted the method in the Gist, so it may be a bit off) On Thu, Feb 26, 2009 at 12:21 PM, Pat Nakajima <patnakajima at gmail.com> wrote:> Here''s the step I use for taking screenshots: > https://gist.github.com/dff2a429afff1c212416. > > On Wed, Feb 25, 2009 at 10:49 PM, Arco <akleak at gmail.com> wrote: >> 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!! >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> >