Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by coolmichael (Deacon)
on Jun 09, 2004 at 22:05 UTC ( #362909=note: print w/ replies, xml ) Need Help??


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
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://362909]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-07-11 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (221 votes), past polls