Recorder tool for webtest
A recording tool is available for webtest. It is quite rudimentary but saves effort in writing the initial scripts that can then be modularized for the application under test.
It builds on the recorder.xpi extension from spikesource
http://developer.spikesource.com/frs/?group_id=14 There is no proxy tools or other configuration required other than firefox and this extension
Overview
It provides a user interface to start and stop recording. When recording it saves responses to a temporary directory and at the end of the recording it saves the script in the same directory.
The script comes as an xml file and a html file starting with the name webtest. The html file contains the same steps as the xml file where each step is hyperlinked to the corresponding page from which that step was executed upon.
Installation
This tool works with Firefox v1.5+. The tool installs as an extension
- First install Firefox v1.5+.
- Then double click on the recorder.xpi file (see attachement).
- A window shows up with an install button.
- Click install and after it finishes restart Firefox.
- A toolbar should display called TestGen4Web.
Usage
This tool installs a toolbar with start and stop recording buttons. To enable/disable viewing this toolbar goto menu item View | View Toolbar and toggle the TestGen4Web toolbar
Click on the preferences button on the tool bar and click on the Change button in the dialog. Select the directory under which webtest scripts and responses can be saved.
Goto the page where you want to start recording. Click on the record button. At this time a directory under the working directory will be created starting with webtest and a timestamp in milliseconds. Responses are saved under here with filenames starting with webtest and ending in timestamp+.html
Work with the browser as usual. Once done click on the stop button. At this time webtest.xml and webtest.html files are written to the same directory.