<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: About</title>
	<atom:link href="http://watirmelon.com/about/feed/" rel="self" type="application/rss+xml" />
	<link>http://watirmelon.com</link>
	<description>A 93% Watir Based Blog by Alister Scott</description>
	<lastBuildDate>Tue, 07 Feb 2012 04:55:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Alister Scott</title>
		<link>http://watirmelon.com/about/#comment-3696</link>
		<dc:creator><![CDATA[Alister Scott]]></dc:creator>
		<pubDate>Sun, 22 Jan 2012 08:44:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-3696</guid>
		<description><![CDATA[It is meant to wait until the browser is ready, but ajax calls can through that out.
So, I&#039;d try one of the &#039;wait&#039; methods available on this page: http://watirwebdriver.com/waiting/ to wait for a known element to appear.
I&#039;m not sure what your checkhtml method does, but you shouldn&#039;t need to use the html, you should be able to assert something in the DOM.]]></description>
		<content:encoded><![CDATA[<p>It is meant to wait until the browser is ready, but ajax calls can through that out.<br />
So, I&#8217;d try one of the &#8216;wait&#8217; methods available on this page: <a href="http://watirwebdriver.com/waiting/" rel="nofollow">http://watirwebdriver.com/waiting/</a> to wait for a known element to appear.<br />
I&#8217;m not sure what your checkhtml method does, but you shouldn&#8217;t need to use the html, you should be able to assert something in the DOM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://watirmelon.com/about/#comment-3691</link>
		<dc:creator><![CDATA[Derek]]></dc:creator>
		<pubDate>Fri, 20 Jan 2012 15:41:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-3691</guid>
		<description><![CDATA[I&#039;m sorry, just saw this bit...  I&#039;ll try and figure it out.

&quot;Please don’t ask me Watir support questions on this page or this blog. Use the Watir community mailing list or Stack Overflow please.&quot;

Thanks again.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry, just saw this bit&#8230;  I&#8217;ll try and figure it out.</p>
<p>&#8220;Please don’t ask me Watir support questions on this page or this blog. Use the Watir community mailing list or Stack Overflow please.&#8221;</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://watirmelon.com/about/#comment-3690</link>
		<dc:creator><![CDATA[Derek]]></dc:creator>
		<pubDate>Fri, 20 Jan 2012 15:39:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-3690</guid>
		<description><![CDATA[Thanks so much for your blog, it&#039;s saved me many hours already.  I&#039;m looking into using a combination of watir and jenkins to run frontend tests for several of our applications.  We currently use an ancient version of sitescope that doesn&#039;t support javascript or any newer web techs.  

I&#039;ve never touched Ruby before this, so it&#039;s been a learning experience.

Hoping maybe you might know off the top of your head what might be the issue here?  Out of 10 servers, half of them (sometimes less, sometimes more) will fail looking for ajax driven results in a page.   Taking a screenshot after the failures shows the missing data.  To &quot;fix&quot; the issue, I find myself having to do this:

                        browser.text_field(:name, &quot;SearchField&quot;).set &quot;66852694&quot;
                        browser.button(:name, &quot;submit&quot;).click
                        sleep 1
                        checkhtml(mynode,&quot;Search&quot;,&quot;#{browser.html}&quot;,&quot;(Account Info)&quot;)

Putting a sleep in there before I run my checkhtml subroutine seems to be the fix.  But, I &quot;thought&quot; using a click was supposed to cause watir to wait until the page finished loading?
Hate having to add a sleep after every click, some of our apps use 100+ webservers, so this will add quite a bit of time to a 10 step test.

I&#039;m passing the browser.html like that because on some pages, the text I&#039;m looking for might be in a different frame and I hadn&#039;t figured out how to handle that yet.

Thanks again for a great blog.

In case it makes a diff, what I&#039;m using:

require &#039;watir-webdriver&#039;
require &#039;headless&#039;
require &#039;rubygems&#039;
require &#039;thread&#039;
require &#039;fileutils&#039;

ruby 1.9.2p290
Red Hat Enterprise Linux Server release 5.4 (Tikanga)]]></description>
		<content:encoded><![CDATA[<p>Thanks so much for your blog, it&#8217;s saved me many hours already.  I&#8217;m looking into using a combination of watir and jenkins to run frontend tests for several of our applications.  We currently use an ancient version of sitescope that doesn&#8217;t support javascript or any newer web techs.  </p>
<p>I&#8217;ve never touched Ruby before this, so it&#8217;s been a learning experience.</p>
<p>Hoping maybe you might know off the top of your head what might be the issue here?  Out of 10 servers, half of them (sometimes less, sometimes more) will fail looking for ajax driven results in a page.   Taking a screenshot after the failures shows the missing data.  To &#8220;fix&#8221; the issue, I find myself having to do this:</p>
<p>                        browser.text_field(:name, &#8220;SearchField&#8221;).set &#8220;66852694&#8243;<br />
                        browser.button(:name, &#8220;submit&#8221;).click<br />
                        sleep 1<br />
                        checkhtml(mynode,&#8221;Search&#8221;,&#8221;#{browser.html}&#8221;,&#8221;(Account Info)&#8221;)</p>
<p>Putting a sleep in there before I run my checkhtml subroutine seems to be the fix.  But, I &#8220;thought&#8221; using a click was supposed to cause watir to wait until the page finished loading?<br />
Hate having to add a sleep after every click, some of our apps use 100+ webservers, so this will add quite a bit of time to a 10 step test.</p>
<p>I&#8217;m passing the browser.html like that because on some pages, the text I&#8217;m looking for might be in a different frame and I hadn&#8217;t figured out how to handle that yet.</p>
<p>Thanks again for a great blog.</p>
<p>In case it makes a diff, what I&#8217;m using:</p>
<p>require &#8216;watir-webdriver&#8217;<br />
require &#8216;headless&#8217;<br />
require &#8216;rubygems&#8217;<br />
require &#8216;thread&#8217;<br />
require &#8216;fileutils&#8217;</p>
<p>ruby 1.9.2p290<br />
Red Hat Enterprise Linux Server release 5.4 (Tikanga)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Emery</title>
		<link>http://watirmelon.com/about/#comment-3656</link>
		<dc:creator><![CDATA[Kevin Emery]]></dc:creator>
		<pubDate>Wed, 14 Dec 2011 22:39:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-3656</guid>
		<description><![CDATA[I find it interesting that you ask people not to post support questions to your blog, but you answer them anyway.  Regardless, you are a pillar of the Watir support community.  If you had a donations page, I would gladly contribute!]]></description>
		<content:encoded><![CDATA[<p>I find it interesting that you ask people not to post support questions to your blog, but you answer them anyway.  Regardless, you are a pillar of the Watir support community.  If you had a donations page, I would gladly contribute!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alister Scott</title>
		<link>http://watirmelon.com/about/#comment-3615</link>
		<dc:creator><![CDATA[Alister Scott]]></dc:creator>
		<pubDate>Fri, 25 Nov 2011 00:46:09 +0000</pubDate>
		<guid isPermaLink="false">#comment-3615</guid>
		<description><![CDATA[Please ask on the Watir mailing list: https://groups.google.com/forum/#!forum/watir-general or StackOverflow for a prompt response]]></description>
		<content:encoded><![CDATA[<p>Please ask on the Watir mailing list: <a href="https://groups.google.com/forum/#!forum/watir-general" rel="nofollow">https://groups.google.com/forum/#!forum/watir-general</a> or StackOverflow for a prompt response</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Azher Hussain</title>
		<link>http://watirmelon.com/about/#comment-3604</link>
		<dc:creator><![CDATA[Azher Hussain]]></dc:creator>
		<pubDate>Wed, 16 Nov 2011 11:22:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-3604</guid>
		<description><![CDATA[I am trying to automate a slider using watir-webdriver and ruby but am having no luck. I want to be able to manipulate the slider to either increase or decrease the value. I have searched everywhere and asked a few of my colleagues but no one has an answer. I am attaching a piece of HTML code for the slider. Any help would be much appreciated. 

&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;

Azher Hussain
azherjh@gmail.com]]></description>
		<content:encoded><![CDATA[<p>I am trying to automate a slider using watir-webdriver and ruby but am having no luck. I want to be able to manipulate the slider to either increase or decrease the value. I have searched everywhere and asked a few of my colleagues but no one has an answer. I am attaching a piece of HTML code for the slider. Any help would be much appreciated. </p>
<p><a href="#" rel="nofollow"></a></p>
<p>Azher Hussain<br />
<a href="mailto:azherjh@gmail.com">azherjh@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alister Scott</title>
		<link>http://watirmelon.com/about/#comment-3158</link>
		<dc:creator><![CDATA[Alister Scott]]></dc:creator>
		<pubDate>Tue, 19 Jul 2011 04:59:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-3158</guid>
		<description><![CDATA[You need to use something like this:
&lt;code&gt;browser.send_keys :return&lt;/code&gt;
Full list of codes available &lt;a href=&quot;http://code.google.com/p/selenium/source/browse/trunk/rb/lib/selenium/webdriver/common/keys.rb&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>You need to use something like this:<br />
<code>browser.send_keys :return</code><br />
Full list of codes available <a href="http://code.google.com/p/selenium/source/browse/trunk/rb/lib/selenium/webdriver/common/keys.rb" rel="nofollow">here</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simha</title>
		<link>http://watirmelon.com/about/#comment-3139</link>
		<dc:creator><![CDATA[Simha]]></dc:creator>
		<pubDate>Mon, 11 Jul 2011 08:43:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-3139</guid>
		<description><![CDATA[I am using watir for automated testing of an application. In my application i want  to use send keys option.I tried in various ways of giving send keys but its not working. Instead of send key its typing the Key spelling in text box. Note : - I am using firefox browser and using ubuntu 10.04 os for testing. Is this the reason for the failure of Send_keys.I am attaching an example that i used kindly reply.

require &quot;rubygems&quot;
require &quot;watir-webdriver&quot;
browser = Watir::Browser.new :ff
browser.goto(&quot;http://www.google.co.in&quot;)
browser.text_field(:name, &quot;q&quot;).set &quot;watir&quot;
browser.send_keys (&quot;{ENTER}&quot;)


Narasimha Aluru
aluru.simha@gmail.com]]></description>
		<content:encoded><![CDATA[<p>I am using watir for automated testing of an application. In my application i want  to use send keys option.I tried in various ways of giving send keys but its not working. Instead of send key its typing the Key spelling in text box. Note : &#8211; I am using firefox browser and using ubuntu 10.04 os for testing. Is this the reason for the failure of Send_keys.I am attaching an example that i used kindly reply.</p>
<p>require &#8220;rubygems&#8221;<br />
require &#8220;watir-webdriver&#8221;<br />
browser = Watir::Browser.new :ff<br />
browser.goto(&#8220;http://www.google.co.in&#8221;)<br />
browser.text_field(:name, &#8220;q&#8221;).set &#8220;watir&#8221;<br />
browser.send_keys (&#8220;{ENTER}&#8221;)</p>
<p>Narasimha Aluru<br />
<a href="mailto:aluru.simha@gmail.com">aluru.simha@gmail.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

