I just tried search.aol.com and I get a similar thing, even when attaching
to it
 
ie=Watir::IE.attach(:title , /S/)
and it just hangs.
Stack trace after a ctrl C
 
IRB::Abort: abort then interrupt!!
        from c:/ruby/lib/ruby/1.8/irb.rb:81:in `irb_abort'
        from c:/ruby/lib/ruby/1.8/irb.rb:241:in `signal_handle'
        from c:/ruby/lib/ruby/1.8/irb.rb:66:in `start'
        from c:/ruby/lib/ruby/1.8/irb.rb:65:in `call'
        from ../watir.rb:1402:in `sleep'
        from ../watir.rb:1402:in `wait'
        from ../watir.rb:1113:in `attach_init'
        from ../watir.rb:1104:in `attach'
        from (irb):2
 
I have some time now, so I'll take a look
 
Paul

-----Original Message-----
From: Daniel Kurtz [mailto:[EMAIL PROTECTED] On Behalf Of
Daniel Kurtz
Sent: 27 July 2005 11:12
To: [email protected]
Subject: RE: [Wtr-general] Script non-responsive


Actually, I hadn't even noticed the typo in your code <g>.
 
In any event, the problem is not that Watir can't locate or click the
button. The issue is that, once clicked, control never comes back to Watir
from the page/browser, so the script hangs.

 
Daniel Kurtz
Consultant
Olenick & Associates
205 W. Wacker Drive
Suite 2010
Chicago, IL 60606
312-332-0096
www.olenick.com

  _____  

From: [EMAIL PROTECTED] on behalf of Peter Chau
Sent: Wed 7/27/2005 11:55 AM
To: [email protected]
Subject: RE: [Wtr-general] Script non-responsive


Sorry there was a typo on my part... try
 
ie.image(:src, /searchbutton_5_0.gif/).click

 

<<attachment: winmail.dat>>

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to