in reply to Re: Using Perl to Test a Web App that uses Javascript
in thread Using Perl to Test a Web App that uses Javascript

I'm not sure about that. The javascript does more than form processing, it also manipulates the data and sets a couple inputs before submitting the form. I have tried HTTP::Recorder and WWW::Mechanize, but HTTP::Proxy had some problems and didn't work.

--
negativespace.net - all things inbetween.

  • Comment on Re^2: Using Perl to Test a Web App that uses Javascript

Replies are listed 'Best First'.
Re^3: Using Perl to Test a Web App that uses Javascript
by perrin (Chancellor) on Jun 09, 2004 at 23:09 UTC
    It doesn't matter what the JavaScript does. All that matters is what eventually gets sent back to the server after the JavaScript finishes. That can be captured and tested with Mechanize, since it's just an HTTP request like any other.