http://qs321.pair.com?node_id=131172


in reply to Application for 'Quality Assurance'

What kind of application are you trying to test? Web based or regular binary application (i.e. Word or Excel)? If you are testing a web application, you can write Perl scripts (using LWP) to GET/POST pages and do things like check for minimum page size or required text. It is possible to script IE with Perl or VBScript to automate some testing. If you are testing binary application, you'll need something to send events (i.e. key presses/mouse clicks) to the application. If your company can afford it, it might be better to consider purchasing an automated testing tool (WinRunner from Mercury Interactive or SilkTest from Segue) and use that instead of Perl. I'm stuck in a situation where I need to do testing, but the company I work for can't/won't purchase the tools I need to effectively test the application. I'm using Perl to do what I can, but I'd be more effective if I had the right tool for the job.

Replies are listed 'Best First'.
Re: Re: Application for 'Quality Assurance'
by Anonymous Monk on Dec 12, 2001 at 16:59 UTC
    If you are looking to automate tests of web-based applications, you might have a look at the HTTP::Monkeywrench (Mw). Mw lets you simulate a set of "clicks" around a website, passing parameters to forms, testing the output against regular expressions, etc. Written by the good folks at cnation. I have just released a beta module called HTTP::TestEngine to sourceforge that provides a macro recorder utility for Mw. Basically you can just click around your site, and TestEngine will record your clicks, the parameters you submit etc. You can then write a Mw script to "playback" your session. Requires mod_perl and a couple of modules from CPAN. -Chris Brooks