The thing you can do is use Sikuli.  It is a open source automation tool
that captures images and then interacts with them.  It can be called within
your watir-webdriver script.  I have not had much success with
watir-webdriver and those types of modal dialog boxes.

http://www.sikuli.org/

You'll like this tool.

Joe


On Wed, Nov 12, 2014 at 1:12 PM, Geeta Patil <[email protected]> wrote:

>
> Hi,
>
> i folled the above links.
> 1. Mine is a modal dialog box, i am not able to capture any HTMl elemts
> when the dialog box opens up
> 2. Its not a alert message
>
> i even i trie dthe code snippet posted in the above links for siwtching
> teh windows.
>
> I am using watir-webdriver with Firefox browser. Could you help me how to
> cancel this dialog box or print the text.
>
> Thanks
> Geeta
>
> --
> --
> 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/d/optout.
>

-- 
-- 
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/d/optout.

Reply via email to