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
- Place the cursor in the script where you want to begin recording.
-
Click
.The Recording Monitor page is displayed, and then the recording begins.
- Click Start Application to start your test application on the Recording toolbar.
-
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.
-
Close the application.
Note: You can close the application to record the close action.
-
Click Stop Recording when the recording is complete.
The HCL OneTest™ UI window is restored, and then the script is displayed.
Results
You have recorded test scripts in an existing script.