Script support functions
When you record or edit a functional test script, you can insert codes to add features into the test script by using the tabs in the Script Support Functions dialog. The following table lists the tab names and the features associated with each of the tabs:
Tab name | You can... |
---|---|
Call Script |
Insert a statement to call another test script. |
Log Entry |
Insert a log message into the test script. During playback, this message is displayed in the log. |
Timer |
Insert or stop a timer in the current script. Timers remain in the running state until you stop them explicitly or close HCL DevOps Test UI (Test UI). |
Sleep | Insert a sleep command into the test script to delay the script for the time that you specify. |
Comment | Insert a comment into the test script. |
Clipboard | Insert system clipboard commands into the test script. |
Note: You can open the Script Support Functions dialog
in one of the following ways:
- You can click the Insert Script Support Commands button on the Recording Monitor toolbar when you record the test script.
- You can click the Insert Recording into Active Functional Test Script button on the Functional Test toolbar, and then click the Insert Script Support Commands button on the Recording Monitor toolbar when you edit the test script.
The following links provide more information:
- Calling a script from a functional test script
- Inserting a log message into a functional test script
- Using timers with functional test scripts
- Setting delays and sleep states for functional test script playback
- Inserting comments into a functional test script
- Inserting clipboard commands into a functional test script