Getting Error when using Module Win32::IEAutomation;

 
Thread Tools Search this Thread
# 1  
Old 12-02-2012
Getting Error when using Module Win32::IEAutomation;

Hi All, How are you Guys?
I am using the Code
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.

Last edited by adisky123; 12-02-2012 at 11:18 AM.. Reason: Extra Duplicate Line.
# 2  
Old 12-03-2012
Hi, Any idea..
# 3  
Old 12-19-2012
Hi.. I tried a lot. But got getting solution.. Any idea you can give. How it can be resolved
# 4  
Old 12-19-2012
http://www.perlmonks.org/?node_id=942141

Code:
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";
  }

# 5  
Old 12-21-2012
But by using Win32::OLE I cannot use the functionality of Win32::IEAutomation;

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Perl module error in testing ramkumar15 Shell Programming and Scripting 13 02-28-2015 09:29 AM
error:- sh: error importing function definition for `module prasson_ibm UNIX for Advanced & Expert Users 0 09-26-2012 04:42 PM
drbd module compiling error for Kernel vishal_vsh1 UNIX for Advanced & Expert Users 0 04-20-2012 04:09 AM
insmod: Invalid module format error rupeshkp728 UNIX for Dummies Questions & Answers 5 02-03-2012 11:43 AM
Strawberry perl - New TK module installation error vasanth.vadalur Windows & DOS: Issues & Discussions 3 07-06-2011 05:54 AM
Perl - Error loading module. coolbhai Shell Programming and Scripting 9 06-21-2009 09:53 AM
perl module error zedex Shell Programming and Scripting 0 05-06-2009 03:24 PM
Apache module compilation error hjalle UNIX and Linux Applications 4 03-05-2009 04:25 PM
How to convert Linux Kernel built-in module into a loadable module anitemp Linux 0 10-10-2008 02:33 AM
win32::IEAutomation jyo123.jyothi Shell Programming and Scripting 3 07-17-2008 06:02 PM
execution status of gotoURL in Win32::IEAutomation gurukottur Shell Programming and Scripting 2 11-22-2007 03:27 AM
perl win32::ieautomation gurukottur Shell Programming and Scripting 0 11-06-2007 08:59 AM
help: error in installing perl module DBD::mysql Yogesh Sawant UNIX and Linux Applications 3 11-05-2007 08:22 AM
perl script using Win32::IEAutomation gurukottur Shell Programming and Scripting 5 10-29-2007 02:14 AM
get error while compiling apache with php module jApHEth UNIX for Dummies Questions & Answers 2 11-29-2001 01:49 AM