In-browser automated web site testing
By andre
Since I heard about first release of Mozilla browser, and the fact, that most of it was written in JavaScript and XUL, I thought about creating a web testing tool, which would use Mozilla-based browser to test web site functionality automatically.
The tool would automatically visit every link on every page and would try to click every button and so on. The tool should be configurable via some sort of script language. In the end the human user would be presented with a report.
The advantages are obvious - this is actually the only way to handle automatically sites with complex JavaScript functionality, especially those, which construct URLs on the fly and handle user clicks in JavaScript functions. It would not be very useful for load testing - but there are enough other tools to accomplish this task.
It looks like Selenium IDE try to do something similar, but their approach is more browser-neutral. They embed the web site to be tested inside their own iframe and then control the test execution from there using JavaScript. I haven’t tested it yet, so cannot comment on its actual usability. It is open source, so you can give it a go if you find it interesting.