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

With IBM® Rational® Quality Manager, you can create a reference to an automated test script on a test machine in your test lab.

Before you begin

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 Rational Quality Manager. The instructions provided here might not cover all details of each integration. Be sure to refer to the specific test tool for further details.

About this task

To create a reference to an automated test script on a local lab machine:

Procedure

  1. 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 IBM 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 is located, for example, c:\workspaces\rft1\Altoro1.
    Note: For some tools, such as Rational Functional Tester, providing the project path means the full file system path. For Rational Performance Tester and Rational Service Tester for SOA Quality, this path includes the project name that is in the workspace that is associated with the adapter.
  8. Select the appropriate adapter from the list of adapters.
    Note: The green icon under the State column indicates that the adapter is running.
  9. Click Next.

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

    list of available scripts
  10. Select the script to refer to by selecting the check box, and then click Finish.
  11. For functional testing scripts, supply the appropriate Script arguments.
    1. Click Script arguments.
    2. For Script Arguments, type the arguments to pass to the functional test script during execution.
    3. For Execution Arguments, type the arguments to go in the execution command line of the script, such as - classpath.
    4. If the script is associated with a datapool, in Datapool Iteration Count, type the number of iterations for the script to run.
  12. Click Save.
  13. To confirm that your test script is created, point to the Construction icon (Construction), and click All Test Scripts.
  14. Verify that the list includes your script.

Feedback