Professional Documents
Culture Documents
ClearQuest® Designer
The purpose of this Laboratory, is to review the basics of Rational ® ClearQuest®
schemas and packages as part of the ClearQuest metadata structure. You will use
ClearQuest Designer to create a new schema. You will then create a new test database
for testing your modified schema before you check in the new version, and generate a
new user database to be used as your production database. Also, you will apply a
package to this new schema.
Objectives
Create a new schema, and then check out that schema to create a new version,
modify the schema, and check it back in.
Create a new user database, and apply a schema version to that database.
Create a test database to test the modified schema version before actually checking
in the new schema version.
1. What are the two components that ClearQuest must connect to in order to run?
2. Which tool is the only tool that is capable of adding, reviewing, and modifying
schemas in the ClearQuest schema repository?
3. If you want to develop your own schema from scratch, which predefined schema
should you use as the basis?
4. True or False: ClearQuest packages are stored outside the schema repository. Once
packages are applied to the schema version, they become part of the schema.
1. In order for ClearQuest to run, it has to connect to the schema repository and at
least one user database.
2. ClearQuest Designer.
3. The predefined “Blank” schema has the minimum set of system configurations.
4. True.
Exercise 4.2: Create a new schema, a new user database, and a test database.
The purpose of this exercise is to gain familiarity with the basic operations of using
ClearQuest Designer to customize your ClearQuest application settings.
1. Create a new schema named my_schema that is based upon the out-of-box schema
DefectTracking.
2. Create a test database named Test that will be used for testing modifications of
my_schema.
3. Create a new user database named my_db that uses the new schema my_schema.
The following set of steps is one of the ways to approach the above tasks. You can use
these steps to accomplish the tasks listed in this exercise, or create your own.
TASK 1 – Create a new schema named “my_schema” that is based upon the out-of-
box schema DefectTracking.
1. Click Start > Programs > Rational Software > Rational ClearQuest >
ClearQuest Designer.
3. In the ClearQuest Designer Login dialog box, type “admin” as the User Name,
and leave the Password field blank. Click OK.
4. After the ClearQuest Designer window appears, click Cancel in the Open Schema
Wizard.
6. Select DefectTracking in the list as the basis for your new schema. Click Next.
9. Click Finish.
10. The ClearQuest Designer dialog box appears with the following content: “New
Schema “my_schema” Version 1 has been created successfully. Do you want to
create a database to associate with it?” Click No.
11. In the next dialog box, click No to answer the question “Do you want to check out
‘my_schema’ for edit?”
TASK 2 – Create a test database, named “Test” that will be used for testing any
modifications of my_schema.
14. Type “Test database for my_schema” in the Comment field. Click Next.
16. Select the Test Database option at the bottom of the dialog box.
17. At the Physical Database Name box, click Browse. In the Select MS Access
Database dialog box, search for and select C:\Temp to appear in the Look in field.
20. Click Next in the “New Database – Step 3 of 4” dialog box to accept the default
values for the timeout settings.
21. In the “New Database – Step 4 of 4” dialog box, scroll through the list and select
my_schema, Version 1 as the schema version for this database. Click Finish.
22. The ClearQuest Designer dialog box appears with this content: “Database has
been created successfully.” Click OK.
TASK 3 – Create a new user database named “my_db” that uses the new schema
“my_schema.”
25. Type “Production database using my_schema.” in the Comment field. Click
Next.
27. Select the Production Database option at the bottom of the dialog box.
28. Click Browse. In the Select MS Access Database dialog box, search for and select
C:\Temp to appear in the Look in field.
31. Click Next in the “New Database – Step 3 of 4” dialog box to accept the default
values for the timeout setting.
32. In the “New Database – Step 4 of 4” dialog box, scroll through the list and select
“my_schema, Version 1” to be the schema version for this database. Click Finish.
33. The ClearQuest Designer dialog box appears with this content: “Database
‘my_db’ has been created successfully.” Click OK.
35. Click Start > Programs > Rational Software > Rational ClearQuest.
36. If the Rational ClearQuest Schema Repository dialog box appears, select
2003.06.00, and then click Next. Otherwise skip to step 37.
37. In the Rational ClearQuest Login dialog box, type “admin” in the User Name
field, leave the Password field blank, and select my_db in the Database field.
Click OK.
39. On the Submit form, type these suggested values into the following fields:
b. Severity,”1-Critical”
d. Owner, “admin”
Click OK to submit.
40. Repeat Steps 38-39 to create at least two more defect records.
Note: After you have typed the suggested values into the fields on the Submit form, you
can click Values > Save as Default to save these values as the default ones. The next
time you create a new record, you can click Values > Load Default to enter these
default values. You can then modify the field values as needed to create a new defect.
42. Now you have created a new schema, two user databases that use this new schema,
and three new defect records in the production database. This concludes Exercise
4.2.
The purpose of this exercise is to gain familiarity with the basic operations of applying
a package to an existing schema in ClearQuest Designer.
The following set of steps is one of the ways to approach the above tasks. You can use
these steps to accomplish the tasks listed in this exercise, or create your own. .
1. Click Start > Programs > Rational Software > Rational ClearQuest >
ClearQuest Designer.
3. In the ClearQuest Designer Login dialog box, type “admin” as the user name,
and leave the Password field blank. Click OK.
4. After the ClearQuest Designer window appears, click Cancel in the Open Schema
Wizard.
8. In the “Package Wizard – Setup Record Types for Package” dialog box, select
EnhancementRequest as the record type to apply to this package. Click Finish.
9. The ClearQuest Designer now shows that my_schema has been checked out, and a
new version has been created.
10. Click View > Schema Summary. In the Schema Summary window, note the
Schema Names pane on the left.
11. In the Schema Names pane, expand my_schema to show two items: Version 1 and
Version 2.
12. Select Version 1. You can see that there is no EnhancementRequest Version 1.0 in
the Associated Packages list.
13. Select Version 2. Note that EnhancementRequest Version 1.0 appears in the
Associated Packages list.
16. In the Check In window, the Comment field has the content, “Enabled schema for
‘1.0’ version of package ‘EnhancementRequest’”. Click OK.
17. The ClearQuest Designer dialog box has the content: Schema “my_schema” has
been checked in successfully. Click OK.
18. Close the ClearQuest Designer dialog box. This concludes Exercise 4.3.