Anne, I had a similar situation were the browser dialog box displayed and watir-webdriver wouldn't interact with it. I ended up using an open source tool called Sikuli (http://www.sikuli.org/) to interact with those dialog boxes. Called it through command line connection in my scripts. Uses python and pretty simple to use although there IDE works better on MAC then a Windows machine.
Sometimes these scenarios are better off being manually tested. Hope this helps. Joe On Tue, Jun 25, 2013 at 1:03 PM, Anne <[email protected]> wrote: > I've been searching on this topic for the last day. Most of the entries > are from 2009 and earlier, very few seem to contain an actual answer. > > Here's my problem... > I'm trying to access the browser's print dialog box and press the "print" > button. I've tried treating it as a javascript dialog, a modal popup, > using winchecker. None of these seem to work -- the dialog displays but > nothing I try actually presses the print button (or recognizes the dialog, > for that matter). If I ctrl^C out of my script, I get an error that says > "...sleep was interrupted..." in rautomation. > > At this point I don't know if I'm just frustrated or totally missing > something obvious. Either way, I'm at a loss for a solution. > > Can someone point me in the right direction? > > -- > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "Watir General" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
