Thanks a bunch Lillis,

It worked great.  Since I'm reaching the web server on
an appliance I would rather follow your code, because
I need to run the code against multiple appliances.

Thanks again,

-G

--- "Lillis, Dara" <[EMAIL PROTECTED]> wrote:

> The code below worked for me when I needed to deal
> with that.
> 
> Another option (potentially, depending on your
> setup) is to install the
> ssl certificate for the secure site.
> 
> To do that, manually navigate to https://mysite and
> when you get the
> security popup, click "view certificate" and follow
> the steps to install
> the certificate. Future visits to the secure site
> should not then prompt
> you with the security popup. You would need to
> install the certificate
> for each client machine that runs your tests.
> 
> here's the code:
> 
> require 'watir/WindowHelper'
> 
> require 'watir'
> include Watir
> 
>   ie = IE.new
> 
>           a = Thread.new {
>             ie.goto(https://mysite)
>                    }
>           b = Thread.new {
>                       helper = WindowHelper.new
>                       helper.push_security_alert_yes
>                     }
>                 a.join
>                 b.join
>       
> 
>   
>  
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Gavazn Vahshi
> Sent: Tuesday, May 23, 2006 1:32 PM
> To: [email protected]
> Subject: [Wtr-general] [question] Javascript
> security alert popup?
> 
> Hello everyone,
> 
> What's the best approach to deal with javascript
> security alert popups?
> Is autoit a good choice?
> 
> I get the popup when I try http://mysite and the
> link is forwarded to
> https://mysite waiting for user confirmation.
> 
> I'm kind of new to this, but I did go through a few
> months of threads
> and was not able to find a solution in autoit.
> 
> Thanks,
>   -G
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
> 
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to