Skip to main content

Upgrade from IBM Rational TestManager to IBM Rational ClearQuest test management Part 1: The basics

Chuck Berry (cberry2@us.ibm.com), Software Advisory Engineer, IBM Rational Software
The authors have many years of software testing experience and, while at SQA, Rational, and IBM, have tested the following products: IBM Rational Robot, LoadTest, SiteCheck, Test Factory, IBM Rational Quality Architect, IBM Rational TestManager, RobotJ, IBM Rational XDE Tester, IBM Rational Functional Tester and IBM Rational ClearQuest test management. They have worked for IBM in Lexington, Massachusetts, in the Automated Software Quality group for at least the past six years.
Vinod Raghavan (raghavav@us.ibm.com), Staff Software Engineer, IBM Rational Software
Allan Tygert (atygert@us.ibm.com), Software Quality Engineer, IBM Rational Software
Sri Vytheswaran (svythesw@us.ibm.com), Software Engineer, IBM Rational Software
Brian Macdonald (bmacdona@us.ibm.com), Staff Quality Engineer, IBM Rational Software

Summary:  This article helps IBM Rational TestManager users consider the advantages of upgrading to ClearQuest test management by comparing features of both tools. It discusses how to run ClearQuest test management test cases, logging, reporting, and migration of test assets from Rational TestManager.

Date:  12 Dec 2006
Level:  Introductory
Activity:  617 views

Part 1 of this two-part series gives an overview of IBM® Rational® ClearQuest® test management, with an emphasis on Assets, Planning, and Editing within ClearQuest test management. The information in this article helps IBM Rational TestManager users to smoothly upgrade to ClearQuest test management.

Overview of IBM Rational ClearQuest test management

ClearQuest test management uses the ClearQuest architecture. This tool enables users to create test plans, write test cases, run configured test cases, and report on assets. It also provides an import capability that enables project leads or testers to import test results for planned configured test cases associated with test scripts executed on a remote machine.

ClearQuest test management is also built in such a way that it can be extended to the Eclipse platform. It supports various test approaches, including these:

  • Manual tests
  • Unit tests
  • Automated tests (such as IBM® Rational® Functional Tester for regression testing)
  • Performance tests

ClearQuest test management can also manage and report on test cases that are associated with requirements, defects, or change requests. This gives all of your team members access to view the charts built within ClearQuest test management.

ClearQuest test management supports four different clients: The IBM® Rational® Software Development Platform, rich client platform (RCP), Web client, and native client. Each of these clients functions differently.

  • Rational Software Development Platform: Supports execution of all test types (Rational Functional Tester, IBM® Rational® Performance Tester, IBM® Rational® Manual Tester, and the Eclipse Test and Performance Tool Platform ( TPTP). You can use it to plan, execute, and report. You can also import TPTP testlogs into a configured test case (CTC).
  • Rich client platform (RCP): Supports execution of Rational Manual Tester scripts only. It supports planning for all test types, as well as reporting. You can also import TPTP test results into a CTC.
  • Web client: Supports planning and reporting only
  • Native client: Supports planning and reporting only

Within the ClearQuest perspective, the left pane is separated by two tabs: ClearQuest Navigator and Test Manager-Execution (see Figure 1 and Figure 2, which follow). Within the ClearQuest Navigator tab, you can create new queries to extract results from the database, or use the preconfigured queries that ship with ClearQuest. To plan and execute tests, you use the Test Manager-Execution tab.


Figure 1. ClearQuest Navigator tab
Figure 1. ClearQuest Navigator tab

Figure 2. Test Manager View – Execution tab
Figure 2. Test Manager View – Execution tab

At the bottom of the Test Manager view, there are tabs for planning and execution tasks. Within the Test Manager-Planning tab (Figure 3), you can do all of your planning activities. You can run a CTC from either of the tabs. Figure 4 shows the actions available from the Test Manager-Execution tab.


Figure 3. Actions available in the Planning tab
Figure 3. Drop down menu of available actions

Figure 4. Actions available in the Execution tab
Figure 4. Actions available in the drop down menu

Common workflows

Connect to a ClearQuest database and proceed through the steps listed hereafter.

Set up your workflow

  1. On the Test Manager-Planning tab, expand the Configuration folders.
  2. Right-click the Configuration Attributes folder to add configurations attributes, such as memory and service pack
  3. Assign values to the attributes.
  4. After you have added the attributes, you can create configurations.
  5. Next, create an Asset Registry by right-clicking the Asset Registry folder.

The Asset Registry is where you store all of your assets. The Asset Registry concept is similar to a Project in Rational Functional Tester. Creating an Asset Registry gives you the ability to create a test plan, a test case, and a configured test case (CTC). Figure 5 shows these steps.


Figure 5. ClearQuest test management Setup workflow
Figure 5. ClearQuest test management Setup workflow

Create test records and execute your workflow

After you have created the CTC, you can associate a test script with it (you need to have a file location record defined that points to the location of the Rational Functional Tester, Rational Performance Tester, or Rational Manual Tester project). When the script is associated with the CTC, you can run the CTC, analyze the results, and then promote the results to the database. You can also submit a defect report for failed results from the results view, either before or after committing the log. Figure 6 shows the most common steps in this workflow.


Figure 6. Create Test Records and Execute workflow
Figure 6. Create Test Records and Execute workflow

Storing test records

Rational TestManager and ClearQuest test management assets are stored differently. A Rational TestManager datastore resides in a Rational Project, as shown in Figure 7. A TestManager datastore is a collection of the related test assets (including suites, datapools, logs, reports, test plans, and build information). Test scripts reside separately inside of projects created by the test tool. The Rational Project is a logical collection of databases and datastores that associates the data that you are using. Rational projects also manage the links between different IBM Rational Products (ClearQuest, IBM® Rational® RequisitePro®, and so on).


Figure 7. How Rational TestManager stores test assets
Figure 7. How Rational TestManager stores test assets

With ClearQuest test management, the relationship between files, documents, and data is represented by records in a ClearQuest database. The test records are organized in a test planning hierarchy described in the following section. The File Location record is a pointer to a ClearCase view directory where test scripts are stored, as shown in Figure 8. The File Location record can also point to a shared file server directory where other test documents (such as Microsoft® Word document, Microsoft® Excel files, and so on) can be stored and later used in ClearQuest test management as test motivator files.


Figure 8. How ClearQuest test management stores test assets
Figure 8. How ClearQuest test management stores test assets

Test planning

In ClearQuest test management, there is a Test Manager Planning pane that displays all of your test assets. These assets include those that Figure 9 shows:

  • Asset Registry
  • Test plans
  • Test cases
  • CTCs
  • Test suites
  • Iterations
  • File locations
  • Configurations

Figure 9. The Test Manager - Planning tab showing test assets
Figure 9. The Test Manager - Planning tab showing test assets

Define the format of your plan in the Test Manager-Planning tab

The Asset Registry is the highest level of the test planning hierarchy. You will create all the other assets below the Asset Registry level.

The next level in the test planning hierarchy is the Test Plan. The Test Plan is used to organize test case execution. The Test Plan can contain child test plans or test cases.

Test cases are below the test plan and are children of a single test plan. The test case is the parent of the CTC.

The CTC is the child of the test case. There can be multiple CTCs associated with a single test case, each representing a different machine configuration (platform, OS version, memory, and so on) where the test case will be executed. The CTC is associated with a test script (implementation of the test case), configuration, and iteration. The CTC is the lowest level in the test planning hierarchy and is what gets executed to run the test case.

You can create a test suite to run a group of CTCs. A test suiite runs against one configuration and can contain multiple CTCs. When the test suite is run, each of the CTCs is executed. You can configure suites to run on multiple iterations.

Beneath the Asset Registry, iterations are also defined. Iterations are used to track the execution and associations of the Test Planning hierarchy. A CTC must have an associated iteration to be able to execute.

File locations are used for externally referenced files, such as test scripts or test motivator files. A file location defines where the test asset resides. When you define the file location, the external files must be in a shared network location as in a UNC or a ClearCase view. To create a CTC, you must use a file location.

Configurations are what you set up to define the testing environment. You can define configuration attributes as either hardware or software. The configuration records are outside of the Asset Registry, and can be used by any test assets in the ClearQuest database.

Asset record actions

You can perform the following actions on asset records:

Delete

Using Delete, you can remove an asset record from the database.

  1. Highlight the record that you want to delete, either from the Test Manager-Planning tab or from the ClearQuest Navigator query results.
  2. Select Utility > Delete, and the record will be removed.

The record will no longer be available for queries, reports, or charts.

Modify

You can also modify an asset.

  1. Select the asset to be modified either from the Test Manager - Planning tab or the ClearQuest Navigator results.
  2. Right-click and select Modify from the context menu.

The properties of the asset record are displayed and can be modified (in other words, configured). When you close the Properties window, the modifications are saved.

Associate

After a CTC is created, you can then associate a script with the CTC.

  1. Select the CTC.
  2. Right-click and select Associate Test Script.
  3. You will see a Script Association dialog screen. Only test types defined in File Locations will show. There are multiple test types that can be associated (Rational Manual Tester, Rational Functional Tester, Rational Performance Tester, TPTP, and so on).
  4. Select the Test Type and a list of available scripts displays.
  5. Choose the script that you want to associate with the CTC.

Note: At present, there is no Test Input view; therefore, you can associate only one script with the CTC, and you can have only one configuration for each suite.

Comparison of editing in Rational TestManager and ClearQuest test management

ClearQuest test management offers multi-select editing on any record, at any level within the hierarchy. This allows you to change any field value on several test records at the same time quickly and easily. This is particularly useful for a Test Manager or Test Lead when a slip in the Development schedule occurs that requires all test cases change Iteration value, or several test cases require owner or priority changes.

ClearQuest test management records can be edited individually or as a group. The table in figure 10 shows actions available on each ClearQuest test management record when multi-selected as a group.


Figure 10a. Multi-select actions available in ClearQuest test management
A list of multi-select actions available

Figure 10b. Multi-select actions available in ClearQuest test management
A list of multi-select actions available

Wrap up

This article discussed the basic differences between Rational TestManager and the test management features in ClearQuest, as well as providing some details about the functionality of the latter. Part two of this series will cover more complex functionality, and should prepare you to upgrade to ClearQuest test management.


Resources

Learn

Get products and technologies

Discuss

About the authors

The authors have many years of software testing experience and, while at SQA, Rational, and IBM, have tested the following products: IBM Rational Robot, LoadTest, SiteCheck, Test Factory, IBM Rational Quality Architect, IBM Rational TestManager, RobotJ, IBM Rational XDE Tester, IBM Rational Functional Tester and IBM Rational ClearQuest test management. They have worked for IBM in Lexington, Massachusetts, in the Automated Software Quality group for at least the past six years.

Comments (Undergoing maintenance)



Trademarks  |  My developerWorks terms and conditions

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=182277
ArticleTitle=Upgrade from IBM Rational TestManager to IBM Rational ClearQuest test management Part 1: The basics
publish-date=12122006
author1-email=cberry2@us.ibm.com
author1-email-cc=rjbence@us.ibm.com
author2-email=raghavav@us.ibm.com
author2-email-cc=rjbence@us.ibm.com
author3-email=atygert@us.ibm.com
author3-email-cc=rjbence@us.ibm.com
author4-email=svythesw@us.ibm.com
author4-email-cc=rjbence@us.ibm.com
author5-email=bmacdona@us.ibm.com
author5-email-cc=rjbence@us.ibm.com

My developerWorks community

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Rate a product. Write a review.

Special offers