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