No Dialog Boxes working



I'm trying to click dialog boxes using Win32::IEAutomation::WinClicker-
new();
I'm having no success in getting this buttons to click in the dialog
boxes.

Below is the code I'm using.

$ie->getButton('caption:', "Add")->Click(1);
my $clicker = Win32::IEAutomation::WinClicker->new();
clicker->push_confirm_button_ok("Windows Internet Explorer");
$ie->WaitforDone;

Anyone have any idea on what I'm doing wrong?

.


Quantcast