# Click on popup/dailog box in watir

**URL:** <https://www.ruby-forum.com/t/click-on-popup-dailog-box-in-watir/157195>\
**Category:** Ruby\
**Created:** [January 8, 2009, 10:55am UTC](https://www.ruby-forum.com/t/click-on-popup-dailog-box-in-watir/157195 "2009-01-08T10:55:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![narendra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/94ad74/32.png) [@narendra](https://www.ruby-forum.com/u/narendra)\
**Post date:** [January 8, 2009, 10:55am UTC](https://www.ruby-forum.com/t/click-on-popup-dailog-box-in-watir/157195/1 "2009-01-08T10:55:01Z")

</div>

hi,

I 'm unable to click on popup/dailog box in watir, can you plz help me  
out.  
Now i 'm using this statement for the click on option “OK” for the  
attached popup.

Watir.autoit.Send"OK"

Thanks,  
Narendra
