Job Hunt Day 6: MaxQ Open Source web testing tool try out.

I downloaded MaxQ from Tigris projects. Trying it out. (sidenote: Tigris projects are hosted by CollabNet, a company founded by Brian Behlendor, a co-founder of Apache) to run on Mac OS X and Firefox browser.

Install: just download and run ‘bin/maxq’

Sep 13, 2005 4:44:46 PM com.bitmechanic.maxq.Main startGUI

INFO: MaxQ Proxy Recorder v0.98

Sep 13, 2005 4:44:46 PM com.bitmechanic.maxq.Main startGUI

INFO: Proxy server started on port: 8090

and a test editor window pops up.

Now we need to setup Firefox: Open Firefox>Preferences window. Undr General tab click on ‘Connection Settings…’ button to set up a proxy. Check radio button ‘Manual Proxy Configuration’ and type ‘localhost’ in HTTP Proxy edit box and type ‘8090′ in Port edit box. We are done.

Go to MaxQ Editor and select File>New>Standard Script You should get this template: Now we are ready to record. Select Test>Start Recording.

In a browser I type “http://marekj.com/” and hit ‘enter’ key. I wait for the page to load and then click on a link to go to this blog. I wait for the entire page to finish downloading and return to MaxQ editor and select Test>Stop Recording. MaxQ asks to save this script. I call it ‘blindspot.py’ So now we should have a script that looks like this. So now what?

That’s a pretty long script. Not very readable. Will it run?

Let’s try. Select Test>Run. Here is the output. Done. I got a 404 on favicon.ico because it wasn’t there. It was recorded because it’s part of HTTP protocol.Then I got 301 on a js file embedded by technorati script at the end of the document.

The script itself is quite wordy I might say. It would be so useful to have some framework to make it keyword driven testing ruather than pure python code. OK. that’s it for now. We’ll get back to MaxQ some other time.

Technorati Tags: , ,

close Reblog this comment
blog comments powered by Disqus