Hi All, I''m using selenium-client gem for testing. I need to convert the commands which i have used into selense script. Please find the below example for clear understanding. Eg:- @browser = Selenium::Client::Driver.new(:host=>"localhost", :port=>"4444",:browser=>"*firefox", :timeout_in_second=> 15000, :url => "http://www.google.com") @browser.start_new_browser_session @browser.open "http://www.google.com" @browser.click "link=Gmail", :wait_for => :page @browser.type "Email", "user_name" @browser.type "Passwd", "password" @browser.click "signIn" The equivalent selense script will looks like following code. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://selenium-ide.openqa.org/profiles/test-case"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="selenium.base" href="http://www.google.co.in/" /> <title>myscript</title> </head> <body> <table cellpadding="1" cellspacing="1" border="1"> <thead> <tr><td rowspan="1" colspan="3">myscript</td></tr> </thead><tbody> <tr> <td>open</td> <td>http://www.google.com</td> <td></td> </tr> <tr> <td>click</td> <td>link=Gmail</td> <td></td> </tr> <tr> <td>type</td> <td>Email</td> <td>user_name</td> </tr> <tr> <td>type</td> <td>Passwd</td> <td>password</td> </tr> <tr> <td>click</td> <td>signIn</td> <td></td> </tr> </tbody></table> </body> </html> Thanks, Priya -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.