Log Entry tab: Script Support Functions dialog

You use the Log Entry tab to insert a log message into a Functional Test scripts and indicate whether it is a message, warning, or an error. During playback, HCL DevOps Test UI (Test UI) inserts this information into the log.

The Log Entry tab has the following controls:

Message to write to the log
Enter the text you want to include in the log.
Result
Select the type of message you want to add to the log. The result type will be displayed in the log.
Information
Indicates that the text will be entered as a message.
Warning
Indicates that the text will be entered as a warning. The warning state is also reflected in the endScript message result type.
Error
Indicates that the text will be entered as an error. The error state is also reflected in the endScript message result type.
Insert Code
Inserts code into the script based on the option you selected in the Result section, where message is the text you entered:
     logInfo("message")
     logWarning("message")
     logError("message")

To open: If recording, click the Insert Script Support Commands button Insert Script Support Commands button on the Recording Monitor toolbar and click the Log Entry tab. If editing, click the Insert Recording into Active Functional Test scripts button Insert Recording into Active Functional Test scripts button on the Test UI toolbar, click the Insert Script Support Commands button Insert Script Support Commands button on the Recording Monitor toolbar, and click the Log Entry tab.