background image
<< Starting Applications Under Rational Diagnostic Tools | Inserting a Call to Another Script >>
<< Starting Applications Under Rational Diagnostic Tools | Inserting a Call to Another Script >>
Specifying the Diagnostic Tool During Recording
Adding Features to GUI Scripts
3-4
Specifying the Diagnostic Tool During Recording
During recording, you start an application using the Start Application or Start Java
Application dialog box. In the dialog box, you can specify the diagnostic tool that the
application should start under during playback.
It is useful to set the diagnostic tool option during recording if you have several
applications in a script and you want to start each application under a different tool
during playback.
For example, suppose you have a shell script that calls three scripts. Each script starts
one application, and you want to start each one under a different tool. When you
started each application during recording, you would select the appropriate tool.
When you played back the script, the setting for each application would override the
setting in the GUI Playback Options dialog box.
The tools options are enabled in the dialog box if the tools are installed.
When you are ready to play back the script, you need to set some options in the GUI
Playback Options dialog box. For information, see Setting the Diagnostic Tools Options
on page 9-13.
Specifying the Diagnostic Tool During Playback
During playback, you can use the Diagnostic Tools tab of the GUI Playback Options
dialog box to specify the diagnostic tool that all applications in a script should start
under. (For more information, see Setting Diagnostic Tools Options on page 9-11.)
Overrides any tool
selected in the GUI
Playback Options
dialog box.
Starts application using
the tool selected in the
GUI Playback Options
dialog box.