If you have Rational Robot 7.0.1 or earlier installed, you can run a Robot script for a program and record Purify data for the program at the same time.
To record Purify data when you run a test script:
1. Select Tools > GUI Playback Options.
2. Select the Diagnostic Tools tab and then select Rational Purify or Rational Purify with Coverage. (Selecting Rational Purify with Coverage causes Purify to collect coverage data for Purify.)
3. Add the StartApplication command, including the full path name of your program, to your test script. For example:
StartApplication "C:\myapp.exe"
4. Run your test script.
When Robot runs the test script, Purify collects data for the program. When the test script finishes, Purify saves the data it collected in the Purify error data file Exename.pfy or the Purify error and coverage data file Exename.pcy, located in the repository directory. Robot displays a summary line in the Rational LogViewer; double-click the summary line to open the Purify data file.
Notes:
§ Select Tools > Rational Purify or Tools > Rational Purify with Coverage to start Purify directly.
§ See your Rational Robot documentation for more information about using Robot and about running Purify from Robot to collect error and coverage data.
(C) Copyright IBM Corporation 1992, 2010.