LaurenL wrote:
> puts " Is there another order to ack?"
> while b.link(:name, 'ack_0').exists?
> puts "There is another order to Ack"
> b.link(:name, 'ack_0').click
> b.button(:name, "oms/util/SendOrderAckDroplet.sendOrderAck").click
> b.refresh
> sleep 3
> end
>
>   
What happens after you click the button? Does the window close? That 
will cause the "while b.link..." code to fail, because "b" doesn't exist 
any more.

Bret


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to