 
Using EJB Scenario Tests
70
Chapter 3 - Testing Enterprise JavaBeans
To execute an RQA Java test script in TestManager:
1
Start TestManager.
2
Click 
File > Run Test Script > RQA Java Test Scripts
.
3
Select the script and click 
Open
.
4
From the Run Script dialog box, click 
OK
.
For additional information about other ways to run test scripts from TestManager, see 
the Rational TestManager User's Guide or the TestManager Help.
Using EJB Scenario Tests to Test Transactions
Scenario tests use Rose interaction diagrams to test transactions. To try out this 
feature, you can generate a scenario test for one of the sequence diagrams that are 
included with the Rational Bank Account sample application. For example, the 
following figure shows the Multiple Correlated sequence diagram that is included 
with the sample application
When you generate a scenario test, QualityArchitect prompts you to insert a 
verification point for each message in your interaction diagram. To add a database 
verification point, you need a database and you need to know the fully qualified path 
of your JDBC driver and the JDBC URL, which also includes the name of the database. 
For information about setting up the database for the sample application, see The 
Rational Bank Account Sample Application on page 38.