Do you know where your variables are? | |
PerlMonks |
Re^5: Using Perl to Test a Web App that uses Javascriptby perrin (Chancellor) |
on Jun 08, 2004 at 19:29 UTC ( [id://362513]=note: print w/replies, xml ) | Need Help?? |
There is more to testing this sort of thing than just what passes between the client and the server. No, there isn't, unless you are testing a web browser. All that matters when testing a server is that you send in a certain request and get back a certain response. If you really want to check that the correct JavaScript was returned, you can compare it to a known correct sample. It's no different from checking any other content in an HTTP reply.
In Section
Seekers of Perl Wisdom
|
|