Home Man
Search
Today's Posts
Register

All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

Getting Error when using Module Win32::IEAutomation;

Login to Reply

 
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 10: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;
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Perl module error in testing ramkumar15 Shell Programming and Scripting 13 02-28-2015 08:29 AM
error:- sh: error importing function definition for `module prasson_ibm UNIX for Advanced & Expert Users 0 09-26-2012 03:42 PM
Perl - Error loading module. coolbhai Shell Programming and Scripting 9 06-21-2009 08:53 AM
perl module error zedex Shell Programming and Scripting 0 05-06-2009 02:24 PM
How to convert Linux Kernel built-in module into a loadable module anitemp Linux 0 10-10-2008 01:33 AM
win32::IEAutomation jyo123.jyothi Shell Programming and Scripting 3 07-17-2008 05:02 PM
execution status of gotoURL in Win32::IEAutomation gurukottur Shell Programming and Scripting 2 11-22-2007 02:27 AM
perl win32::ieautomation gurukottur Shell Programming and Scripting 0 11-06-2007 07:59 AM
perl script using Win32::IEAutomation gurukottur Shell Programming and Scripting 5 10-29-2007 01:14 AM
get error while compiling apache with php module jApHEth UNIX for Dummies Questions & Answers 2 11-29-2001 12:49 AM


All times are GMT -4. The time now is 02:25 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password