Recording scripts in an existing script

You can record test scripts at the cursor location of an existing script, to start test applications, insert verification points, and add script support functions.

Before you begin

You must have created a test script. See Creating a new test script without recording.

Procedure

  1. Place the cursor in the script where you want to begin recording.
  2. Click Script > Insert Recording.
    The Recording Monitor page is displayed, and then the recording begins.
  3. Click Start Application to start your test application on the Recording toolbar.
  4. Perform any of the following actions in the application:
    • To record a verification point, locate the object in your application to test and click Insert Verification Point or Action Command.
    • To insert any features such as a call script command, log entry, timer, script delay command, or comment into the script, click Insert Script Support Commands.
  5. Close the application.
    Note: You can close the application to record the close action.
  6. Click Stop Recording when the recording is complete.
    The Rational® Functional Tester window is restored, and then the script is displayed.

Results

You have recorded test scripts in an existing script.