Ruby Scripts
Pages
Home
How to open multiple ulr's in single browser
ruby cgi setup
ruby on rails
Labels
class
(2)
firefox
(2)
IE
(6)
mysql
(1)
rails
(2)
ruby
(21)
watir
(8)
Wednesday, October 6, 2010
open google & yahoo
require 'watir'
#require 'watir-webdriver'
#require 'firewatir'
vj1=Watir::IE.attach(:title, "Google")
vj2=Watir::IE.attach(:title, "Yahoo! India")
vj1.text_field(:name, "q").set "vijay ramane"
vj2.text_field(:name, "p").set "vijay ramane"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment