Doesn&#39;t&nbsp;Selenium&nbsp;already do that?<br>Mine takes screenshots on failure.<br><div><br><div class="gmail_quote">On Tue, Apr 8, 2008 at 6:25 AM, Bart Zonneveld &lt;<a href="mailto:loop@superinfinite.com">loop@superinfinite.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hey list,<br>
<br>
I&#39;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&#39;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>
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>
</blockquote></div><br></div>