This was code I wrote awhile ago (when $ie.wait didn't work right) and
was getting back to update.
The call to $ie.wait? didn't work but $ie.wait did (seems to be a bit
faster then before).
I still get the same error message I originally posted until I put call
that reloads the page in, and sometimes I get this error too:
1) Error:
test5_ca(TC_PERwResolution):
WIN32OLERuntimeError: Unknown property or method `fireEvent'
HRESULT error code:0x80070005
Access is denied.
C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3941:in `method_missing'
C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3941:in `doKeyPress'
C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3935:in `doKeyPress'
C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3907:in `set'
C:/watir_bonus/working/PER/tc_PERwResloution_test.rb:277:in
`test5_ca'
This is odd since I am not using the 'fireEvent' method in my script nor
do I know what the 'Access is denied' message is all about.
--Mark
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Tuesday, September 05, 2006 9:32 AM
To: [email protected]
Subject: Re: [Wtr-general] Error clicking a button...
Mark,
I see that you have some hard-coded sleep statements. This a bad sign.
Can you replace these with calls to $ie.wait? This will probably fix the
problem you reported as well.
Bret
_______________________________________________
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