Creating a reference to an automated test script on a local test machine

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:
  1. From the left sidebar, point to the Construction icon (Construction), and click Create Test Script.
  2. 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.
  3. Click Click here to enter a description to enter a description of the new test script reference.
  4. Select one of the following test script types:
    1. For Rational Performance Tester, select Performance Test.
    2. For Rational Service Tester for SOA Quality, select Service Test.
    3. For Rational® Test RealTime™, select Rational Test RealTime.
    4. For Rational Functional Tester, select Functional Tester.
    5. For Rational Robot, select Robot.
  5. In the window that opens, click Use test resources that are local to a test machine.
  6. Click the Select Adapter button.

    The following window opens.

    Import Test Script window
  7. 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.
  8. Select the appropriate adapter from the list of adapters.
    Note: Note the green icon under the State column, indicating that the adapter is running.
  9. Click Next.

    The following window opens, showing the scripts that are available in the specified project:

  10. Select the script that you wish to reference by selecting the checkbox and then click Finish.
  11. For Functional Test scripts, supply the appropriate Script arguments.
    1. Click Script arguments.
    2. For Script Arguments, type any arguments that you want to pass to the functional test script during execution.
    3. For Execution Arguments, type any arguments that should go in the execution command line of the script, such as - classpath.
    4. For Datapool Iteration Count, type the number of iterations that the script should run if the script is associated with a datapool.
  12. Click Save.
  13. To confirm that your test script is created, point to the Construction icon (Construction) along the left sidebar, and click All Test Scripts.
Related tasks
Integrating with Rational test tools
Creating an AppScan Tester Edition test script

Feedback