<?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: How to start writing web test scripts with Ruby and Watir</title>
	<atom:link href="http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/feed/" rel="self" type="application/rss+xml" />
	<link>http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/</link>
	<description>Automated Software Testing using Ruby, Watir, and others.</description>
	<lastBuildDate>Mon, 01 Dec 2008 02:57:17 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jimhmatthews</title>
		<link>http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-65</link>
		<dc:creator>jimhmatthews</dc:creator>
		<pubDate>Mon, 01 Dec 2008 02:57:17 +0000</pubDate>
		<guid isPermaLink="false">http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-65</guid>
		<description>You need to make the following changes:

Change    require ‘test/unit’   to   require &#039;watir/testcase&#039;

Change    module NewTest   to  class NewTest &lt; Watir::TestCase

and add test_ to def asserttest

so the final test looks like:

------------------------------------------------------------
require &#039;watir&#039;
require &#039;watir/testcase&#039;

class NewTest &lt; Watir::TestCase
def test_asserttest

puts &quot;\n Hello testing assert through module&quot;

assert(1 ==1,&quot;failed assertion&quot;)

puts &#039;assert succeeded&#039;

end

end
--------------------------------------------------------

I suggest you look at the watir-general google group.

A lot of questions have already been answered there.

http://groups.google.com/group/watir-general

