<?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 for WatirMelon</title>
	<atom:link href="http://watirmelon.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://watirmelon.com</link>
	<description>A 93% Watir Based Blog by Alister Scott</description>
	<lastBuildDate>Wed, 22 Feb 2012 14:36:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Visualising software quality: using ink by Phil Kirkham</title>
		<link>http://watirmelon.com/2012/02/22/visualising-software-quality-using-ink/#comment-3773</link>
		<dc:creator><![CDATA[Phil Kirkham]]></dc:creator>
		<pubDate>Wed, 22 Feb 2012 14:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://watirmelon.com/?p=1216#comment-3773</guid>
		<description><![CDATA[Simple - but effective ! You might be onto something with this idea]]></description>
		<content:encoded><![CDATA[<p>Simple &#8211; but effective ! You might be onto something with this idea</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Death to xpath (and css) selectors in automated tests by Alister Scott</title>
		<link>http://watirmelon.com/2011/08/09/death-to-xpath-and-css-selectors-in-automated-tests/#comment-3769</link>
		<dc:creator><![CDATA[Alister Scott]]></dc:creator>
		<pubDate>Tue, 21 Feb 2012 23:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://watirmelon.com/?p=1043#comment-3769</guid>
		<description><![CDATA[Depends whether you care that they&#039;re in the div or not.]]></description>
		<content:encoded><![CDATA[<p>Depends whether you care that they&#8217;re in the div or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Death to xpath (and css) selectors in automated tests by Jonathan Cole</title>
		<link>http://watirmelon.com/2011/08/09/death-to-xpath-and-css-selectors-in-automated-tests/#comment-3768</link>
		<dc:creator><![CDATA[Jonathan Cole]]></dc:creator>
		<pubDate>Mon, 20 Feb 2012 23:36:21 +0000</pubDate>
		<guid isPermaLink="false">http://watirmelon.com/?p=1043#comment-3768</guid>
		<description><![CDATA[Stick with XPath when you need to travel up the DOM. If you are concerned with speed, make sure you include this step after starting selenium:

selenium.useXpathLibrary(&quot;javascript-xpath&quot;);]]></description>
		<content:encoded><![CDATA[<p>Stick with XPath when you need to travel up the DOM. If you are concerned with speed, make sure you include this step after starting selenium:</p>
<p>selenium.useXpathLibrary(&#8220;javascript-xpath&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Death to xpath (and css) selectors in automated tests by chuckvdl</title>
		<link>http://watirmelon.com/2011/08/09/death-to-xpath-and-css-selectors-in-automated-tests/#comment-3765</link>
		<dc:creator><![CDATA[chuckvdl]]></dc:creator>
		<pubDate>Sun, 19 Feb 2012 07:39:10 +0000</pubDate>
		<guid isPermaLink="false">http://watirmelon.com/?p=1043#comment-3765</guid>
		<description><![CDATA[This sort of change would require updating scripts in any case where that div was part of the &#039;path&#039; used to identify objects.  It&#039;s more often the case the way I&#039;ve seen xpath most often used, but it would also happen if you are defining a more explicit path using watir-webdriver.   

Using a abstraction layer pattern such as Page Objects can simplify this a lot by creating a central place where you identify objects and give them a more friendly name that is then used elsewhere in your scripts.  Then you have one place to make such changes when devs rename things, which makes updating scripts a lot easier.]]></description>
		<content:encoded><![CDATA[<p>This sort of change would require updating scripts in any case where that div was part of the &#8216;path&#8217; used to identify objects.  It&#8217;s more often the case the way I&#8217;ve seen xpath most often used, but it would also happen if you are defining a more explicit path using watir-webdriver.   </p>
<p>Using a abstraction layer pattern such as Page Objects can simplify this a lot by creating a central place where you identify objects and give them a more friendly name that is then used elsewhere in your scripts.  Then you have one place to make such changes when devs rename things, which makes updating scripts a lot easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Death to xpath (and css) selectors in automated tests by Olya</title>
		<link>http://watirmelon.com/2011/08/09/death-to-xpath-and-css-selectors-in-automated-tests/#comment-3763</link>
		<dc:creator><![CDATA[Olya]]></dc:creator>
		<pubDate>Fri, 17 Feb 2012 14:36:06 +0000</pubDate>
		<guid isPermaLink="false">http://watirmelon.com/?p=1043#comment-3763</guid>
		<description><![CDATA[Hello!
Please give me advice, I&#039;m a beginner in Selenium WebDriver and I used Selenium IDE before. And I have a lot of XPath selectors in my tests, but I have no idea of how to change some of them not using XPath, for example I have a table with checkboxes in the first column and IDs in the 3rd column and I need to click a checkbox in a row with &#039;required_ID&#039; in the 3rd cell and this is how I do this with XPath:
 
//tbody[2]/tr[td[3]/a=&#039;required_ID&#039;]/td/center/input

How should I make this condition without XPath, just give me a hint. Thanks.]]></description>
		<content:encoded><![CDATA[<p>Hello!<br />
Please give me advice, I&#8217;m a beginner in Selenium WebDriver and I used Selenium IDE before. And I have a lot of XPath selectors in my tests, but I have no idea of how to change some of them not using XPath, for example I have a table with checkboxes in the first column and IDs in the 3rd column and I need to click a checkbox in a row with &#8216;required_ID&#8217; in the 3rd cell and this is how I do this with XPath:</p>
<p>//tbody[2]/tr[td[3]/a=&#8217;required_ID&#8217;]/td/center/input</p>
<p>How should I make this condition without XPath, just give me a hint. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Death to xpath (and css) selectors in automated tests by Alister Scott</title>
		<link>http://watirmelon.com/2011/08/09/death-to-xpath-and-css-selectors-in-automated-tests/#comment-3762</link>
		<dc:creator><![CDATA[Alister Scott]]></dc:creator>
		<pubDate>Fri, 17 Feb 2012 05:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://watirmelon.com/?p=1043#comment-3762</guid>
		<description><![CDATA[I posted a response at Stack Overflow: http://stackoverflow.com/questions/9319833/recursively-loop-through-frames-to-find-an-element-in-watir-webdriver-works-in]]></description>
		<content:encoded><![CDATA[<p>I posted a response at Stack Overflow: <a href="http://stackoverflow.com/questions/9319833/recursively-loop-through-frames-to-find-an-element-in-watir-webdriver-works-in" rel="nofollow">http://stackoverflow.com/questions/9319833/recursively-loop-through-frames-to-find-an-element-in-watir-webdriver-works-in</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Death to xpath (and css) selectors in automated tests by Ryan C.</title>
		<link>http://watirmelon.com/2011/08/09/death-to-xpath-and-css-selectors-in-automated-tests/#comment-3761</link>
		<dc:creator><![CDATA[Ryan C.]]></dc:creator>
		<pubDate>Thu, 16 Feb 2012 23:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://watirmelon.com/?p=1043#comment-3761</guid>
		<description><![CDATA[Alister,

Thanks for this post - it really adds clarity as to why a person would select Watir-WebDriver over Ruby&#039;s Selenium WebDriver.

I&#039;m running into a problem, which I&#039;ve posted here at StackOverflow:
http://stackoverflow.com/questions/9319833/recursively-loop-through-frames-to-find-an-element-in-watir-webdriver-works-in

It seems like it&#039;s kind of in the same &#039;vein&#039; as some of the issues you highlighted here, albeit loosely. Do you have any insights?]]></description>
		<content:encoded><![CDATA[<p>Alister,</p>
<p>Thanks for this post &#8211; it really adds clarity as to why a person would select Watir-WebDriver over Ruby&#8217;s Selenium WebDriver.</p>
<p>I&#8217;m running into a problem, which I&#8217;ve posted here at StackOverflow:<br />
<a href="http://stackoverflow.com/questions/9319833/recursively-loop-through-frames-to-find-an-element-in-watir-webdriver-works-in" rel="nofollow">http://stackoverflow.com/questions/9319833/recursively-loop-through-frames-to-find-an-element-in-watir-webdriver-works-in</a></p>
<p>It seems like it&#8217;s kind of in the same &#8216;vein&#8217; as some of the issues you highlighted here, albeit loosely. Do you have any insights?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Death to xpath (and css) selectors in automated tests by mingzhu (@mingzhu)</title>
		<link>http://watirmelon.com/2011/08/09/death-to-xpath-and-css-selectors-in-automated-tests/#comment-3759</link>
		<dc:creator><![CDATA[mingzhu (@mingzhu)]]></dc:creator>
		<pubDate>Thu, 16 Feb 2012 01:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://watirmelon.com/?p=1043#comment-3759</guid>
		<description><![CDATA[Imagine we have
a div tag with id=&quot;user-nav&quot;, which contains
a lot of inputs and links and text under the div.]]></description>
		<content:encoded><![CDATA[<p>Imagine we have<br />
a div tag with id=&#8221;user-nav&#8221;, which contains<br />
a lot of inputs and links and text under the div.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Death to xpath (and css) selectors in automated tests by mingzhu (@mingzhu)</title>
		<link>http://watirmelon.com/2011/08/09/death-to-xpath-and-css-selectors-in-automated-tests/#comment-3758</link>
		<dc:creator><![CDATA[mingzhu (@mingzhu)]]></dc:creator>
		<pubDate>Thu, 16 Feb 2012 01:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://watirmelon.com/?p=1043#comment-3758</guid>
		<description><![CDATA[Need some special tag to display the code:
&lt;code&gt;

...
&lt;/div
&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>Need some special tag to display the code:<br />
<code></p>
<p>...<br />
&lt;/div<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Death to xpath (and css) selectors in automated tests by mingzhu (@mingzhu)</title>
		<link>http://watirmelon.com/2011/08/09/death-to-xpath-and-css-selectors-in-automated-tests/#comment-3757</link>
		<dc:creator><![CDATA[mingzhu (@mingzhu)]]></dc:creator>
		<pubDate>Thu, 16 Feb 2012 01:44:22 +0000</pubDate>
		<guid isPermaLink="false">http://watirmelon.com/?p=1043#comment-3757</guid>
		<description><![CDATA[Hi Alister,

Thanks for the excellent article. It&#039;s indeed very neat. However, I would question the flexibility.

Imagine we have 
.....
and there a lot of inputs and links and text under the div.

If later the code implements a new interface, so we have &quot;user-nav&quot; changed into &quot;menu-nav&quot;. As in automated testing, we then need to go through all of our automation code and find any thing uses menu-nav and change that into user-nav. This would be so troublesome when it&#039;s in transition phase, where some page is using new interface (&quot;menu-nav&quot;) and old interface (&quot;user-nav&quot;).

Cheers,
Ming]]></description>
		<content:encoded><![CDATA[<p>Hi Alister,</p>
<p>Thanks for the excellent article. It&#8217;s indeed very neat. However, I would question the flexibility.</p>
<p>Imagine we have<br />
&#8230;..<br />
and there a lot of inputs and links and text under the div.</p>
<p>If later the code implements a new interface, so we have &#8220;user-nav&#8221; changed into &#8220;menu-nav&#8221;. As in automated testing, we then need to go through all of our automation code and find any thing uses menu-nav and change that into user-nav. This would be so troublesome when it&#8217;s in transition phase, where some page is using new interface (&#8220;menu-nav&#8221;) and old interface (&#8220;user-nav&#8221;).</p>
<p>Cheers,<br />
Ming</p>
]]></content:encoded>
	</item>
</channel>
</rss>

