Hi All, How are you Guys?
I am using the Code
use Win32::IEAutomation;
# Creating new instance of Internet Explorer
my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1);
# Site navigation
$ie->gotoURL('http://www.google.com');
When I am executing this code I am getting an error
Could not start AutoItX3 Control through OLE.
Any Idea how to resolve it.
Hi.. I tried a lot. But got getting solution.. Any idea you can give. How it can be resolved
http://www.perlmonks.org/?node_id=942141
use strict;
use Win32::OLE;
my $ie = Win32::OLE->new( 'InternetExplorer.Application' )
or die "error starting IE";
$ie->{visible} = 1;
$ie->navigate( 'http://www.google.com/' );
sleep(4);
if(!defined $ie->Document())
{
print STDERR "Nope that failed as well");
}
else
{
print "We have something back!\n";
}
But by using Win32::OLE I cannot use the functionality of Win32::IEAutomation;