<?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: What to do in a Watir test if you don&#8217;t have a unique id</title>
	<atom:link href="http://jimhmatthews.wordpress.com/2008/01/21/what-to-do-in-a-watir-test-if-you-dont-have-a-unique-id/feed/" rel="self" type="application/rss+xml" />
	<link>http://jimhmatthews.wordpress.com/2008/01/21/what-to-do-in-a-watir-test-if-you-dont-have-a-unique-id/</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: 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>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>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>
</channel>
</rss>
