Here's a hack example

require 'rubygems'
require 'win32ole'
require 'watir-webdriver'

browser = Watir::Browser.new(:firefox)
browser.goto('http://www.google.com')
sleep 3
browser.text_field(:name,'q').click #just for focus folks
autoit = WIN32OLE.new('AutoITX3.Control')
autoit.WinActivate('Google')
autoit.Send('Lake Hallett St. Peter{ENTER}')
puts 'Search should be done'


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to