Hello All,
Can anyone guide me on this. it is a bit urgent . Thanks in advance !
Mithun
User Profile
Collapse
-
Can't call method "value" error when running perl script
I am trying to automate the process of filling up the webforms and do a submit .
I have the below program written but If I run the program . I get the following error message
Can't call method "value" on an undefined value at C:/Perl/site/lib/Win32/IE/Mec
hanize.pm line 900.
Please let me know your inputs on the same
[CODE=perl]
#!c:\perl\bin\p erl.exe
use strict;... -
How to access forms < id > using Win32::IE::Mechanize->new( )
Hello All,
How do we access form using Win32::IE::Mech anize->new( ) ?
I know we have a method
$mech->form_name('"na me") .But what if the form has only the 'id' attribute and no name attribute,
In this case how do we access the form through Win32::IE::Mech anize->new()
Kindly reply
Mithun -
Hello All,
just to be more clear . I am trying to fill up the fields of the website and want to do a submit from the script.
But I get the following error
Can't call method "value" on an undefined value at C:/Perl/site/lib/Win32/IE/Mec
hanize.pm line 900....Leave a comment:
-
mithunmo started a topic Can't call method "value" on an undefined value error after perl script is runin PerlCan't call method "value" on an undefined value error after perl script is run
If I run the below program . I get the following error message
Can't call method "value" on an undefined value at C:/Perl/site/lib/Win32/IE/Mec
hanize.pm line 900.
Please let me know your inputs on the same
#!c:\perl\bin\p erl.exe
use strict;
use WWW::Mechanize;
use HTTP::Cookies;
use LWP::debug qw(+);
use Win32::IE::Mech anize;
...
No activity results to display
Show More
Leave a comment: