Can you use Win32::GuiTest to find the SSL security warning windows
(since it's a windows alert) and handle it?

On Thu, Apr 19, 2012 at 10:45 AM, alok <nag.a...@gmail.com> wrote:
> I am trying to use Win32::IEAutomation module to test one web
> application which is HTTPS based.
>
> I am unable to bypass SSL security warning.
>
> Can someone help - here's the code I am using.
> use Win32::IEAutomation;
> use Win32::IEAutomation::WinClicker; # this will provide methods to
> interact with dialog box
>
> #Step 1 : Create a instance of IE
> my $ie = Win32::IEAutomation->new(visible => 1, maximise  => 1,
> warning => 1);
>
> #Goto some URL
> $ie->gotoURL('https://somesite.com', 1);
> $ie->WaitforDone; # we will wait here for complete loading of
> navigated site
> $ie->getLink('linktext:', qr/Continue to this website/i)->Click;
> sleep 5;
>
>
> Also tried -
> Win32::IEAutomation;
> use Win32::IEAutomation::WinClicker; # this will provide methods to
> interact with dialog box
>
> #Step 1 : Create a instance of IE
> my $ie = Win32::IEAutomation->new(visible => 1, maximise  => 1,
> warning => 1);
>
> #Goto some URL
> $ie->gotoURL('https://somesite.com', 1);
> my $clicker = Win32::IEAutomation::WinClicker->new();
> $clicker->push_security_alert_yes();
>
> Any help is appreciated.
> Thanks.
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to