Inserting a Log Message into a Functional Tester Script

To insert a log message into a Functional Tester script:

  1. If recording, click the Insert Script Support Commands button Insert Script Support Commands button on the Recording Monitor toolbar.

    If editing:

    1. Position the pointer in the script where you want the log message.

    2. Click the Insert Recording into Active Functional Tester Script button Insert Recording into Active Functional Tester Script button on the Functional Tester toolbar.

    3. Click the Insert Script Support Commands button Insert Script Support Commands button on the Recording Monitor toolbar.

  2. Click the Log Entry tab in the Script Support Functions dialog box.

  1. In the Message to write to the log field, enter the message text.

  1. In the Result section, select either Information, Warning, or Error.

  1. 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:

  2. Click Close to remove the Script Support Functions dialog box from the screen.

You can also script a call to logTestResult( ).

Related Topics:

Logging Preferences Page

Recorder Monitor Preferences Page

Writing Messages to the Log

Terms of use | Feedback
(C) Copyright IBM Corporation 2002, 2004. All Rights Reserved.