background image
<< About Purify and Robot | Diagnostic Tools >>
<< About Purify and Robot | Diagnostic Tools >>

How the Diagnostic Tools Work with Robot

Setting GUI Playback Options
9-13
PureCoverage is a code coverage analyzer that reports which modules, functions,
and lines of code were and were not executed in any run or collection of runs.
Using PureCoverage to monitor a script reveals how comprehensively that script
exercises the application-under-test and can provide helpful information about
which code paths are taken under particular scenarios.
How the Diagnostic Tools Work with Robot
For Visual C/C++ and Visual Basic applications, these diagnostic tools work best
when the applications have been compiled with debug information (in other words,
when a .pdb file is available). These tools use the Rational Object Code Insertion
(OCI) technology to insert instrumentation probes into the executable program for
the application before it runs. When you select a diagnostic tool in the GUI
Playback Options dialog box, you instruct Robot to call that tool to instrument the
application that is to be started, and then you run the instrumented application in
place of the original.
For Java applications, Quantify and PureCoverage put the JVM into a special mode
to enable event monitoring when the application runs during playback. When you
select a diagnostic tool in the GUI Playback Options dialog box, you instruct Robot
to call that tool to enable event monitoring.
To use any of the diagnostic tools with Robot, start the application as follows when
recording:
¾
Start Visual C/C++ and Visual Basic applications with the Start Application
button or menu command.
¾
Start Java applications with the Start Java Application button or menu
command.
For more information, see Starting an Application on page 3-1.
How the Start Application and Diagnostic Tools Options Interact
When you record a script, you use the Start Application or Start Java Application
dialog boxes to indicate how you want each application to start. These dialog boxes
include options for starting the application under a diagnostic tool during playback.
(For more information, see Starting an Application on page 3-1.)
NOTE: There is no support for using Robot to play back Java applets under these
diagnostic tools. For information about the environments that are supported
directly in these tools, see the documentation for the appropriate product.