Integration with Rational Test RealTime is
implemented
through the use of an adapter. The adapter serves as a bridge between
Test
RealTime and Rational® Quality Manager.
The Test RealTime adapter is installed by default when you install
Test RealTime
and is configured on the workstation where Test RealTime is installed.
Prerequisites
- The Rational
Test RealTime adapter for Rational Quality Manager requires
Test RealTime 7.5 or above.
- Before running the adapter, ensure
that the PATH environment variable
is properly set on your computer to use a Java™ Runtime
Environment (JRE) version 1.5
or later.
- When you run the adapter for the first time, you
are asked to type configuration
information in the console window.
- The adapter uses Test RealTime
projects as Rational Quality Manager test
scripts. When you run a Test RealTime test from Rational Quality Manager,
the adapter runs the Test RealTime project with the default Target
Deployment Port (TDP) that is selected in the project. If you want
to run
a Test RealTime project with various TDPs, you must create a test
environment
in Rational Quality Manager for
each TDP.
Starting the adapter
To
start the adapter:
- Run the startTestRTAdapter.bat batch
file that
is installed by default into <installation directory>\RQMAdapter\TestRTadapter.
Alternatively,
in Windows®,
from the Start menu, select .
- If this is the first time you run the adapter, you must type the
following
information in the console window:
- Server URL:
Type the URL of the Rational Quality
Manager server.
- Login: Type the login
used to connect to Rational Quality
Manager.
- Password: Type your password.
- Enter adapter name: Type the name of the
Test RealTime
adapter on the current computer as it will appear in the Quality Manager
Web
UI to identify this instance of the adapter. By default the name is
TestRT
on <hostname>.
The adapter
only asks these questions the first time it is run. If
you need to change the server URL and login information, run the adapter
with
the -reconfigure command line option.
The
adapter
runs as long as the console window is open. To stop the adapter, close
the
console window or press CTRL-C.
Importing
a Test RealTime project
To import a Test
RealTime project into Rational Quality Manager:
- Log in to Rational Quality Manager,
click .
- In Script type,
select Rational Test
RealTime.
- Select Use test resources
that are local to a test machine and
click Select Adapter.
- Select the Test
RealTime adapter that you want to use.
- In Project
Path, specify the directory where the
Test RealTime RTP project file is located, and click Go.
The adapter will parse all the subdirectories under the selected directory.
- Select one or several RTP project files, click OK and Import.
Associating Target Deployment Ports
with test environments
To
create a test execution record with a specific TDP:
- Log
in to Rational Quality Manager,
click .
- Type a name for
the test environment that applies to the name of the Test
RealTime TDP configuration. The name must be exactly the same as the
configuration
name in Test RealTime, for example: C Win32 - GNU.
Click Save.
- Click and type a name for
the new
test execution record.
- Select the Test Case and
the Default
Test Script.
- In Available Test Environments,
select the test
environment with the name of the TDP that you want to use. Click Save.