From: Patrick Spence Date: 2006-07-14T23:00:41+09:00 Subject: Re: Win32OLE Question Solution using Watir module. Getting "frame error in waitdocument" warnings which are being ignored in rescue blocks, but it works. Not too sure what those warnings are all about! require 'watir' #-- startup IE ie = Watir::IE::new() ie.set_fast_speed #-- login to site of "interest" begin ie.goto("http://www.phonetrick.com") rescue #-- ignore "frame error in waitdocument" warning message end #-- populate form fields ie.text_field(:name, "PhoneNumberToDial").set("6155551212") ie.text_field(:name, "CallerID").set("6155551212") ie.text_field(:name, "CallerIDname").set("Matz") begin ie.select_list(:name, "VoiceID").select("William - English") rescue #-- ignore "frame error in waitdocument" warning message end #-- populate remaining form field ie.text_field(:name, "TextToSay").set("Ruby Rocks My Socks!") begin ie.button(:value, "Call!").click() rescue #-- ignore "frame error in waitdocument" warning message end #-- shut down IE ie.close() ie = nil -- Posted via http://www.ruby-forum.com/.