background image
<< Enabling IDE Applications for Testing | Naming Scripts Automatically >>
<< Enabling IDE Applications for Testing | Naming Scripts Automatically >>

Setting GUI Recording Options

Setting GUI Recording Options
2-5
¾
C/C++ ­ To test the properties and data of ActiveX controls in your applications,
install the Rational ActiveX Test Control. This is a small, nonintrusive custom
control that acts as a gateway between Robot and your application. It has no
impact on the behavior or performance of your application and is not visible at
runtime. Manually add the ActiveX Test Control to each OLE container
(Window) in your application. For instructions, see the documentation that
comes with your C/C++ development environment.
¾
Visual Basic 4.0 ­ Install the Rational Test Enabler for Visual Basic. Attach the
Enabler to Visual Basic as an add-in. Have the Enabler add the Rational ActiveX
Test Control to every form in the application. This is a small, nonintrusive
custom control that acts as a gateway between Robot and your application. For
information, see Visual Basic support, making Visual Basic applications testable in the
Robot Help Index.
¾
Delphi ­ Install the Rational Object Testing Library for Delphi and the Rational
Test Delphi Enabler. Run the Enabler, and then recompile your project to make
it Delphi testable. For information, see Chapter 17, Testing Delphi Applications.
You can install the Enablers and the ActiveX Test Control from the Rational
Software Setup wizard. For instructions, see the Rational Server Products Installation
Guide
.
Setting GUI Recording Options
GUI recording options provide instructions to Robot about how to record and
generate GUI scripts. You can set these options either before you begin recording or
early in the recording process.
To set the GUI recording options:
1. Open the GUI Record Options dialog box by doing one of the following:
­
Before you start recording, click Tools > GUI Record Options.
­
Start recording by clicking the Record GUI Script button on the toolbar.
In the Record GUI dialog box, click Options.
NOTE: You do not need to enable applications created in Visual Basic 5.0 and
later, PowerBuilder, or PeopleTools.