background image
<< Importing Test Assets into Your IDE | Adding Stub Files >>
<< Importing Test Assets into Your IDE | Adding Stub Files >>

Deploying Stubs to WebLogic

Deploying Stubs to a WebLogic Application Server
59
Note:
To save previous versions of your test assets, be sure to select the following
check boxes:
Create new/scratch editions of versioned projects/packages
and
Version
imported classes and new editions of versioned projects/packages
. Doing so lets you
roll back to a known previous version of the test asset.
To roll back to a previous version:
1
Shut down the EJB servers.
2
Right-click the RationalBankAcct package and click
Replace with > Another Edition
menu
.
Importing Test Assets into Visual Cafe
To import test assets into Visual Cafe:
1
Start Visual Cafe.
2
Create a new, empty project or open an existing project.
3
Click the
Files
tab under the Project window.
4
Right-click in the Project window and click
Insert Files
.
5
Navigate to the directory that contains the test assets you want to import.
See Storing Your Tests Scripts on page 6 for information on where the various test
assets are stored.
6
Select the test assets that you want to import, click
Add
, and then click
OK
.
7
Save the new project.
Deploying Stubs to a WebLogic Application Server
If you are working in a WebLogic environment, deploy the stubs that you generate
before you actually execute your test scripts.
WebLogic provides two deployment modes:
s
A permanent, production mode in which you must load EJBs and configure the
server offline
s
A temporary, development mode in which you can stage or hot deploy EJBs for
testing purposes without shutting down the WebLogic server
This section provides instructions for both permanent and hot deployment modes.