<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to check for errors on every page using Watir</title>
	<atom:link href="http://www.natontesting.com/2009/08/19/how-to-check-for-errors-on-every-page-using-watir/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.natontesting.com/2009/08/19/how-to-check-for-errors-on-every-page-using-watir/</link>
	<description>nathaniel ritmeyer&#039;s thoughts on automated software testing</description>
	<lastBuildDate>Thu, 19 Jan 2012 15:37:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Robbie Wareham</title>
		<link>http://www.natontesting.com/2009/08/19/how-to-check-for-errors-on-every-page-using-watir/comment-page-1/#comment-323</link>
		<dc:creator>Robbie Wareham</dc:creator>
		<pubDate>Tue, 06 Apr 2010 16:59:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.natontesting.com/?p=287#comment-323</guid>
		<description>&quot;add_checker&quot; runs a lot more regularly than just page load.  I discovered this when using &quot;add_checker&quot; to keep a copy of the previous page html to report on failure (when investigating a failure, the previous page is often more useful than a screenshot of the page where the error occured, infact errors dismissed as flakey testing turned out to be caching issues because we had the html of the previous page to refer to). The &quot;previous&quot; html was continually a copy of the &quot;current&quot; html, and it was then that I discovered that a lot of events trigger add_checkers. 

Also, add_checker can easily miss page loads as well.  Again while investigating &quot;flakey&quot; tests, I saw that when the application navigated from page A to page C via a quick visit to page B, occasionally add_checker failed to run on page B.  Unfortunately the add_checker running on page B was crucial to test reliability!

Anyway, these are my observations on add_checker, and you&#039;ll be pleased know that test reliability is much improved now that I fully understand add_checker.</description>
		<content:encoded><![CDATA[<p>&#8220;add_checker&#8221; runs a lot more regularly than just page load.  I discovered this when using &#8220;add_checker&#8221; to keep a copy of the previous page html to report on failure (when investigating a failure, the previous page is often more useful than a screenshot of the page where the error occured, infact errors dismissed as flakey testing turned out to be caching issues because we had the html of the previous page to refer to). The &#8220;previous&#8221; html was continually a copy of the &#8220;current&#8221; html, and it was then that I discovered that a lot of events trigger add_checkers. </p>
<p>Also, add_checker can easily miss page loads as well.  Again while investigating &#8220;flakey&#8221; tests, I saw that when the application navigated from page A to page C via a quick visit to page B, occasionally add_checker failed to run on page B.  Unfortunately the add_checker running on page B was crucial to test reliability!</p>
<p>Anyway, these are my observations on add_checker, and you&#8217;ll be pleased know that test reliability is much improved now that I fully understand add_checker.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

