<?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/"
		>
<channel>
	<title>Comments on: Avoiding Brittle Element Selection with Selenium2</title>
	<atom:link href="http://www.rapaul.com/2010/07/18/avoiding-brittle-element-selection-with-selenium2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rapaul.com/2010/07/18/avoiding-brittle-element-selection-with-selenium2/</link>
	<description>A technical blog written by Richard Paul</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:12:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: A Smattering of Selenium #21 &#171; Official Selenium Blog</title>
		<link>http://www.rapaul.com/2010/07/18/avoiding-brittle-element-selection-with-selenium2/comment-page-1/#comment-1182</link>
		<dc:creator>A Smattering of Selenium #21 &#171; Official Selenium Blog</dc:creator>
		<pubDate>Mon, 26 Jul 2010 11:33:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapaul.com/?p=608#comment-1182</guid>
		<description>[...] Avoiding Brittle Element Selection with Selenium2 tackles a constant topic using Se2 &#8212; but it can be applied to Se1 as well     Leave a Comment [...]</description>
		<content:encoded><![CDATA[<p>[...] Avoiding Brittle Element Selection with Selenium2 tackles a constant topic using Se2 &#8212; but it can be applied to Se1 as well     Leave a Comment [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Paul</title>
		<link>http://www.rapaul.com/2010/07/18/avoiding-brittle-element-selection-with-selenium2/comment-page-1/#comment-1162</link>
		<dc:creator>Richard Paul</dc:creator>
		<pubDate>Wed, 21 Jul 2010 17:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapaul.com/?p=608#comment-1162</guid>
		<description>With many browsers supporting querySelector and querySelectorAll http://www.w3.org/TR/selectors-api/#examples I think the legibility/maintainability of Selenium scenarios trumps any micro optimisations an XPath may provide (assuming XPath can actually be faster).

My anecdotal evidence suggests our Selenium tests aren&#039;t slow at selecting elements, its normally navigating between pages or restarting the browser instance between scenarios.

How are you getting on with rolling out your acceptance tests?</description>
		<content:encoded><![CDATA[<p>With many browsers supporting querySelector and querySelectorAll <a href="http://www.w3.org/TR/selectors-api/#examples" rel="nofollow">http://www.w3.org/TR/selectors-api/#examples</a> I think the legibility/maintainability of Selenium scenarios trumps any micro optimisations an XPath may provide (assuming XPath can actually be faster).</p>
<p>My anecdotal evidence suggests our Selenium tests aren&#8217;t slow at selecting elements, its normally navigating between pages or restarting the browser instance between scenarios.</p>
<p>How are you getting on with rolling out your acceptance tests?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Anderson</title>
		<link>http://www.rapaul.com/2010/07/18/avoiding-brittle-element-selection-with-selenium2/comment-page-1/#comment-1161</link>
		<dc:creator>Martin Anderson</dc:creator>
		<pubDate>Wed, 21 Jul 2010 16:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapaul.com/?p=608#comment-1161</guid>
		<description>Great to see how you are dealing with the fragility of xpath. I know it was one of the things I was most interested at the Java Unconference :-)I know that there can be a x20 speed increase changing from a bad xpath (//../div[@id=&#039;post-1&#039;) to a good one (id(&#039;post-1&#039;)) but I would be interested in seeing the speed difference between css selectors and ids. Both css selectors and ids are far better than full xpaths but I suppose which you use depends on what you are most likely to refactor; code layout or look and feel.</description>
		<content:encoded><![CDATA[<p>Great to see how you are dealing with the fragility of xpath. I know it was one of the things I was most interested at the Java Unconference :-)I know that there can be a x20 speed increase changing from a bad xpath (//../div[@id=&#8217;post-1&#8242;) to a good one (id(&#8216;post-1&#8242;)) but I would be interested in seeing the speed difference between css selectors and ids. Both css selectors and ids are far better than full xpaths but I suppose which you use depends on what you are most likely to refactor; code layout or look and feel.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

