If you're using mac os x, you could give <a href="http://mosquito.the.tool.googlepages.com">http://mosquito.the.tool.googlepages.com</a> a try.<br><br><div class="gmail_quote">On Tue, Apr 8, 2008 at 9:27 PM, David Chelimsky <<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Tue, Apr 8, 2008 at 6:29 AM, Andrew WC Brown <<a href="mailto:omen.king@gmail.com">omen.king@gmail.com</a>> wrote:<br>
<br>
> On Tue, Apr 8, 2008 at 6:25 AM, Bart Zonneveld <<a href="mailto:loop@superinfinite.com">loop@superinfinite.com</a>><br>
> wrote:<br>
><br>
> > Hey list,<br>
> ><br>
> > I'm currently playing with the selenium acceptance test-thingies, and<br>
> > I want to build something that saves a screenshot when a test fails.<br>
> > However, I have no clue whatsoever where to implement this. I'm<br>
> > thinking it should be along the line of:<br>
> > - apply a general after_each, in which we<br>
> > - check whether we were using selenium (no idea how yet), and<br>
> > - if an error occured, take a screenshot, and save it somewhere<br>
> ><br>
> > Any ideas?<br>
> > thanks a bunch,<br>
> > bartz<br>
<br>
> Doesn't Selenium already do that?<br>
> Mine takes screenshots on failure.<br>
<br>
</div>Selenium does support this but I don't think it's automatic. spec_ui<br>
(part of rspec-exts at rubyforge) automates this, but it's quite dated<br>
and doesn't work w/ the current rspec. I know Aslak has something<br>
working with WATIR and the current RSpec, but has yet to open source<br>
it.<br>
<br>
All this to say that we will be supporting this, likely in an updated<br>
spec_ui. Just a matter of when.<br>
<br>
Cheers,<br>
<font color="#888888">David<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
rspec-users mailing list<br>
<a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>
</div></div></blockquote></div><br>