Hi AUQA, 
 
Is the problem with the click_no_wait. Is your script executing the 
click_no_wait before the popup has appeared therefor no "OK" text to click. 
We decided to implement a wait_until_exists method to address this issue. 
This example is specificly for ajax element becoming enabled but the 
principle can carry over to the close popup issue. 
 
http://www.3qilabs.com/2012/01/watir-method-for-waiting-until-ajax-elements-have-loaded-completely-or-become-enabled/
 
 

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to