PDA

View Full Version : WWW::Mechanize and Javascript


Novice_perl
Mar 3, 2006, 05:36 AM
Hi all,
I am using Mechanize module of perl to do some web based testing.The client side validation which is written in javascript cannot be invoked from mechanize .
I searched for it...

The result is No.. No.. No.. Theortically Impossible.
Javascript cannot be called from Mechanize.

But I donot know how to make my script work without invoking the javascript function which contains the maximum part of the client side validation checks.Do anyone have an alternate idea to handle the problem.

Please give me any suggestion

LTheobald
Mar 3, 2006, 07:43 AM
I'm not tally getting the problem.

Why can't you just test your code without the client validation? All it would mean surely is rigging up a test page without the validation and using that to call your script with various sets of test data.