Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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
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.

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 examining the Monastery: (4)
As of 2016-02-07 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (250 votes), past polls