Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
alert_ok() is the subroutine that i have added in winclicker module to click on alert window it is same as other subroutines except the subroutine name. The main issue i am facing is i am not able to goto next line of code once the button is clicked. After that the code gets stuck.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);
|
|---|