This issue could be affected by timing, which could explain why you are seeing a difference when you run from a jump drive.
Regardless of environment, I claim this issue is fixed with 1166. Please try it out and report back. Bret Daniel Kurtz wrote: > I'm seeing this issue when I'm trying to run a script in Ruby and this > build of Watir installed onto a jump drive. The same script runs OK on > another computer that has the same versions installed on the hard drive. > I was thinking it might have something to do with environment settings. > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Manish Sapariya > Sent: Friday, April 13, 2007 02:01 > To: [email protected] > Subject: Re: [Wtr-general] 'method_missing': document > (WIN32OLERuntimeError) > > Hi, > I am facing same problem in 1.5, not sure if its the same. I had sent > query regarding this on list, but had no replies. It happens always when > I do > > goto ("www.hotmail.com") > > Is there any known bug in 1.5 latest gem? > Any directions so that I can give more inputs to debug problem. > > Watir Version: watir-1.5.1.1158. > > > Thanks and Regards, > Manish > > > Bret Pettichord wrote: > >> aidy lewis wrote: >> >> >>> I am getting this error: >>> >>> 'method_missing': document (WIN32OLERuntimeError) >>> >>> that lies @ie.document >>> >>> I am using 1.4.1. >>> >>> Here is my code >>> >>> <snip> >>> >>> require 'watir' >>> include Watir >>> require 'test\unit' >>> >>> $ie = Watir::IE.new >>> def browser;$ie;end >>> >>> module Login >>> USERNAME = browser.text_field(:name, 'user_name') >>> PASSWORD = browser.text_field(:name, 'password') >>> REMEMBER_ME = browser.checkbox(:name, 'remember_me') >>> SIGN_IN = browser.button(:value, 'Sign in') end >>> >>> module Mission >>> LOG_OUT = browser.link(:text, /Log-out/) end >>> >>> class TC_Mission < Test::Unit::TestCase >>> include Login >>> >>> >>> def setup >>> browser.goto('www.something.com') >>> >>> >>> >> Right here add: >> browser.wait >> >> This bug is fixed in 1.5. >> >> >> >>> browser.bring_to_front >>> browser.maximize >>> end >>> >>> >>> >> _______________________________________________ >> Wtr-general mailing list >> [email protected] >> http://rubyforge.org/mailman/listinfo/wtr-general >> >> >> > > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
