With Quality Manager, you can create a reference to an automated
test script on a test machine in your test lab.
Before you can create a reference to an automated test script on
a local lab machine, the appropriate adapter must be running. See the section
on "Integrating with Rational® test tools" for information on starting
the adapters.
Note: Each test tool implements its own integration with
Quality Manager. The instructions provided here may not cover all of the details
of each integration. Be sure to refer to the specific test tool for further
details.
To create a reference to an automated test script on a local lab
machine:
- From the left sidebar, point to the Construction icon
(
), and click Create Test
Script.
- Type a name for the new test script.
Tip: Be
sure to use a name that is the same or similar to the name of the actual test
script.
- Click Click here to enter a description to
enter a description of the new test script reference.
- Select one of the following test script types:
- For Rational Performance Tester,
select Performance Test.
- For Rational Service Tester for SOA Quality,
select Service Test.
- For Rational® Test RealTime™, select Rational
Test RealTime.
- For Rational Functional Tester,
select Functional Tester.
- For Rational Robot, select Robot.
- In the window that opens, click Use test resources that
are local to a test machine.
- Click the Select Adapter button.
The
following window opens.
- Provide the project path on the test machine to where the test
script resides, for example, c:\workspaces\rft1\Altoro1.
Note: For
some tools, such as Functional Tester, this means the project's full file
system path. For Performance Tester and Service Tester, this path includes
the project name that is in the workspace associated with the adapter.
- Select the appropriate adapter from the list of adapters.
Note: Note the green icon under the State column, indicating that the
adapter is running.
- Click Next.
The following
window opens, showing the scripts that are available in the specified project:
- Select the script that you wish to reference by selecting the checkbox
and then click Finish.
- For Functional Test scripts, supply the appropriate Script
arguments.
- Click Script arguments.
- For Script Arguments, type any arguments that you want to pass
to the functional test script during execution.
- For Execution Arguments, type any arguments that should go in
the execution command line of the script, such as - classpath.
- For Datapool Iteration Count, type the number of iterations
that the script should run if the script is associated with a datapool.
- Click Save.
- To confirm that your test script is created, point to the Construction icon
(
) along the left sidebar, and click All
Test Scripts.