You can set the log preferences to view a log from Rational® Functional
Tester. You can view, rename, or delete a log from the Functional
Tester Projects view.
Setting log preferences
You can set your
log preferences to view a log from Rational Functional Tester.
To set the log preferences:
- Click .
- On 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:
- To view a Functional Test log from Rational Functional Tester,
clear the Use Default check box, and select
Text, HTML, or XML.
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.
Note: To view the
results of a particular verification point from the HTML log, click View
Results at the end of a verification point entry. The
Verification Point Comparator displays the baseline and actual files
side by side if the verification point failed, so you can compare
the data.
Note: If you get an error about the Java plug-in when
you click the View Results link in the HTML
log, verify that your plug-in is configured properly.
If
you select
XML, the XML log file opens in
your default browser.
Note: Ensure that the default browser version
is supported by Rational Functional Tester.
- If you select TPTP, the TPTP log file
opens in the Functional Tester Script Window.
- 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.
Viewing logs from the Functional Tester Projects view
You
can open a log from the Functional Test Projects view. In Functional
Tester Projects view, the HTML, XML, and text logs are listed within
each project. The log list appears underneath the project, with the
same name and _logs added. For example, projectname_logs.
- To view a log, select a log in the Functional Tester Projects
view and right-click Open Log.
- To open the log in the Verification Point Editor, select a log
in the Functional Tester Projects view and right-click Open
VP.
- To open a log in the Verification Point Comparator, select the
log in the Functional Tester Projects view and right-click Open
Comparator.
Viewing Dojo log
The Dojo log is based on
the XML log and displays a graphical representation of the test result.
You can use Dojo log to select the filter, view the verification points,
failed verdicts, warning verdicts, and the detailed information on
each action recorded in the script. The Dojo log opens in your default
browser after script execution.
To view a Dojo log:
- Start Functional Tester.
- Record a script.
- Click .
- On the left pane, expand .
- Click Logging.
- Ensure that the Use Default checkbox is
unchecked.
- Select xml from the Log type list,
and click OK.
- Playback your script. The Dojo log is displayed in your default
web browser.
Renaming and deleting logs
You can rename
and delete logs from the Functional Tester Projects view.
- To rename a log, select a log in the Functional Tester Projects
view and right-click Rename.
- To delete a log, select a log in the Functional Tester Projects
view and right-click Delete.