<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Raveendran</title>
	<atom:link href="http://raveendran.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://raveendran.wordpress.com</link>
	<description>Nothing is impossible...</description>
	<lastBuildDate>Tue, 03 Nov 2009 04:48:38 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='raveendran.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/8da5117f785690657d1b11276faf4312?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Raveendran</title>
		<link>http://raveendran.wordpress.com</link>
	</image>
			<item>
		<title>Ruby &#8211; Scrap the content from HTML Source</title>
		<link>http://raveendran.wordpress.com/2009/11/03/ruby-scrap-the-content-from-html-source/</link>
		<comments>http://raveendran.wordpress.com/2009/11/03/ruby-scrap-the-content-from-html-source/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 04:48:38 +0000</pubDate>
		<dc:creator>raveendran</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[scrap]]></category>
		<category><![CDATA[ruby scrap]]></category>
		<category><![CDATA[html scrap]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ruby source]]></category>

		<guid isPermaLink="false">http://raveendran.wordpress.com/?p=416</guid>
		<description><![CDATA[CODE.rb
code=&#8217;&#60;html&#62;
&#60;head&#62;
&#60;title&#62;title&#60;/title&#62;
&#60;meta content=&#8221;title&#8221; name=&#8221;keywords&#8221;/&#62;
&#60;meta content=&#8221;text/html; charset=iso-8859-1&#8243; http-equiv=&#8221;Content-
Type&#8221;/&#62;&#8217;
puts content= code.scan(%r{content=&#8221;(.*?)&#8221;}im).flatten[0].to_s
puts name=code.scan(%r{name=&#8221;(.*?)&#8221;}im).flatten.to_s
&#160;
Output:
title
keywords
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=416&subd=raveendran&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="text-decoration:underline;"><strong>CODE.rb</strong></span></p>
<p>code=&#8217;&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;title&lt;/title&gt;<br />
&lt;meta content=&#8221;title&#8221; name=&#8221;keywords&#8221;/&gt;<br />
&lt;meta content=&#8221;text/html; charset=iso-8859-1&#8243; http-equiv=&#8221;Content-<br />
Type&#8221;/&gt;&#8217;</p>
<p>puts content= code.scan(%r{content=&#8221;(.*?)&#8221;}im).flatten[0].to_s<br />
puts name=code.scan(%r{name=&#8221;(.*?)&#8221;}im).flatten.to_s</p>
<p>&nbsp;</p>
<p>Output:</p>
<p>title<br />
keywords</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raveendran.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raveendran.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raveendran.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raveendran.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raveendran.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raveendran.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raveendran.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raveendran.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raveendran.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raveendran.wordpress.com/416/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=416&subd=raveendran&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://raveendran.wordpress.com/2009/11/03/ruby-scrap-the-content-from-html-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da22709962fc0cf31068e779c78ab6be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jazzezravi</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby &#8211; Get ASCII value</title>
		<link>http://raveendran.wordpress.com/2009/10/30/ruby-get-ascii-value/</link>
		<comments>http://raveendran.wordpress.com/2009/10/30/ruby-get-ascii-value/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 05:31:00 +0000</pubDate>
		<dc:creator>raveendran</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ascii value]]></category>
		<category><![CDATA[each_byte]]></category>
		<category><![CDATA[ruby ascii]]></category>
		<category><![CDATA[string to ascii]]></category>

		<guid isPermaLink="false">http://raveendran.wordpress.com/?p=410</guid>
		<description><![CDATA[Example 1:
puts ?r  #=&#62; 114
puts ?a #=&#62; 97

Example 2:
output=&#8221;raveendran&#8221;
puts output[0]  #=&#62;114 &#8216;value of r&#8217;
puts output[1] #=&#62; 97  &#8216;value of a&#8217;
Example 3:
output=&#8221;raveendran&#8221;
output.each_byte do &#124;a&#124;
puts a
end
&#62;ruby ascii_from_ruby.rb
114
97
118
101
101
110
100
114
97
110
&#62;Exit code: 0


&#160;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=410&subd=raveendran&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Example 1:</strong></p>
<p>puts ?r  #=&gt; 114</p>
<p>puts ?a #=&gt; 97<strong><br />
</strong></p>
<p><strong>Example 2:</strong></p>
<p>output=&#8221;raveendran&#8221;</p>
<p>puts output[0]  #=&gt;114 &#8216;value of r&#8217;</p>
<p>puts output[1] #=&gt; 97  &#8216;value of a&#8217;</p>
<p><strong>Example 3:</strong></p>
<p>output=&#8221;raveendran&#8221;<br />
output.each_byte do |a|<br />
puts a<br />
end</p>
<p>&gt;ruby ascii_from_ruby.rb<br />
114<br />
97<br />
118<br />
101<br />
101<br />
110<br />
100<br />
114<br />
97<br />
110<br />
&gt;Exit code: 0</p>
<p><strong><br />
</strong></p>
<p>&nbsp;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raveendran.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raveendran.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raveendran.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raveendran.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raveendran.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raveendran.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raveendran.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raveendran.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raveendran.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raveendran.wordpress.com/410/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=410&subd=raveendran&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://raveendran.wordpress.com/2009/10/30/ruby-get-ascii-value/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da22709962fc0cf31068e779c78ab6be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jazzezravi</media:title>
		</media:content>
	</item>
		<item>
		<title>Watir &#8211; handling hidden process in windows</title>
		<link>http://raveendran.wordpress.com/2009/10/30/ruby-handling-hidden-process-in-windows/</link>
		<comments>http://raveendran.wordpress.com/2009/10/30/ruby-handling-hidden-process-in-windows/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 05:10:21 +0000</pubDate>
		<dc:creator>raveendran</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[watir]]></category>
		<category><![CDATA[handling windows]]></category>
		<category><![CDATA[hidden process]]></category>
		<category><![CDATA[hidden windows]]></category>

		<guid isPermaLink="false">http://raveendran.wordpress.com/?p=407</guid>
		<description><![CDATA[Code:
def running(a)
running=`tasklist`
if running.include?(a)
puts &#8220;#{a} is already running in windows machine&#8221;
else
puts &#8220;#{a} is not running&#8221;
end
end
runnning(&#8216;java.exe&#8217;)
#=&#62;   java.exe is already running in windows machine
runnning(&#8216;notepad.exe&#8217;)
#=&#62; notepad.exe is not running
Where this code will useful:
We can able to chaeck the process is runnign or not &#8212; When Script need to close some opened Firefox windows or chrome windows
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=407&subd=raveendran&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Code:</strong></p>
<p>def running(a)</p>
<p>running=`tasklist`</p>
<p>if running.include?(a)</p>
<p>puts &#8220;#{a} is already running in windows machine&#8221;</p>
<p>else</p>
<p>puts &#8220;#{a} is not running&#8221;</p>
<p>end</p>
<p>end</p>
<p>runnning(&#8216;java.exe&#8217;)</p>
<p>#=&gt;   java.exe is already running in windows machine</p>
<p>runnning(&#8216;notepad.exe&#8217;)</p>
<p>#=&gt; notepad.exe is not running</p>
<p><strong>Where this code will useful:</strong></p>
<p>We can able to chaeck the process is runnign or not &#8212; When Script need to close some opened Firefox windows or chrome windows</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raveendran.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raveendran.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raveendran.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raveendran.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raveendran.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raveendran.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raveendran.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raveendran.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raveendran.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raveendran.wordpress.com/407/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=407&subd=raveendran&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://raveendran.wordpress.com/2009/10/30/ruby-handling-hidden-process-in-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da22709962fc0cf31068e779c78ab6be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jazzezravi</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby &#8211; Identifying opened applications in windows machine</title>
		<link>http://raveendran.wordpress.com/2009/10/28/ruby-identifying-opened-applications-in-windows-machine/</link>
		<comments>http://raveendran.wordpress.com/2009/10/28/ruby-identifying-opened-applications-in-windows-machine/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 11:36:16 +0000</pubDate>
		<dc:creator>raveendran</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[identify window with ruby]]></category>
		<category><![CDATA[opened window]]></category>
		<category><![CDATA[ruby window]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://raveendran.wordpress.com/?p=402</guid>
		<description><![CDATA[&#160;
Code
require &#8216;rubygems&#8217;
require &#8216;win32ole&#8217;
&#160;
def window_name_opened(name)
w=WIN32OLE.new(&#8216;WScript.Shell&#8217;)
output=w. AppActivate(name)
puts output
end
window_name_opened(&#8216;notepad&#8217;)
#=&#62; false
&#160;
Step 2 &#8211;&#62; Now open one note pad and run the ruby program again it should returns TRUE
&#160;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=402&subd=raveendran&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>&nbsp;</p>
<p><strong>Code</strong></p>
<p>require &#8216;rubygems&#8217;</p>
<p>require &#8216;win32ole&#8217;</p>
<p>&nbsp;</p>
<p>def window_name_opened(name)</p>
<p>w=WIN32OLE.new(&#8216;WScript.Shell&#8217;)</p>
<p>output=w. AppActivate(name)</p>
<p>puts output</p>
<p>end</p>
<p>window_name_opened(&#8216;notepad&#8217;)</p>
<p>#=&gt; false</p>
<p>&nbsp;</p>
<p>Step 2 &#8211;&gt; Now open one note pad and run the ruby program again it should returns TRUE</p>
<p>&nbsp;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raveendran.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raveendran.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raveendran.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raveendran.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raveendran.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raveendran.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raveendran.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raveendran.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raveendran.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raveendran.wordpress.com/402/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=402&subd=raveendran&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://raveendran.wordpress.com/2009/10/28/ruby-identifying-opened-applications-in-windows-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da22709962fc0cf31068e779c78ab6be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jazzezravi</media:title>
		</media:content>
	</item>
		<item>
		<title>Watir &#8212; Basic Authentication window Handling</title>
		<link>http://raveendran.wordpress.com/2009/10/28/watir-basic-authentication-window-handling/</link>
		<comments>http://raveendran.wordpress.com/2009/10/28/watir-basic-authentication-window-handling/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 04:54:45 +0000</pubDate>
		<dc:creator>raveendran</dc:creator>
				<category><![CDATA[Testing]]></category>
		<category><![CDATA[watir]]></category>
		<category><![CDATA[firewatir]]></category>
		<category><![CDATA[authentication window]]></category>
		<category><![CDATA[watir authentication]]></category>
		<category><![CDATA[autoamtion using watir]]></category>

		<guid isPermaLink="false">http://raveendran.wordpress.com/?p=393</guid>
		<description><![CDATA[Code:
require &#8216;rubygems&#8217;
require &#8216;firewatir&#8217;
include FireWatir
browser=Firefox.new
#(Use next line instead of &#8211;&#62;browser.goto(&#8220;http://website.com&#8221;) and entered username , password)
browser.goto(&#8220;http://username:password@website.com&#8221;)
# (If the authentication window occurs any other pages then simply call that LINK URL with username,password like this.)
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=393&subd=raveendran&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Code:</strong></p>
<p>require &#8216;rubygems&#8217;<br />
require &#8216;firewatir&#8217;<br />
include FireWatir</p>
<p>browser=Firefox.new</p>
<p>#(Use next line instead of &#8211;&gt;browser.goto(&#8220;http://website.com&#8221;) and entered username , password)<br />
browser.goto(&#8220;http://username:password@website.com&#8221;)</p>
<p># (If the authentication window occurs any other pages then simply call that LINK URL with username,password like this.)</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raveendran.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raveendran.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raveendran.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raveendran.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raveendran.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raveendran.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raveendran.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raveendran.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raveendran.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raveendran.wordpress.com/393/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=393&subd=raveendran&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://raveendran.wordpress.com/2009/10/28/watir-basic-authentication-window-handling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da22709962fc0cf31068e779c78ab6be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jazzezravi</media:title>
		</media:content>
	</item>
		<item>
		<title>Watir vs Selenium</title>
		<link>http://raveendran.wordpress.com/2009/10/28/watir-vs-selenium/</link>
		<comments>http://raveendran.wordpress.com/2009/10/28/watir-vs-selenium/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 04:15:01 +0000</pubDate>
		<dc:creator>raveendran</dc:creator>
				<category><![CDATA[QA]]></category>
		<category><![CDATA[selenium]]></category>
		<category><![CDATA[selenium grid]]></category>
		<category><![CDATA[watir]]></category>
		<category><![CDATA[selenium and watir]]></category>
		<category><![CDATA[selenium vs watir]]></category>
		<category><![CDATA[vs]]></category>
		<category><![CDATA[watir and selenium]]></category>
		<category><![CDATA[watir vs selenium]]></category>

		<guid isPermaLink="false">http://raveendran.wordpress.com/?p=390</guid>
		<description><![CDATA[Watir is a Ruby library that wraps the COM interface to Internet Explorer. COM is a long-standing Windows-based technology for making libraries accessible to various languages. This allows access to the Document Object Model (DOM) so it doesn’t matter where on the page an object exists, what matters is how you identify it (id, name, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=390&subd=raveendran&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Watir is a Ruby library that wraps the COM interface to Internet Explorer. COM is a long-standing Windows-based technology for making libraries accessible to various languages. This allows access to the Document Object Model (DOM) so it doesn’t matter where on the page an object exists, what matters is how you identify it (id, name, title, etc).</p>
<p>Selenium uses a unique mechanism for driving browsers. Selenium’s automation engine is written in JavaScript and runs inside a browser. The engine, called a browser bot, is embedded in a page that accesses the application under test in a separate frame. Because of cross-site scripting, Selenium’s browser bot has to be served from the same site as the application under test – requiring installation on the server.</p>
<p>Selenium supports a command language, called Selenese. Tests can be embedded in an HTML table, which will be read in by the browser bot and then executed.</p>
<p>Both tools run tests directly in a browser, and both do it in a way that allows the browser to be minimized while the tests are running, which means you don’t have to dedicate a machine to running tests.</p>
<p>Watir was designed to be easy to learn, it allows page elements to be identified by index, name, ID, value or adjacent text.  Now Watir supports IE, Firefox,chrome,Safari with the help of  Firewatir, SafariWatir,chrome Watir. Complaint: Watir is currently limited to IE browsers on Windows, Firewatir supports  firefox browsers. So we need to write separate code for each and every browsers. But Selenium does in Single attempt.</p>
<p>Selenium was designed for breadth of coverage- multiple browsers and platforms. It was expected to be used by the same developers who built the application. Complaint: Selenium requires a server-side installation.</p>
<p>You can also express Selenium tests in a programming language, taking advantage of language-specific drivers that communicate in Selenese to the browser bot.</p>
<p>Reference: <a href="http://www.newsqa.com/watir-vs-selenium/" target="_blank"> http://www.newsqa.com/watir-vs-selenium/</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raveendran.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raveendran.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raveendran.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raveendran.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raveendran.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raveendran.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raveendran.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raveendran.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raveendran.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raveendran.wordpress.com/390/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=390&subd=raveendran&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://raveendran.wordpress.com/2009/10/28/watir-vs-selenium/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da22709962fc0cf31068e779c78ab6be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jazzezravi</media:title>
		</media:content>
	</item>
		<item>
		<title>How to run Selenium RC with Ruby codes</title>
		<link>http://raveendran.wordpress.com/2009/10/12/how-to-run-selenium-rc-with-ruby-codes/</link>
		<comments>http://raveendran.wordpress.com/2009/10/12/how-to-run-selenium-rc-with-ruby-codes/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 11:49:52 +0000</pubDate>
		<dc:creator>raveendran</dc:creator>
				<category><![CDATA[selenium]]></category>
		<category><![CDATA[how to setup selenium rc]]></category>
		<category><![CDATA[sample seleniumrc code with ruby]]></category>
		<category><![CDATA[selenium in ruby]]></category>
		<category><![CDATA[selenium on ruby]]></category>
		<category><![CDATA[selenium RC]]></category>
		<category><![CDATA[selenium RC in ruby]]></category>
		<category><![CDATA[setup selenium rc]]></category>
		<category><![CDATA[setup slenium]]></category>

		<guid isPermaLink="false">http://raveendran.wordpress.com/?p=382</guid>
		<description><![CDATA[1. Download seleniumRC from &#8211;&#62; http://bit.ly/j_sel_rc
2. Unzip the file
3. commans prompt&#62;java -version  &#8211;&#62; Version should grater than 1.6.0_5
4. command prompt go to &#8211;&#62; C:\selenium-remote-control-1.0.1\selenium-server-1.0.1&#62;java -jar  selenium-server.jar
Now Selenium runs on 4444 port.
5. cmd prompt&#62;gem install selenium-client
6. Open new command prompt and goto ruby program path.In Ex, c:\test&#62;ruby code.rb
7.  code.rb
require &#8220;selenium&#8221;
require &#8220;test/unit&#8221;
class Untitled &#60; Test::Unit::TestCase
def setup
@verification_errors = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=382&subd=raveendran&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>1. Download seleniumRC from &#8211;&gt; <a href="http://bit.ly/j_sel_rc" target="_blank">http://bit.ly/j_sel_rc</a></p>
<p>2. Unzip the file</p>
<p>3. commans prompt&gt;java -version  &#8211;&gt; Version should grater than 1.6.0_5</p>
<p>4. command prompt go to &#8211;&gt; C:\selenium-remote-control-1.0.1\selenium-server-1.0.1&gt;java -jar  selenium-server.jar</p>
<p>Now Selenium runs on 4444 port.</p>
<p>5. cmd prompt&gt;gem install selenium-client</p>
<p>6. Open new command prompt and goto ruby program path.In Ex, c:\test&gt;ruby code.rb</p>
<p>7.  code.rb</p>
<p>require &#8220;selenium&#8221;<br />
require &#8220;test/unit&#8221;</p>
<p>class Untitled &lt; Test::Unit::TestCase<br />
def setup<br />
@verification_errors = []<br />
if $selenium<br />
@selenium = $selenium<br />
else<br />
@selenium = Selenium::SeleniumDriver.new(&#8220;localhost&#8221;, 4444, &#8220;*chrome&#8221;, &#8220;http://change-this-to-the-site-you-are-testing/&#8221;, 10000);<br />
@selenium.start<br />
end<br />
@selenium.set_context(&#8220;test_untitled&#8221;)<br />
end</p>
<p>def teardown<br />
@selenium.stop unless $selenium<br />
assert_equal [], @verification_errors<br />
end</p>
<p>def test_untitled<br />
@selenium.open &#8220;/&#8221;<br />
@selenium.click &#8220;link=jazzez-news.exe released (using Mechanize – ruby gem)&#8221;<br />
@selenium.wait_for_page_to_load &#8220;30000&#8243;<br />
@selenium.click &#8220;link=exact:http://bit.ly/j_news_demo&#8221;<br />
end<br />
end</p>
<p>8. Selenium RC will give some outputs in new firefox window.</p>
<p>Any more details need then just ping me at jazzezravi@gmail.com</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raveendran.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raveendran.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raveendran.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raveendran.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raveendran.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raveendran.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raveendran.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raveendran.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raveendran.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raveendran.wordpress.com/382/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=382&subd=raveendran&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://raveendran.wordpress.com/2009/10/12/how-to-run-selenium-rc-with-ruby-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da22709962fc0cf31068e779c78ab6be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jazzezravi</media:title>
		</media:content>
	</item>
		<item>
		<title>jazzez-news.exe released (using Mechanize &#8211; ruby gem)</title>
		<link>http://raveendran.wordpress.com/2009/09/19/jazzez-news-exe-released-using-mechanize-ruby-gem/</link>
		<comments>http://raveendran.wordpress.com/2009/09/19/jazzez-news-exe-released-using-mechanize-ruby-gem/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 11:34:15 +0000</pubDate>
		<dc:creator>raveendran</dc:creator>
				<category><![CDATA[jazzez-news]]></category>
		<category><![CDATA[100]]></category>
		<category><![CDATA[cnn]]></category>
		<category><![CDATA[cnn news]]></category>
		<category><![CDATA[flash news]]></category>
		<category><![CDATA[lates news]]></category>
		<category><![CDATA[latest]]></category>
		<category><![CDATA[mechanize]]></category>
		<category><![CDATA[ndtv]]></category>
		<category><![CDATA[ndtv news]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[news update]]></category>

		<guid isPermaLink="false">http://raveendran.wordpress.com/?p=378</guid>
		<description><![CDATA[jazzez-news.exe released (using Mechanize &#8211; ruby gem)
To read news from CNN,NDTV without broswer support
Live Demo &#8211;&#62; http://bit.ly/j_news_demo
1. Download the jazzez-news.exe from http://bit.ly/j_news
2. Just click and read it
Coming soon &#8211; More news websites under this jazzez-news.exe
It&#8217;s my  100th  Post for this blog http://raveendran.wotdpress.com
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=378&subd=raveendran&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>jazzez-news.exe released (using Mechanize &#8211; ruby gem)</strong></p>
<p>To read news from CNN,NDTV without broswer support</p>
<p>Live Demo &#8211;&gt; <a href="http://bit.ly/j_news_demo" target="_blank">http://bit.ly/j_news_demo</a></p>
<p><strong><span style="font-weight:normal;">1. Download the jazzez-news.exe from <a href="http://bit.ly/j_news" target="_blank">http://bit.ly/j_news</a></span></strong></p>
<p><strong><span style="font-weight:normal;">2. Just click and read it</span></strong></p>
<p>Coming soon &#8211; More news websites under this jazzez-news.exe</p>
<p>It&#8217;s my  100th  Post for this blog <a href="http://raveendran.wotdpress.com" target="_blank">http://raveendran.wotdpress.com</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raveendran.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raveendran.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raveendran.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raveendran.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raveendran.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raveendran.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raveendran.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raveendran.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raveendran.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raveendran.wordpress.com/378/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=378&subd=raveendran&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://raveendran.wordpress.com/2009/09/19/jazzez-news-exe-released-using-mechanize-ruby-gem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da22709962fc0cf31068e779c78ab6be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jazzezravi</media:title>
		</media:content>
	</item>
		<item>
		<title>Jruby</title>
		<link>http://raveendran.wordpress.com/2009/09/10/jruby/</link>
		<comments>http://raveendran.wordpress.com/2009/09/10/jruby/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 11:35:03 +0000</pubDate>
		<dc:creator>raveendran</dc:creator>
				<category><![CDATA[jruby]]></category>
		<category><![CDATA[java in ruby]]></category>

		<guid isPermaLink="false">http://raveendran.wordpress.com/?p=374</guid>
		<description><![CDATA[Jruby
Website &#8211; http://jruby.org/
Code:
ravi.rb
require &#8220;java&#8221;
stringHello= &#8220;Raveendran in Ruby&#8221;
stringDate = java.util.Date.new
puts &#8220;#{stringHello.to_s}&#8221;
puts &#8220;Now in Java &#8211;&#62; Date := #{stringDate.to_s}&#8221;
Run the JRuby code:
Go to command promt&#62;jruby ravi.rb
Output:
C:\raveendran\jruby_examples&#62;jruby ravi.rb
Raveendran in Ruby
Now in Java &#8211;&#62; Date := Thu Sep 10 17:03:30 GMT+05:30 2009
C:\raveendran\jruby_examples&#62;
Any issues in installation of JRuby  in windows mnachine then just post a comemnt here.
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=374&subd=raveendran&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Jruby</strong></p>
<p>Website &#8211;<a href="http://jruby.org/" target="_blank"> http://jruby.org/</a></p>
<p>Code:</p>
<p>ravi.rb</p>
<p>require &#8220;java&#8221;</p>
<p>stringHello= &#8220;Raveendran in Ruby&#8221;<br />
stringDate = java.util.Date.new</p>
<p>puts &#8220;#{stringHello.to_s}&#8221;<br />
puts &#8220;Now in Java &#8211;&gt; Date := #{stringDate.to_s}&#8221;</p>
<p>Run the JRuby code:</p>
<p>Go to command promt&gt;jruby ravi.rb</p>
<p>Output:</p>
<p>C:\raveendran\jruby_examples&gt;jruby ravi.rb<br />
Raveendran in Ruby<br />
Now in Java &#8211;&gt; Date := Thu Sep 10 17:03:30 GMT+05:30 2009</p>
<p>C:\raveendran\jruby_examples&gt;</p>
<p>Any issues in installation of JRuby  in windows mnachine then just post a comemnt here.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raveendran.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raveendran.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raveendran.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raveendran.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raveendran.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raveendran.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raveendran.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raveendran.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raveendran.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raveendran.wordpress.com/374/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=374&subd=raveendran&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://raveendran.wordpress.com/2009/09/10/jruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da22709962fc0cf31068e779c78ab6be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jazzezravi</media:title>
		</media:content>
	</item>
		<item>
		<title>Joker &#8211; Ruby gem</title>
		<link>http://raveendran.wordpress.com/2009/09/10/joker-ruby-gem/</link>
		<comments>http://raveendran.wordpress.com/2009/09/10/joker-ruby-gem/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 11:30:49 +0000</pubDate>
		<dc:creator>raveendran</dc:creator>
				<category><![CDATA[joker]]></category>
		<category><![CDATA[joker gem]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ruby gem]]></category>

		<guid isPermaLink="false">http://raveendran.wordpress.com/?p=372</guid>
		<description><![CDATA[Joker &#8211; Ruby gem
Good Alternate for Regular expressions
require &#8216;rubygems&#8217;
require &#8216;joker&#8217;
wild = Wildcard['Fairy?ake*']
puts wild =~ &#8216;Fairycake&#8217;                     #=&#62; true
puts wild =~ &#8216;Fairyfakes&#8217;                    #=&#62; true
puts wild =~ &#8216;Fairylake is a cool place&#8217;     #=&#62; true
puts wild =~ &#8216;Dairycake&#8217;                     #=&#62; false
puts wild =~ &#8216;Fairysteakes&#8217;                  #=&#62; false
puts wild =~ &#8216;fairycake&#8217;                     #=&#62; false
puts wildi = Wildcard['Fairy?ake*\?', true]
puts wildi =~ &#8216;FairyCake?&#8217;                   #=&#62; true
puts [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=372&subd=raveendran&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Joker &#8211; Ruby gem</strong></p>
<p><em>Good Alternate for Regular expressions</em></p>
<p>require &#8216;rubygems&#8217;<br />
require &#8216;joker&#8217;</p>
<p>wild = Wildcard['Fairy?ake*']</p>
<p>puts wild =~ &#8216;Fairycake&#8217;                     #=&gt; true<br />
puts wild =~ &#8216;Fairyfakes&#8217;                    #=&gt; true<br />
puts wild =~ &#8216;Fairylake is a cool place&#8217;     #=&gt; true</p>
<p>puts wild =~ &#8216;Dairycake&#8217;                     #=&gt; false<br />
puts wild =~ &#8216;Fairysteakes&#8217;                  #=&gt; false<br />
puts wild =~ &#8216;fairycake&#8217;                     #=&gt; false</p>
<p>puts wildi = Wildcard['Fairy?ake*\?', true]</p>
<p>puts wildi =~ &#8216;FairyCake?&#8217;                   #=&gt; true<br />
puts wildi =~ &#8216;fairyfakes?&#8217;                  #=&gt; true<br />
puts wildi =~ &#8216;FairyLake IS A COOL Place?&#8217;   #=&gt; true</p>
<p>Wildcard.quote(&#8216;*?\\&#8217;)                  #=&gt; &#8216;\\*\\?\\\\&#8217;</p>
<p>For more details about this gem &#8211;&gt; <a href="http://bit.ly/L9kcg" target="_blank">http://bit.ly/L9kcg</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/raveendran.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/raveendran.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/raveendran.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/raveendran.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/raveendran.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/raveendran.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/raveendran.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/raveendran.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/raveendran.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/raveendran.wordpress.com/372/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=raveendran.wordpress.com&blog=1352849&post=372&subd=raveendran&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://raveendran.wordpress.com/2009/09/10/joker-ruby-gem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da22709962fc0cf31068e779c78ab6be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jazzezravi</media:title>
		</media:content>
	</item>
	</channel>
</rss>