You know, I've been user the older dev version of watir and just started receiving this error two days ago. Older scripts that were working fine, all of a sudden stall out indefinitely, and give the readyState error when I abort them. I just upgraded to 1165 today, and still have the same problem.
The page I am browsing uses no frames (all divs). I've also found that a simple script such as one that goes to 10 different urls, with no validations, assertions or other processing crashes after the fourth link. It doesn't seem to matter what this fourth URL is (ie, not a problem with the page itself, it can be anything). WIN32OLERuntimeError: Unknown property or method 'readyState' HRESULT error code:0x800706ba The RPC server is unavailable ...watir.rb:1669:in 'method_missing' ...watir.rb:1669:in 'wait' ...watir.rb:1551:in 'goto' Any answers on this yet? Adam -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bach Le Sent: Wednesday, April 18, 2007 7:44 PM To: [email protected] Subject: Re: [Wtr-general] unknown property or method `readyState' Hi Charley, I just installed 1165 today and I have noticed the same error that was mentioned in this thread. The error revolves around the following piece of code: documents_to_wait_for = [EMAIL PROTECTED] while doc = documents_to_wait_for.shift until doc.readyState == "complete" sleep 0.2; s.spin end and specific the line that says doc.readyState. The page I am testing has lots of frames and this is possibly what is causing this error. It usually says 'method_missing' when it executes this line and crashes the entire script. I've also only noticed it when the page I am testing is running a bit slow -Bach _______________________________________________ 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
