I've been given the daunting task of creating a testing framework in Perl. All is good with the world, thanks to WWW::Mechanize by petdance. Everything would be cool, with Test::Harness and friends, except that the web app makes heavy use of javascript. All the forms are verified and submitted with javascript, and a lot of the page layout is done with javascript. I have not had much luck even getting the test scripts to login to the app.
About the application itself: It is written in a combination of VB/ASP/Javascript. I'm only testing the user interface by submitting forms and following links. The app is specific to IE4,5 and 6, but I don't think that should matter too much.
I had thought about trying to combine Javascript and WWW::Mechanize but I don't know where to begin. I would really like to know what sort of experiences other monks have had in a similar situation? How did you begin? Is it even possible? Is there a better tool available?
--
negativespace.net - all things inbetween.
In reply to Using Perl to Test a Web App that uses Javascript by coolmichael
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |