Tool Mentor: Running Tests using IBM Rational Quality Manager
This tool mentor describes how to execute tests using RQM.
Tool: IBM Rational Quality Manager
Relationships
Related Elements
Main Description

Overview

IBM Rational Quality Manager introduces the concept of a Test Execution Record, which brings together a test case with an associated test script and a set or related configuration attributes: hardware platform, operating system, browser, database. Basically what a test execution record says is: "run this test script associated with this test case using this environment configuration described in terms of hardware, platform, browser, database". 

A test can be executed sequentially as part of a test suite or individually. Individual test execution could be also used for debugging the test case and the associated test scripts. A test can only be executed in a pre-defined environment and this is where the Test Execution Record construct comes into play.

Tool Steps

1. Prepare for Execution - Create Test Execution Records [optional]

If there are no test execution records associated with a test case, you have two options for creating them:

  1. Use the provided wizard and generate these items automatically: go to the Test Execution Records section of the test case and click on the Generate Test Execution Records icon.  For more details, refer to the RQM online topic: Testing > Developing test cases, test suites, and test execution records > Generating test execution records automatically.
  2. Create test execution records one by one and associate them with existent test cases: go to Construction > Create Test Execution Record and fill in the required information.  For more details, refer to the RQM online topic: Testing > Developing test cases, test suites, and test execution records > Creating a single execution test record.

2. Execute Manual Tests

You can run manual tests in a context of a test case, assuming that at least one test script and test execution record have been defined. Open the Test Execution Records section of a test case and select the test script you want to run.  For more details, refer to the RQM online topic: Testing > Running your tests > Running manual tests.

There is the possibility to run a test without an associated test script. For the specific context when this would be the case,  refer to the RQM online topic: Testing > Running your tests > Running tests without a test script.

3. Execute External Tests

RQM's execution engine is able to interface with external test scripts created with IBM Rational Service Tester, Rational Robot, Rational Performance Tester, Rational Functional Tester and Rational AppScan Tester. For more information on the specifics of running these tests,  refer to the RQM online topic: Testing > Running your tests > Running automated tests.