To view a Functional Tester log, do the following to set the logging preferences:
In Functional Tester, Java Scripting, click Window > Preferences. In Functional Test, VB.NET Scripting, click Tools > Options.
In the Preferences or Options dialog box, in the left pane, expand Functional Tester, expand Playback, and click Logging.
Select Display log viewer after script playback to open up the log automatically after playback.
Select any other logging options.
Set the viewing preferences in the Log type list:
A. To view a Functional Test log without using TestManager, clear the Use Default check box, and select Text or HTML. If you select Text, the text log file opens in the Functional Tester Script Window. If you select HTML, the HTML log file opens in your default browser. These logs are stored in a log folder in the same location as the Functional Tester project, but not in the project itself. The log folder name is the project name with a suffix of _logs. For example, projectname_logs.
You can open these logs at any time from the Functional Test Projects view. In Functional Tester Projects view, the HTML and text logs are listed within each project. The log list appears underneath the project, with the same name and _logs added. You can select a log there and right-click Open Log, Rename, or Delete. If your script has a verification point, you can select the log and open it in the Verification Point Editor by clicking Open VP, or open it in the Verification Point Comparator by clicking Open Comparator.
B. To view a log from the Test Log window of TestManager, select TestManager. (This is the default behavior if TestManager is installed.) TestManager stores these logs as part of a Rational project and opens the log in the Test Log window.
You must use the Rational Administrator to give write privileges that allow Functional Tester users to run Functional Tester scripts, and manage and view logs from TestManager. If you do not give write privileges to the appropriate Functional Tester users, TestManager does not create a log or play back the Functional Tester script. For information about privileges and the Test Group dialog box, see the Rational Administrator Help.
Click Apply to save the new settings and to continue changing options, or click OK to save the new setting and to close the Preferences dialog box.
You can use the Verification Point Comparator to view the results of a verification point from the HTML log. At the end of each verification point entry in the HTML log is a View Results link. Click that link to open that verification point in the Comparator. If the verification point failed, the baseline and actual files are shown side by side so that you can compare the data. Note that if you get an error about the Java plug-in when trying to start the Comparator from the View Results link in the HTML log, verify that your plug-in is configured properly. For instructions, see Enabling the Java Plug-in of a Browser.
Note About TestManager Integration
Functional Tester is integrated with Rational TestManager version 2003.06.13. If you have the 2003.06.13 version of TestManager, you will be able to use the integrated features of Functional Tester and TestManager. Please see Understanding Functional Test Product Packaging and Integrations for important information on using the products together.
Related Topics:
Associating a Functional Tester Project with a Rational Project
Managed Logs and Rational TestManager
Terms of use | Feedback
(C) Copyright IBM Corporation 2002, 2004. All Rights Reserved.