Hey Steve,

   Honestly that sounds like a defect. That being said, there is no simple way that I currently know of to get around waiting for ie to return a ready state.

-Charley

On 7/21/06, Steve Tangsombatvisit <[EMAIL PROTECTED] > wrote:
Hi folks,
 
Relatively new to using Ruby/Watir...  I have a quick question about the ie.goto statement, is there a way to set a timeout for this call so that if the webpage does not complete loading with X amount of seconds the call terminates?
 
The problem we're running into is that some of the pages we access occasionally NEVER finish loading. On the IE status bar (bottom left) we'll see a message that says "Opening Page XXXX" or " (1 Item Remaining) Opening Page XXXXX" and that message will persist forever (as far as we can tell)... So our scripts are hanging at the ie.goto call cause the page never loads completely.
 
Any tips you guys can give me?
 
Thanks,
Steve

_______________________________________________
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

Reply via email to