Logging page

You use the Logging page to set log and comparator options, such as preventing the script launch wizard from displaying on playback, displaying the log viewer after playback, and displaying a message before overwriting an existing log. You also use this page to indicate the type of log generated.

The Logging page contains the following options:

Don't show script launch wizard -- Prevents the script launch wizard from displaying each time you play back a script.

Display log viewer after script playback -- When selected, displays the log after you play back a script. If the log type is HTML, the log opens in your default browser. If Text, the log opens in the Script Window of HCL OneTest™ UI. If XML, the log opens in your default browser.

Log screen snapshot for each actions on the application -- When selected, records a screen snapshot in the playback log against every action performed on the application.

Prompt before overwriting an existing log -- When selected, prompts you before you overwrite a log.

Log the count of test objects created/unregistered at particular script line -- When selected, logs these details:
  • Number of objects created and unregistered at a specific script line
  • Total number of objects created and unregistered per call script
  • Cumulative number of test objects created and unregistered for the whole script during playback if HCL OneTest UI scripting methods have been used to return test objects.
Warning messages are also logged at the call script level and the main script level, if the number of test objects created exceeds the number of test objects unregistered, which would suggest the possibility of memory leaks during playback.

Log a screen snapshot when playback fails -- When selected, takes a screen snapshot at the time of the failure and stores it in the log. Clear the check box to save storage space (172 KB per snapshot).

Log GUI actions on the application -- When selected, adds a detailed record of any GUI-related actions performed on the application (without a screen snapshot) to the playback log.

Log type -- Indicates the type of log HCL OneTest UI generates to write results of script playback. Log types include:

  • Text -- Displays a log in ASCII format in the Functional Test script window.
  • HTML -- Displays a log in HTML format in your default browser. The left pane in the HTML log contains three boxes: Failures, Warnings, and Verification Points. The list of items in each box help you navigate to a specific location in the log. You can select an item to quickly find important errors, warnings, and verification point results in the log. To do so, double-click an item in a list, and HCL OneTest UI scrolls to and displays the item in the log.
  • TPTP -- Displays a log using TPTP in the Functional Test script window.
  • XML -- Displays a log of XML data rendered in HTML format [using transformation and Cascaded Style Sheets] in your default browser.

Use Default -- Clear the check box to change the value in the Log type field. Select the check box to restore the default value.

Restore Defaults -- Restores the default values on this page.

Apply -- Saves your changes without closing the dialog box.

Click Window > Preferences. In the left pane, expand Functional Test and click Logging.

Feedback