April 17, 2006
Automated Web Site Testing
It seems to me that in the corporate world, where I work, there is a huge push for test-first development and for more testing of applications before they are shipped out the door. This is a good thing!
However, when it comes to creating automatic tests for web pages and their content, nobody seems to know what to do! I realize that there are expensive automated web tools available, but most people don't realize that automated testing of web pages/sites can be done, quite easily, with Perl and WWW::Mechanize, or better yet, the Test::WWW::Mechanize module.
By using Perl modules such as these, it is quite easy to handle many automated web testing situations. You can also get creative and use modules HTML::Parser and HTML::TableExtract to really be able to drill-down into the data and make sure everthing is exactly how it should be!
I'd bet that I hear "I didn't know you could do that in Perl" at least three times per week because of the vast amount of excellent tools and modules available to Perl!
Posted by Brent Michalski at 03:32 PM Permalink
This is a public forum. CMP Media and its affiliates are not responsible for and do not
control what is posted herein. CMP Media makes no warranties or guarantees concerning any advice dispensed by
its staff members or readers.
Community standards in this comment area do not permit hate language, excessive profanity, or
other patently offensive language. Please be aware that all information posted to this comment area becomes the
property of CMP Media LLC and may be edited and republished in print or electronic format as outlined in CMP
Media's Terms of Service.
Important Note: This comment area is NOT intended for commercial messages or
solicitations of business.
|