Kashratul has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I am speaking in context to Win32::IEAutomation.

I encountered a problem. Like if we navigate from Goolge to Gmail via the link given on Google main page.

A popup called "Security Information" will surface.

Now with this code I felt it should have worked

$ie->getButton('caption:', "Yes")->Click(1); #OR my $clicker = Win32::IEAutomation::WinClicker->new(); $clicker->push_security_alert_yes(); $ie->WaitforDone; #OR my $clicker = Win32::IEAutomation::WinClicker->new(); $clicker->push_button_yes("Security Information"); $ie->WaitforDone;

But unfortunatly none of them worked. Any help

Replies are listed 'Best First'.
Re: Handling Pop up windows using Win32::IEAutomation
by marto (Cardinal) on Feb 13, 2008 at 12:53 UTC
    Kashratul,

    I think you need to change the security settings ('Tools'->'Internet Options'->'Security' tab) so that this warning does not get displayed. If you are just looking to access Gmail why not use one of the Gmail modules?

    Martin