AJAX, Web 2, and TestMaker
PushToTest TestMaker provides three ways to create a unit test that may be then run as a functional test, load and scalability test, and service monitor:
- Use TestGen4Web to record a Web application
- Use the Network Proxy Recorder to watch a browser interact with the host
- Write a unit test using one of the many supported languages
The TestGen4Web utility does not support Web 2.0 and AJAX very well. It does not model the operations in a JavaScript that may include making asynchronous calls to the back-end.
We recommend using TestMaker's scripting support to test AJAX applications. In TestMaker transform the TestGen4Web recorded file into a Jython script (use the Tools menu -> Import TestGen4Web) and change it to emit the HTTP calls to the target host that the JavaScript in your app is doing. Although you may need to learn Jython or one of the other support languages, you will not have to get a PHD degree.
We are investigating a way to use Selenium and HTMLUnit and Rhino to record a test, transform it into a TestMaker test agent script, and then run it in the TestMaker environment.
With our current workload it may be a few months before this is done. We would be happy if a company or individual would like to provide an engineer for 2-3 weeks and we could get this done right away.
-Frank


