background image
<< TOC - Introduction | TOC - Working with the Application Map >>
<< TOC - Introduction | TOC - Working with the Application Map >>

TOC - The TestFactory Interface

Using Rational TestFactory
iv
Preparing to Work with the Application-Under-Test in TestFactory . . . . . 1- 9
Enabling Java and C++ Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . 1- 9
Selecting the IDE Extensions to Load for the AUT. . . . . . . . . . . . . . . 1- 10
Working with C++ Applications in TestFactory and Robot . . . . . . . 1- 11
2 The TestFactory Interface
Starting TestFactory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2- 1
Starting TestFactory from the Command Line . . . . . . . . . . . . . . . . . . . 2- 2
Using the New Project Wizard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2- 3
Using the Project Assistant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2- 7
The TestFactory Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2- 9
TestFactory Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2- 10
The Left Pane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2- 16
The Right Pane. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2- 17
Progress Bars. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2- 18
The Status Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2- 18
3 Instrumenting the Application-Under-Test
About Instrumentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 1
Adding the Rational Test Enablers to the AUT Before Instrumenting . . . . 3- 2
Requirements for Instrumenting the AUT . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 2
Java Applications and Applets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 3
C++ Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 3
Visual Basic Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 4
Instrumenting C++, Visual Basic, and Java Object Code . . . . . . . . . . . . . . 3- 4
Setting the Compiler Option for a Visual Basic 6 Application . . . . . . . 3- 4
Setting the Compiler Option for a C++ Application . . . . . . . . . . . . . . 3- 5
Instrumenting Object Code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 5
Instrumenting Visual Basic Source Code. . . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 7
The Coverage Dictionary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 10
Using the Stand-Alone Instrumentor to Instrument Visual Basic
Source Code Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 11