Rational ClearQuest Tips
Author: pyp & http
premise:
Rational ClearQuest version is 2002.05.00
Question 1: Set up the right to use some fields, only the relevant personnel can see some fields and fill in, for the ordinary person to make it disseminated, how can I set it?
Answer Tip: A relatively simple method allows others to see the field you set: Set a new group, add a person who wants to see the new field to this group, in Designer, add a Tab, add a Tab Page, put the fields that just want someone to see to this page, the mouse right click on this field, in the property page, have the "User Group Access" option, select the group you want to see to the list Yes. In the process of use, only related group members can see this TAB page, which is indirectly equal to someone else.
Question 2: When visiting the web, you can only see "Restricted Query Not Deferyd".
Solution Tip: Generally, because there is no registration, the Web server must be registered for the web server during the use of CQ.
Question 3: How to make some Database not displayed in the list of usage of the client and the web side.
Solution Tip: During use of CQ, you must select Database to enter the client or web side. The content of Database is related to the selected schema repository (s), however, how to make some Database are not displayed in the list.
In Designer, select Database-> Update User Database Properties in the menu ..., select the Logical Database Name that does not require display, click the "Properties" button to enter the configuration page. In the configuration page, select "Production Database" to "Test Database", click "Update", this Database will not appear in the list. If you want to recover in the future, just select "Test Database" to "Production Database".
Question 4: Under Project's Forms, I designed a drop-down list for the project manager. How to automatically display the Field: login_name below User, and Fullname The following record value is displayed in this drop-down list box. The format is: login_name (fullname).
Solution Tip: This is not clear what you have to do, is the login name and full name of all users in the drop-down box, or display a group, or show the current login user?
1 If the current user is displayed, it is relatively simple. Direct login_name = session.getuserloginname, full_name = login_name.fullname, the login_name and full_name mend a string to display it.
2 If you are in the group, you can view the installation directory ClearQuest / Apihelp / index.htm session object, user object, group object, groups object, chapter. My idea is: In the Field's Choice List, use the program to control the content of the list, create a session, use session.getusergroups to get the user group, and then for each User In user group, in the inside Choices.Additem (user), But I tried a morning, I don't know why, I have never been successful, you may wish to look at the things inside the Rational ClearQuest API Reference. If you can solve, it is best to tell me the solution, I also learn to learn. Question 5: For a specific field, force the user must be filled in each time Action.
Solution Tip: In the Permission of the field, control with the following code:
SetfieldValue Field1, "" 'Set the value of the field to empty
Field_Permission = ad_mandatory 'Let the field must
In Behaviors, you can set it to hook in the status of the required required.
Question 6: What do you mean when setting Field in ClearQuest Designer? For example, what type of reference_list in Type is set to this type, what results will occur? Can you give me a detailed talk?
Solution Tip: There is a corresponding description in Selecting a field data Type in ClearQuest Designer Help.
ClearQuest Supports the Following Field Data Types:
Data
Description / Comments
Attachment_list: Allows Records to Store Files Related to The Record.
Date_time: SQL Date and Time.
INT: SQL Integer.
MultiLine_String: a variable-length string of unlimited size.
REFERENCE: A reference to a unique key in a record type.For REFERENCE type fields, you must select a state-based or stateless record type to refer to You can also enter an optional back-reference field to create a link from the referenced. Record Back to this Field's Record and Can Specify That The Reference Record Type Is Under Security Control.
REFERENCE_LIST:.. Multiple references to unique keys in record types Reference-list fields allow you to reference multiple records within a field You can use reference-list fields with a parent / child control to link related records.For REFERENCE_LIST type fields, you must select a state-based or stateless record type to refer to You can also enter an optional back-reference field to create a link from the referenced record back to this field's record.Note:. You can not use the REFERENCE_LIST type when creating a report. Multiple record references within a field will return a report error.SHORT_STRING: A variable-length character string with a 254-character maximum You set the length in the Properties dialog box when defining the field Enter a value between 1 and 254 in the.. Maximum Length Field.
DBID: Reserved for System Fields
ID: Reserved for System Fields
Journal: Reserved for System Fields
State: Reserved for System Fields
NAME OF A NEW CHENT INTA TYPE YOELD WILD AND CREATE.
I feel that REFERENCE and REFERENCE_LIST are type object types, that is, he does not refer to a specific concept, such as Int or String, but a collection, when using it, you can take a collection. Attribute content. For example, in the example, there is an Owner field to correspond to the Users collection.
Selecting Reference to appear, where the corresponding is the various types of Record Types and Record Types -stateless in the left tree, such as the most common DEFECT is a collection, and your created field can point to this collection. These are some of my own opinions, not necessarily correct, because I have not used it,
Question Seventh: When setting up an action, can you be the status of the source and destination status? That is, although I made that action, I don't change his state!
Solution: From the operation of CQ, it is not supported by the source state and the target state, because there is no need (except for modification, when modified, the state does not change). When establishing an action, in the properties of the action, the source status and target status can be set. When the source status is selected, the same target status cannot be selected. Rational's CQ is mainly a change management, a process of transferring State through the action, and the type of TYPE for self-built Action is MODIFY. Problem 8: How to entert Project and Subsystem After letting him automatically position a person, that is, by entering the items and modules belonging to that person, it is possible to automatically position it to someone!
Solution Tip: You can use code control, but only the client is valid for the client.
Use CASE to add field content to it. If it is two fields to control one, IF can be used. such as:
if Project = "Engineering 1" THEN
a = getfieldvalue (subsisystem) .GetValue 'Take Subsystem's content
SELECT CASE A 'Judging the value of SUBSYSTEM
Case "Subsystem1"
SetFieldValue People, "Tester1" 'Fill in the person content corresponding to Subsystem1
Case "Subsystem2"
SetFieldValue People, "Tester2" 'Fill in the contents of Subsystem2
..........
Case "subsystemn"
SetFieldValue People, "Testern" 'Fill in the person content corresponding to Subsystemn
End SELECT
END IF
If Project = "Engineering 2" THEN
SELECT CASE B
..........
End SELECT
END IF
..........
Question Nine: How do I use the email rule (e-mail rule)?
Answer Tip: The setting of the mail rules is not in Designer, but at the client. In the client, select the message server in the VIEW-> E-mail Options in the selection menu; what is the defect is sent to the defect under what condition for setting the mail server; actions-> new-> email_rule. Specific settings, view themselves.
The Email Rule in Designer is to set the contents of the display interface in the client, and can be modified as needed. But usually I don't think it is here, because usually the test staff established a mail rule, and developers usually do not see the interface of the mail rules. And after the establishment is good, it will generally do not change, so if you look good, if there is a redundant field, you can not consider it.
Question 10: After the ClearQuest Designer changed the submission interface and the processing interface, when submitting bugs in the ClearQuest Client, the interface is not changed.
Solution Tip: After Designer design, there is no change, because you don't have an Update database. After the design is complete in Designer, click File-> Check in the menu to save the modification, then select Database-> Upgrade Database in the menu, select the database you modified, usually there will be a new version, the new version of Upgrade Yes. Question 11: How to migrate CQ from a SQL server to another SQL server?
Solution Tip: Using ClearQuest Maintenance Tool
[Move An EXISTING SCHEMA Repository] option. Note Before this, a null CQ database and Owner should be created on the target server. After the migration, run the ClearQuest Mantence Tool on the new server, select a new connection [New connection]. Enter new CQ The server's main data warehouse name, server name, and administrator name and password.
Question 12: How to migrate the user database after migrating CQ from one SQL server to another SQL server?
Solution Tip: After the CQ main data warehouse migration is completed, first build each user on the new SQL server.
Database. Then enter CQ Designer, select
Select [Databases] -> [Move User Database] to migrate each user database.
Question 13: How do I update the user database after updating a Schema in the CQ Designer?
Solution Tip: After updating a schema in CQ Designer, choose
Select [Databases] -> [Update User Database Properties] to update each user database.
Question 14: How to use Check Box (HOOK) correctly?
Solution Tip: There are several precautions: using check box:
1. When using it, you cannot establish a field to save multiple check items, and each of the respective fields should be established separately.
2. After establishing Check Box, enter the content you want to select in the Check text domain on the Extended Tab, and let the Uncheck text domain empty.