To insert a log message into a Functional Tester script:
If recording, click the Insert
Script Support Commands button on the Recording
Monitor toolbar.
If editing:
Position the pointer in the script where you want the log message.
Click the Insert
Recording into Active Functional Tester Script button on the Functional Tester toolbar.
Click the Insert
Script Support Commands
button on the Recording Monitor toolbar.
Click the Log Entry tab in the Script Support Functions dialog box.
In the Message to write to the log field, enter the message text.
In the Result section, select either Information, Warning, or Error.
Click Insert Code.
Functional Tester inserts code in 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")
Click Close to remove the Script Support Functions dialog box from the screen.
You can also script a call to logTestResult( ).
Related Topics:
Recorder Monitor Preferences Page
Terms of use | Feedback
(C) Copyright IBM Corporation 2002, 2004. All Rights Reserved.