Recording a test

Previous Next

Once you have the Web Benchmark control added to your application, you can begin recording tests. Recorded tests can be used within other tests using the Invoke icon, allowing you to use (short) tests as sub-procedures of other, larger tests.

When you come to play the test you want to record, the default starting point is the page that is currently being visited by the browser. For this reason, good practice is to start recording your test by navigating to the intended first page of the test. This way, at play time, you can start the test from any page in your application.

To record a test:

1.Click Record WB_cliprecord on the Web Benchmark control.
The control goes into recording mode. This causes some icons to be disabled, while others are enabled.
2.Perform click and type actions that you want to record.
Click Pause WB_clippause to pause recording actions.
3.When you have performed the last action you want to record, click Stop WB_clipstop .
The control exits recording mode.
4.Click Save WB_clipsave to save the test in the local repository of the Web Benchmark control, then play to see if it works correctly. Alternatively, you can click Edit WB_clipedit to edit your recording by changing or removing actions, and click Save when you are done.

 

collapseTab key is not recorded
collapseDrag-and-drop is not recorded
collapseKeystrokes in dialogs are not recorded
collapseActions on custom controls are not automatically recorded
collapseNumber-of-record checks may be recorded

 

See also

The Web Benchmark control