<?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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Jim Matthews - Testing the Limits</title>
	<atom:link href="http://jimhmatthews.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jimhmatthews.wordpress.com</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>Comment on How to start writing web test scripts with Ruby and Watir 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>Comment on How to start writing web test scripts with Ruby and Watir 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>Comment on How to start writing web test scripts with Ruby and Watir 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>Comment on What to do in a Watir test if you don&#8217;t have a unique id by Jon</title>
		<link>http://jimhmatthews.wordpress.com/2008/01/21/what-to-do-in-a-watir-test-if-you-dont-have-a-unique-id/#comment-57</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 09 Apr 2008 23:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://jimhmatthews.wordpress.com/2008/01/21/what-to-do-in-a-watir-test-if-you-dont-have-a-unique-id/#comment-57</guid>
		<description>I just ran into the same issue using WatiN C#  on a page that has 2 anchor links with the same name=&quot;0&quot; id and I needed to retrieve the second one.  im still working on getting it to work but this article helps me because it validates that other people have had this issue.</description>
		<content:encoded><![CDATA[<p>I just ran into the same issue using WatiN C#  on a page that has 2 anchor links with the same name=&#8221;0&#8243; id and I needed to retrieve the second one.  im still working on getting it to work but this article helps me because it validates that other people have had this issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What to do in a Watir test if you don&#8217;t have a unique id by jimhmatthews</title>
		<link>http://jimhmatthews.wordpress.com/2008/01/21/what-to-do-in-a-watir-test-if-you-dont-have-a-unique-id/#comment-50</link>
		<dc:creator>jimhmatthews</dc:creator>
		<pubDate>Sun, 03 Feb 2008 01:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://jimhmatthews.wordpress.com/2008/01/21/what-to-do-in-a-watir-test-if-you-dont-have-a-unique-id/#comment-50</guid>
		<description>I am not sure what woodo code is.  I know the way to make the most resilient tests is to have unique ids on all the controls you use.

That said, I strongly believe in using whatever tools work best for a particular situation.  If this tool provides value, then use it.

Jim</description>
		<content:encoded><![CDATA[<p>I am not sure what woodo code is.  I know the way to make the most resilient tests is to have unique ids on all the controls you use.</p>
<p>That said, I strongly believe in using whatever tools work best for a particular situation.  If this tool provides value, then use it.</p>
<p>Jim</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What to do in a Watir test if you don&#8217;t have a unique id by ftorres</title>
		<link>http://jimhmatthews.wordpress.com/2008/01/21/what-to-do-in-a-watir-test-if-you-dont-have-a-unique-id/#comment-48</link>
		<dc:creator>ftorres</dc:creator>
		<pubDate>Sat, 26 Jan 2008 20:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://jimhmatthews.wordpress.com/2008/01/21/what-to-do-in-a-watir-test-if-you-dont-have-a-unique-id/#comment-48</guid>
		<description>When implementing functional web testing and the html controls have unique id or name attribute, you end up writing a lot of woodo code.

With InCisif.net we created something we call the &quot;HTML Control Naming Algorithm&quot; that will find what can be the best unique identifier at record time. 

This solve more cases but not all, then you can use the following
methods that can find any HTML control based on their tag, any attribute using regular expression. And it is not XPath.

        Page.ControlBy
        Page.ControlOfType
        Page.ElementsByTagName

These methods also support C# lambda expression so can write yourself the C# code that describe the HTML control you are looking for.

Frederic Torres
&lt;a href=&quot;http://www.InCisif.net&quot; rel=&quot;nofollow&quot;&gt;www.InCisif.net&lt;/a&gt;
Web Testing with C# or VB.NET</description>
		<content:encoded><![CDATA[<p>When implementing functional web testing and the html controls have unique id or name attribute, you end up writing a lot of woodo code.</p>
<p>With InCisif.net we created something we call the &#8220;HTML Control Naming Algorithm&#8221; that will find what can be the best unique identifier at record time. </p>
<p>This solve more cases but not all, then you can use the following<br />
methods that can find any HTML control based on their tag, any attribute using regular expression. And it is not XPath.</p>
<p>        Page.ControlBy<br />
        Page.ControlOfType<br />
        Page.ElementsByTagName</p>
<p>These methods also support C# lambda expression so can write yourself the C# code that describe the HTML control you are looking for.</p>
<p>Frederic Torres<br />
<a href="http://www.InCisif.net" rel="nofollow">http://www.InCisif.net</a><br />
Web Testing with C# or VB.NET</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to start writing web test scripts with Ruby and Watir 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>Comment on How to start writing web test scripts with Ruby and Watir 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>Comment on How to start writing web test scripts with Ruby and Watir 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>Comment on How to start writing web test scripts with Ruby and Watir 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>
