Hi chaya shetty...

I think by definition popups or modal dialog windows cannot be hidden 
eventhough the modal dialogs are owned by the IE at that point of time. 
So you can make only the IE browser to run in the background but not any 
Modal dialog boxes or Popups. :-(

Sathya Shankar


chaya shetty wrote:

> Hi,
> I tried with both $ie.minimize and with -b option, but still the 
> popups were not hidden. Is there any other way??
> Thanks
> Chaya
>
> */Tom <[EMAIL PROTECTED]>/* wrote:
>
>     You could try:
>
>     $ie.minimize, but I’m not sure if that will also keep your pop ups
>     minimized.
>
>     Failing that, you could run the –b when calling your script from
>     the command line:
>
>>C:/Watir/my_script.rb –b
>
>     This will make your script run in the background. Since this does
>     not create an ie window, you will not be able peek at what’s
>     happening. I believe this should avoid the pop ups from appearing,
>     but I haven’t tried this myself.
>
>     Tom
>
>     ------------------------------------------------------------------------
>
>     *From:* [EMAIL PROTECTED]
>     [mailto:[EMAIL PROTECTED] *On Behalf Of *chaya shetty
>     *Sent:* Friday, November 04, 2005 3:49 AM
>     *To:* [email protected]
>     *Subject:* [Wtr-general] How to hide the explorer window in Watir
>
>     / /
>
>     //Hi,//
>     I want the internet explorer window to be hidden while my script
>     is running.
>     One option for this is:
>     $ie.getIE.visible = false
>     But this will just hide the main window, the popups are not hidden.
>     Is there any other way to do this??//
>
>     / //Thanks /
>
>     Chaya
>
>     /
>
>
>     /
>
>     ------------------------------------------------------------------------
>
>     Enjoy this Diwali with Y! India Click here
>     <http://in.promos.yahoo.com/fabmall/index.html>
>
>     _______________________________________________
>     Wtr-general mailing list
>     [email protected]
>     http://rubyforge.org/mailman/listinfo/wtr-general
>
> ------------------------------------------------------------------------
> Enjoy this Diwali with Y! India Click here 
> <http://in.promos.yahoo.com/fabmall/index.html>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Wtr-general mailing list
>[email protected]
>http://rubyforge.org/mailman/listinfo/wtr-general
>  
>


-- 
Sathya Shankar M G
Software Testing Engineer
Qantom Software
http://www.qantom.com
Ph : 26799269 Xtn. 123
sip : [EMAIL PROTECTED] 


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to