Jim</description>
		<content:encoded><![CDATA[<p>You need to make the following changes:</p>
<p>Change    require ‘test/unit’   to   require &#8216;watir/testcase&#8217;</p>
<p>Change    module NewTest   to  class NewTest &lt; Watir::TestCase</p>
<p>and add test_ to def asserttest</p>
<p>so the final test looks like:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
require &#8216;watir&#8217;<br />
require &#8216;watir/testcase&#8217;</p>
<p>class NewTest &lt; Watir::TestCase<br />
def test_asserttest</p>
<p>puts &#8220;\n Hello testing assert through module&#8221;</p>
<p>assert(1 ==1,&#8221;failed assertion&#8221;)</p>
<p>puts &#8216;assert succeeded&#8217;</p>
<p>end</p>
<p>end<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>I suggest you look at the watir-general google group.</p>
<p>A lot of questions have already been answered there.</p>
<p><a href="http://groups.google.com/group/watir-general" rel="nofollow">http://groups.google.com/group/watir-general</a></p>
<p>Jim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Natasha Ranney</title>
		<link>http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-64</link>
		<dc:creator>Natasha Ranney</dc:creator>
		<pubDate>Fri, 28 Nov 2008 11:09:50 +0000</pubDate>
		<guid isPermaLink="false">http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-64</guid>
		<description>Hi,

This is a very useful article. I have already started modularizing my watir tests. 

I was intermittently testing the integration as well. Then I went ahead and created 7-8 modules. Now when I integrated my individual test script with all these modules, its suddenly failing. I really need help as I am a beginner in Ruby and no one in my company has tried it out.

Please could you help me.

Basically If the following statement in my module method fails saying that its not recognizing assert method:
assert(1 ==1,&quot;failed assertion&quot;)

I have added the following require statements to the start of my module:

------------------------------------------------------------------------
require &#039;watir&#039;
require &#039;test/unit&#039;

module NewTest

def asserttest

puts &quot;\n Hello testing assert through module&quot;

assert(1 ==1,&quot;failed assertion&quot;)

puts &#039;assert succeeded&#039;

end

end
--------------------------------------------------------

Thanks,
Natasha</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This is a very useful article. I have already started modularizing my watir tests. </p>
<p>I was intermittently testing the integration as well. Then I went ahead and created 7-8 modules. Now when I integrated my individual test script with all these modules, its suddenly failing. I really need help as I am a beginner in Ruby and no one in my company has tried it out.</p>
<p>Please could you help me.</p>
<p>Basically If the following statement in my module method fails saying that its not recognizing assert method:<br />
assert(1 ==1,&#8221;failed assertion&#8221;)</p>
<p>I have added the following require statements to the start of my module:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
require &#8216;watir&#8217;<br />
require &#8216;test/unit&#8217;</p>
<p>module NewTest</p>
<p>def asserttest</p>
<p>puts &#8220;\n Hello testing assert through module&#8221;</p>
<p>assert(1 ==1,&#8221;failed assertion&#8221;)</p>
<p>puts &#8216;assert succeeded&#8217;</p>
<p>end</p>
<p>end<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Thanks,<br />
Natasha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: omer</title>
		<link>http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-63</link>
		<dc:creator>omer</dc:creator>
		<pubDate>Wed, 05 Nov 2008 18:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-63</guid>
		<description>Wow, this is an excellant tutorial for beginner like me ..thank you</description>
		<content:encoded><![CDATA[<p>Wow, this is an excellant tutorial for beginner like me ..thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lord Jim is blogging about Test Automation - Jeremy D. Miller -- The Shade Tree Developer</title>
		<link>http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-47</link>
		<dc:creator>Lord Jim is blogging about Test Automation - Jeremy D. Miller -- The Shade Tree Developer</dc:creator>
		<pubDate>Tue, 22 Jan 2008 15:26:30 +0000</pubDate>
		<guid isPermaLink="false">http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-47</guid>
		<description>[...] has started a new blog at http://jimhmatthews.wordpress.com.&#160; The first post up is:&#160; How to start writing web test scripts with Ruby and&#160;Watir.&#160; Jim was the tester on my previous team in Austin when we were pushing (and finding) the [...]</description>
		<content:encoded><![CDATA[<p>[...] has started a new blog at <a href="http://jimhmatthews.wordpress.com.&#038;nbsp" rel="nofollow">http://jimhmatthews.wordpress.com.&#038;nbsp</a>; The first post up is:&nbsp; How to start writing web test scripts with Ruby and&nbsp;Watir.&nbsp; Jim was the tester on my previous team in Austin when we were pushing (and finding) the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Do yourself a favor (use id&#8217;s for Watir testing) &#171; Jim Matthews - Testing the Limits</title>
		<link>http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-29</link>
		<dc:creator>Do yourself a favor (use id&#8217;s for Watir testing) &#171; Jim Matthews - Testing the Limits</dc:creator>
		<pubDate>Thu, 10 Jan 2008 03:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-29</guid>
		<description>[...] you look back at my blog post How to start writing web test scripts with Ruby and Watir, http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-wat..., you will notice that I had text_fields, ie.text_field(:id, &#8220;billing_name&#8221;) and a [...]</description>
		<content:encoded><![CDATA[<p>[...] you look back at my blog post How to start writing web test scripts with Ruby and Watir, <a href="http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-wat..." rel="nofollow">http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-wat&#8230;</a>, you will notice that I had text_fields, ie.text_field(:id, &#8220;billing_name&#8221;) and a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jimhmatthews</title>
		<link>http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-3</link>
		<dc:creator>jimhmatthews</dc:creator>
		<pubDate>Wed, 14 Nov 2007 05:25:03 +0000</pubDate>
		<guid isPermaLink="false">http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-3</guid>
		<description>Željko is absolutely right.  That was my mistake and why I keep referring you to the documentation for Watir and Ruby.

I have edited the blog so you will only find &quot;radio&quot; and not &quot;radiobutton&quot; in case someone just reads the blog without the comments.

Thank you Željko,

Jim</description>
		<content:encoded><![CDATA[<p>Željko is absolutely right.  That was my mistake and why I keep referring you to the documentation for Watir and Ruby.</p>
<p>I have edited the blog so you will only find &#8220;radio&#8221; and not &#8220;radiobutton&#8221; in case someone just reads the blog without the comments.</p>
<p>Thank you Željko,</p>
<p>Jim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Željko</title>
		<link>http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-2</link>
		<dc:creator>Željko</dc:creator>
		<pubDate>Thu, 08 Nov 2007 12:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://jimhmatthews.wordpress.com/2007/10/28/how-to-start-writing-web-test-scripts-with-ruby-and-watir/#comment-2</guid>
		<description>Hi Jim,

There is a minor mistake. Watir refers to a radio button as a &quot;radio&quot; , not &quot;radiobutton&quot;.</description>
		<content:encoded><![CDATA[<p>Hi Jim,</p>
<p>There is a minor mistake. Watir refers to a radio button as a &#8220;radio&#8221; , not &#8220;radiobutton&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
