<?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: Q. How do I add a generic script timeout?</title>
	<atom:link href="http://justaddwatir.com/2008/q-how-do-i-add-a-generic-script-timeout/feed/" rel="self" type="application/rss+xml" />
	<link>http://justaddwatir.com/2008/q-how-do-i-add-a-generic-script-timeout/</link>
	<description>Advanced recipes for Watir</description>
	<lastBuildDate>Sun, 01 Nov 2009 02:36:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Surbhi</title>
		<link>http://justaddwatir.com/2008/q-how-do-i-add-a-generic-script-timeout/comment-page-1/#comment-3</link>
		<dc:creator>Surbhi</dc:creator>
		<pubDate>Tue, 06 Jan 2009 10:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=14#comment-3</guid>
		<description>Hi,

My question is, how do i set a generic timeout at any point of my script. For e.g. any place where teh browser takes more than 30 seconds to respond, the script should abort and it should give some message.
I am facing such problem that I have given some wait_untill calls to work with ajax calls. Now sometimes it so happens that the browser just goes on and on, due to the web site&#039;s performance. In such a case the script waits too long, and the overall run time for all the scripts increases painfully. Please suggest</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>My question is, how do i set a generic timeout at any point of my script. For e.g. any place where teh browser takes more than 30 seconds to respond, the script should abort and it should give some message.<br />
I am facing such problem that I have given some wait_untill calls to work with ajax calls. Now sometimes it so happens that the browser just goes on and on, due to the web site&#8217;s performance. In such a case the script waits too long, and the overall run time for all the scripts increases painfully. Please suggest</p>
]]></content:encoded>
	</item>
</channel>
</rss>
