in reply to Re^2: A couple of questions about Win32::IEAutomation
in thread A couple of questions about Win32::IEAutomation

Have you had any luck with this. I'm having similiar problems. sometimes it works sometimes it does not. Below is my test: the first confirm works about 80% time, sometimes it does not. The second confirm never works. It never gets to made it hear4. sub test{ my $ie = Win32::IEAutomation->new(); $ie->gotoURL("www.samisite.com/test-csb2nf/id108.htm",1); # second argument says that don't wait for complete document loading and allow code to go to next line. print "made it here1\n"; my $clicker = Win32::IEAutomation::WinClicker->new(); print "made it here2\n"; $clicker->push_confirm_button_ok("Windows Internet Explorer"); print "made it here3\n"; $ie->WaitforDone; $ie->getButton('value:', "ORDINARY BUTTON")->Click(1); print "made it here4\n"; my $clicker = Win32::IEAutomation::WinClicker->new(); print "made it here5\n"; $clicker->push_confirm_button_ok("Windows Internet Explorer"); print "made it here6\n"; #$ie->WaitforDone; # we will wait here for complete loading of navigated site print "made it here7\n"; $ie->closeIE(); }
  • Comment on Re^3: A couple of questions about Win32::IEAutomation