<?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"
	>
<channel>
	<title>Comments for Lawrence Song</title>
	<atom:link href="http://lawrencesong.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://lawrencesong.net</link>
	<description>ruby, Java, c#, javascript</description>
	<pubDate>Sat, 31 Jul 2010 15:22:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>Comment on Enable i18n in will_paginate Plugin by Paulo Abreu</title>
		<link>http://lawrencesong.net/2009/01/enable-i18n-in-will_paginate-plugin/#comment-8186</link>
		<dc:creator>Paulo Abreu</dc:creator>
		<pubDate>Fri, 23 Jul 2010 12:03:49 +0000</pubDate>
		<guid isPermaLink="false">http://lawrencesong.net/?p=24#comment-8186</guid>
		<description>With webrick your code works as expected, in the same environment with passenger I get the following error: uninitialized constant WillPaginate::ViewHelpers</description>
		<content:encoded><![CDATA[<p>With webrick your code works as expected, in the same environment with passenger I get the following error: uninitialized constant WillPaginate::ViewHelpers</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enable i18n in will_paginate Plugin by voldy</title>
		<link>http://lawrencesong.net/2009/01/enable-i18n-in-will_paginate-plugin/#comment-8185</link>
		<dc:creator>voldy</dc:creator>
		<pubDate>Thu, 17 Jun 2010 08:02:32 +0000</pubDate>
		<guid isPermaLink="false">http://lawrencesong.net/?p=24#comment-8185</guid>
		<description>Thanks! This works fine!
For those who wants to keep this snippet out of his helpers, can add this code to lib/will_paginate_localization:

    require 'will_paginate'
    
    module WillPaginateLocalization
      module ViewHelpers
        include WillPaginate::ViewHelpers
    
        def will_paginate_with_i18n(collection, options = {})
          will_paginate_without_i18n(collection, options.merge(:previous_label =&#62; I18n.t('global.pagination.previous'),
                                                               :next_label =&#62; I18n.t('global.pagination.next')))
        end
    
        alias_method_chain :will_paginate, :i18n
      end
    end
    
    ActionView::Base.send(:include, WillPaginateLocalization::ViewHelpers)

And then require this file in initialization file:
    require 'will_paginate_localization'</description>
		<content:encoded><![CDATA[<p>Thanks! This works fine!<br />
For those who wants to keep this snippet out of his helpers, can add this code to lib/will_paginate_localization:</p>
<p>    require &#8216;will_paginate&#8217;</p>
<p>    module WillPaginateLocalization<br />
      module ViewHelpers<br />
        include WillPaginate::ViewHelpers</p>
<p>        def will_paginate_with_i18n(collection, options = {})<br />
          will_paginate_without_i18n(collection, options.merge(:previous_label =&gt; I18n.t(&#8217;global.pagination.previous&#8217;),<br />
                                                               :next_label =&gt; I18n.t(&#8217;global.pagination.next&#8217;)))<br />
        end</p>
<p>        alias_method_chain :will_paginate, :i18n<br />
      end<br />
    end</p>
<p>    ActionView::Base.send(:include, WillPaginateLocalization::ViewHelpers)</p>
<p>And then require this file in initialization file:<br />
    require &#8216;will_paginate_localization&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Element Locators by Lawrence</title>
		<link>http://lawrencesong.net/2008/01/selenium-element-locators/#comment-8184</link>
		<dc:creator>Lawrence</dc:creator>
		<pubDate>Fri, 04 Jun 2010 11:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://lawrencesong.net/?p=7#comment-8184</guid>
		<description>Hi Andrew, 

Could you give me a link for your page? I could help you write a sample test.</description>
		<content:encoded><![CDATA[<p>Hi Andrew, </p>
<p>Could you give me a link for your page? I could help you write a sample test.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Element Locators by Andrew</title>
		<link>http://lawrencesong.net/2008/01/selenium-element-locators/#comment-8183</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 02 Jun 2010 17:31:43 +0000</pubDate>
		<guid isPermaLink="false">http://lawrencesong.net/?p=7#comment-8183</guid>
		<description>Oh, you mean like this -&#62;selenium.click(”accountType50″);
Well i tried putting that in because the reading i did on the internet suggested that was the correct syntax, do you agree?

The error i got was, selenium exception error, element id = accountType50 not found.  I wonder why it cant find this element on the page? I used firebug to find the element and i even used selenium ide to verify. Any ideas?
Andrew</description>
		<content:encoded><![CDATA[<p>Oh, you mean like this -&gt;selenium.click(”accountType50″);<br />
Well i tried putting that in because the reading i did on the internet suggested that was the correct syntax, do you agree?</p>
<p>The error i got was, selenium exception error, element id = accountType50 not found.  I wonder why it cant find this element on the page? I used firebug to find the element and i even used selenium ide to verify. Any ideas?<br />
Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Element Locators by Lawrence</title>
		<link>http://lawrencesong.net/2008/01/selenium-element-locators/#comment-8182</link>
		<dc:creator>Lawrence</dc:creator>
		<pubDate>Wed, 02 Jun 2010 09:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://lawrencesong.net/?p=7#comment-8182</guid>
		<description>Hi Andrew, 

You can just use id as the argument.</description>
		<content:encoded><![CDATA[<p>Hi Andrew, </p>
<p>You can just use id as the argument.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Element Locators by Andrew</title>
		<link>http://lawrencesong.net/2008/01/selenium-element-locators/#comment-8181</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 02 Jun 2010 00:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://lawrencesong.net/?p=7#comment-8181</guid>
		<description>I am new to this. How would i click on a radio button if i have the xpath?
I have the id and value but dont understand how to pass the string to selenium.click() .

Can i ask what do you put in for the argument? i tried passing 

selenium.click("accountType50");
selenium.click("@id=accountType50");
selenium.click("value=accountType50");

I am a loss as how to pass the correct argument?
Andrew</description>
		<content:encoded><![CDATA[<p>I am new to this. How would i click on a radio button if i have the xpath?<br />
I have the id and value but dont understand how to pass the string to selenium.click() .</p>
<p>Can i ask what do you put in for the argument? i tried passing </p>
<p>selenium.click(&#8221;accountType50&#8243;);<br />
selenium.click(&#8221;@id=accountType50&#8243;);<br />
selenium.click(&#8221;value=accountType50&#8243;);</p>
<p>I am a loss as how to pass the correct argument?<br />
Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Element Locators by Guru</title>
		<link>http://lawrencesong.net/2008/01/selenium-element-locators/#comment-8180</link>
		<dc:creator>Guru</dc:creator>
		<pubDate>Sun, 07 Mar 2010 18:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://lawrencesong.net/?p=7#comment-8180</guid>
		<description>Good!

Its nice that you gave these functionality... 
But can you pls help me in putting this in Java..

i. I need to acquire the id of a particular element by giving the text that contains.
ii. same as above but to acquire the table id.. Table.m.n of a mentioned text. m.n is the locator.. row.col

Thanks</description>
		<content:encoded><![CDATA[<p>Good!</p>
<p>Its nice that you gave these functionality&#8230;<br />
But can you pls help me in putting this in Java..</p>
<p>i. I need to acquire the id of a particular element by giving the text that contains.<br />
ii. same as above but to acquire the table id.. Table.m.n of a mentioned text. m.n is the locator.. row.col</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Element Locators by Felipe Silva</title>
		<link>http://lawrencesong.net/2008/01/selenium-element-locators/#comment-8179</link>
		<dc:creator>Felipe Silva</dc:creator>
		<pubDate>Thu, 18 Feb 2010 23:24:31 +0000</pubDate>
		<guid isPermaLink="false">http://lawrencesong.net/?p=7#comment-8179</guid>
		<description>Sorry, but I can't post the HTML here, please who will help me send me an email to dexfelipe.88@gmail.com asking me for the HTML that I send it.

Thanks!</description>
		<content:encoded><![CDATA[<p>Sorry, but I can&#8217;t post the HTML here, please who will help me send me an email to <a href="mailto:dexfelipe.88@gmail.com">dexfelipe.88@gmail.com</a> asking me for the HTML that I send it.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Element Locators by Felipe Silva</title>
		<link>http://lawrencesong.net/2008/01/selenium-element-locators/#comment-8178</link>
		<dc:creator>Felipe Silva</dc:creator>
		<pubDate>Thu, 18 Feb 2010 23:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://lawrencesong.net/?p=7#comment-8178</guid>
		<description>&#60;            
                &#60;&#160;
                &#60;&#160;
            	&#60;
                        &#60;
            	&#60;
                &#60;
                	&#60;&lt;a href="http://cia.com/utilities/API/redirector.asp?content=74" rel="nofollow"&gt;ABC
                &#60;
                &#60;&#160;
            &#60;
            &#60;
            &#60;
                &#160;$19.99&#160;
            &#60;
            &#60;
                &#160;&#160;
            &#60;
&#60;</description>
		<content:encoded><![CDATA[<p>&lt;<br />
                &lt;&nbsp;<br />
                &lt;&nbsp;<br />
            	&lt;<br />
                        &lt;<br />
            	&lt;<br />
                &lt;<br />
                	&lt;<a href="http://cia.com/utilities/API/redirector.asp?content=74" rel="nofollow">ABC<br />
                &lt;<br />
                &lt;&nbsp;<br />
            &lt;<br />
            &lt;<br />
            &lt;<br />
                &nbsp;$19.99&nbsp;<br />
            &lt;<br />
            &lt;<br />
                &nbsp;&nbsp;<br />
            &lt;<br />
&lt;</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium Element Locators by Felipe Silva</title>
		<link>http://lawrencesong.net/2008/01/selenium-element-locators/#comment-8177</link>
		<dc:creator>Felipe Silva</dc:creator>
		<pubDate>Thu, 18 Feb 2010 23:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://lawrencesong.net/?p=7#comment-8177</guid>
		<description>Hi All,

I have a problem, my system under test is a data driven system, and I need to find one radio-button with specific label in one list of radio-buttons, follow my HTML from one radio button with its label "ABC", I need to click on radio-button which have the label "ABC":

            
                &#160;
                &#160;
            	
                        
            	
                
                	&lt;a href="http://cia.com/utilities/API/redirector.asp?content=74" rel="nofollow"&gt;ABC
                
                &#160;
            
            
            
                &#160;$19.99&#160;
            
            
                &#160;&#160;
            
</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>I have a problem, my system under test is a data driven system, and I need to find one radio-button with specific label in one list of radio-buttons, follow my HTML from one radio button with its label &#8220;ABC&#8221;, I need to click on radio-button which have the label &#8220;ABC&#8221;:</p>
<p>                &nbsp;<br />
                &nbsp;</p>
<p>                	<a href="http://cia.com/utilities/API/redirector.asp?content=74" rel="nofollow">ABC</p>
<p>                &nbsp;</p>
<p>                &nbsp;$19.99&nbsp;</p>
<p>                &nbsp;&nbsp;</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
