Had the same problem, it turns out that the root cause is the security
setup in IE7. I would guess that your security settings cause IE7 to
open a web page that changes security zone in another window, doing that
cause a new window to be opened, and the Win32::IEAutomation->New points
at the first (empty) window. Try adjusting either the security settings
of IE7 or the url of the page you want to access. In my case switching
to FQDN did the trick.
Regards Jakob Staerk
On Tue Oct 21 23:53:26 2008, dhirendra_jha@in.com wrote:
Show quoted text> Hello,
>
> Thanks for this module in Perl.
>
> I am using IE7 on windows XP SP2. The script is not working. There are
> two windows of IE7 is opening and getting error message "Can't call
> nethod readystate on an undefined value at
> C:/Perl/site/lib/Win32/IEAutomation.pm line 561".
>
> Browser - IE7
> OS - Win XP SP2
>
> Note - The same script is working fine in IE 6.5
>
> Please let me know how this issue will resolved.
>
> Regards,
> Dhirendra Jha