Creating Rational® ClearQuest® work items
You can create IBM® Rational® ClearQuest® work items for the tests that ran on HCL OneTest™ Server. For example, you might want to create a work item in Rational® ClearQuest® when the test results differ from the expected results.
Before you begin
- Ensured that you are assigned a role as a Project Owner or Tester in the project. See Managing access to the server projects.
- Configured applications in Rational® ClearQuest®.
- Configured Rational® ClearQuest® as a change management system in HCL OneTest™ Server. See Configuring Rational ClearQuest.
- Configured a test run. See Test run configurations.
- Viewed the results of the completed test runs on the Results page. See Test results.
Procedure
-
Log in to HCL OneTest™ Server.
The team space that contains your project is displayed.
-
Click
to open the project that contains the test assets.
The Overview page of the project is displayed.
-
Click
.The Results page is displayed and all the test assets that were run earlier are displayed in tabs, as listed in the following table:
Tab Description SUITES Lists all suites, Compound Tests, JMeter tests, JUnit tests, Postman tests, Rate Schedules, Selenium tests, or VU Schedules that are in the selected branch of the repository. TESTS Lists all API tests, functional tests, or performance tests that are in the selected branch of the repository. ADVANCED Lists all assets that are displayed when custom filters are applied for assets in the selected branch of the repository. Note: You can click the relevant tab to view the tests that were run earlier. -
Perform any of the following actions to identify the test asset:
- Scroll through the list.Tip: You can hover over the icon in the Type column to know the type of the test asset.Note: You can also identify the type of the asset from the icon that represents the test type as shown in the following table:
Icon Represents Listed in the SUITES tab Listed in the TESTS tab Listed in the ADVANCED tab API test Functional test Performance test AFT Suite API Suite Compound Test HCL AppScan CodeSweep JMeter Test JUnit Test Postman test Rate Schedule Selenium test VU Schedule - Search for the test by entering any text that is contained in the test asset name in the Search field.
-
Select the time interval within which the test was run.
For example, you can select the Last 24 hours option to view the tests that were run in the previous 24 hours.
-
Select the range of dates within which the test was run.
You can click the calendar icon to select the date in the first image as the start date, and then select the date in the second image as the end date.
Note: You can select the range of dates only when you select the time interval as Custom. -
Click the Filter icon in the SUITES or TESTS tab, and then select the test type.
All the tests based on the selected test type are displayed.
For example, you can select API Suite in the SUITES tab to display all the API suites or you can select Functional Test in the TESTS tab to display all the functional tests.
- Click the Filter icon in the ADVANCED tab, and
then perform the following actions to create a filter
query:
- Click New filter.
- Enter a name for the filter.
- Select an operator, and then select Add rule to add a rule or Add group to add a group of rules.
- Select or enter the relevant parameters, and then
either select or enter the condition and the
criteria for the condition.You can select a parameter from the following list:
- ID
- Type
- Test
- Version
- Result
- Started on
- Finish on
- Duration
- Status
- Verdict
- Labels
- Locked
- Repository
- Branch
- Text
- Click Save.
The filter query is saved and all the tests that match the filter criteria are displayed.
- Perform the following actions in the
ADVANCED tab to retrieve and
apply a previously saved filter query:
- Click the Filter icon .
All the filter queries that you created and saved earlier are displayed.
- Click the filter query that you want to apply.
All the tests that match the filter criteria are displayed.
- Click the Filter icon .
You have identified the test that you want to use.
- Scroll through the list.
-
Perform the following actions on the identified test to create a Rational®
ClearQuest® work item in Rational®
ClearQuest®:
A work item is created in Rational® ClearQuest® and a link to the work item is created in the Report panel of the Results page.Notes:
- You cannot delete the work item that is created in Rational® ClearQuest® from HCL OneTest™ Server.
- You can create multiple work items for the same test result, if required.
Results
You have created a work item in Rational® ClearQuest® from the Results page for the test that ran on HCL OneTest™ Server.
What to do next
- View details of the work items that you created in Rational® ClearQuest® for the test. See Viewing details of the Rational ClearQuest work items.
- Modify the Rational® ClearQuest® configuration that you set in HCL OneTest™ Server. See Managing the Rational ClearQuest configuration.