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
IE test
require 'win32ole'
ie=WIN32OLE.new('InternetExplorer.Application')
ie.Visible=true
ie.Navigate('http://google.com/')
sleep(1) until ie.ReadyState==4
ie.text_field(:name, "q").set("Vijay Ramane")
ie.button(:name, "btnG").click
#ie.Quit
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment