background image
<< Populating the Lookup Tables | Deploying Stubs to WebLogic >>
<< Populating the Lookup Tables | Deploying Stubs to WebLogic >>

Importing Test Assets into Your IDE

58
Chapter 3 - Testing Enterprise JavaBeans
Importing Test Assets into Your IDE
After you generate your test assets, you must add them to a project in your IDE,
where you can run the tests.
If you are using IBM Visual Age for Java (VAJ), this means importing the test into the
VAJ repository.
Importing Test Assets into VAJ
To import generated test assets into the RationalBankAccount project in the VAJ
repository:
1
Start VAJ if it is not already started.
2
Within the VAJ Workbench window, click the
Projects
tab.
3
Right-click anywhere in the window and click
Import
.
Note:
When you import a test asset into VAJ, the test asset is compiled
automatically.
4
When the SmartGuide dialog box appears, select
Directory
as the input source and
click
Next
.
Be sure that these checkboxes are
selected. (For details, see the
following note.)
Click Browse and navigate to the
directory where you saved the test
assets. (See Storing Your Tests
Scripts
on page 6.)
Click Browse and select
the Rational Bank Account
Sample Project.
Click Finish.