# Popups in Watir

**URL:** <https://www.ruby-forum.com/t/popups-in-watir/164689>\
**Category:** Ruby\
**Created:** [April 4, 2009, 1:05am UTC](https://www.ruby-forum.com/t/popups-in-watir/164689 "2009-04-04T01:05:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [April 4, 2009, 1:05am UTC](https://www.ruby-forum.com/t/popups-in-watir/164689/1 "2009-04-04T01:05:55Z")

</div>

I’ve serched through the posts and I’m having another issue with  
popups.

I have a line of code:  
$ie.text\_field(:name, “text”).set “text”

After the text has been placed in the text field, a pop-up box opens  
and wants to now if this is correct. There are two choices “OK” and  
“Cancel”

Since the pop up box isn’t triggered by a button clcik, I can’t get  
Watir or AutoIx3 to recognize the popup and hit OK.

I’ve tried all solutions that I have found and nothing is working.  
Any ideas?
