Integration with Rational® Robot
is implemented through the use of an adapter. The Rational Robot adapter serves as a bridge
between Rational Robot
and Rational Quality Manager.
The Robot adapter is installed by default when you install Robot and
is configured on the workstation where Robot is installed. Once installed,
you must configure and start the adapter. When it is running, the
adapter receives messages from Quality Manager and runs Robot scripts
when a user requests them to be run through the Quality Manager. After
test execution, the adapter uploads the execution log to the Rational Quality Manager server.
Prerequisites
- The Rational Robot
adapter for Rational Quality Manager must
meet the minimum Rational Robot
version requirements. For details, see Test tool adapters.
- Rational Robot projects
must be created in Standalone Mode.
- The Robot adapter only runs on Windows.
- The adapter must be running before you start a script.
Configuring the Robot adapter
To configure
the Robot adapter:
- Click .
- Type the Rational Quality Manager server
URL in the Server URL field.
- Type a Rational Quality Manager ID
in the Login field. This user account must
exist in Rational Quality Manager with
a Connector Client Access License.
- Type the Rational Quality Manager password
for the ID in the Password field.
- (Optional) Type a unique name to identify the Rational Quality Manager adapter
on this workstation in the Adapter Name field.
- Click OK to save the configuration.
Starting the adapter
You can start the adapter
from the Start menu or from a command prompt. To start the adapter
from the Start menu:
To start the adapter from a command prompt:
- Start a command prompt window.
- Switch to the directory where Robot is installed.
- Type RobotRQMAdapter\robotrqmadapter.bat.
Creating and running Robot scripts in Rational Quality Manager
You
can create a reference to a Robot script just as you would create
any script in the Quality Manager.
- Create a test script in the Quality Manager.
- Select the script type as Robot.
- Provide the path to the Robot scripts folder
on the adapter computer, for example, C:\prj\MyProject\TestAssets\scripts.
- After you create the script, assign it to a test case.
- Optionally, you can assign the test case to a test suite.
- Run the test case or test suite or alternatively, create or generate
a test case execution record or test suite execution record.
- Run the test case execution record or test suite execution record
and select the adapter to be used.