use Win32::IEAutomation; use Win32::IEAutomation::WinClicker; my $clicker1 =Win32::IEAutomation::WinClicker->new(warnings => 1); #----------------------------------------------------------- code for filling other input fields of form. #------------------------------------------------------------ my $title="Message from webpage"; $ie->getButton('caption:', "Submit",1)->Click; $clicker1->alert_ok($title);