You are on page 1of 4

Importing contents of Test Case Result Index

from HPQC 10.

Step 1: Login to your project (for which TCRI has to be created) on


HPQC.
Step 2: Click on Dashboard Button present on left pane of HPQC 10.

Step 3: Click on Analysis View tab present on the Dashboard screen

Step 4: Select Analysis option and select value as New Excel Report
from the + Dropdown

Step 5: Enter the Name for the Excel file to be generated and click on
OK button.
Step 6: Select the Excel file (with the same name as you have entered
in last step) and click on the Configuration tab present on right pane of
HPQC 10.

Step 7: Copy the following Query on the Query 1 window.

SELECT
CY_CYCLE as "Test Set Name",
TS_NAME as "Test Case Name",
TS_USER_01 as " Plan: Status ",
TS_VC_VERSION_NUMBER as " Plan: Version ",
RN_TESTER_NAME as "Tester Name",
RN_RUN_NAME as " RUN ID",
TS_VC_USER_NAME as "Approver",
to_char(RN_EXECUTION_DATE, 'dd-Mon-yyyy') as "Execution Date",
RN_STATUS as "Test Case Status"
FROM Testcycl a, TEST b, CYCLE c,RUN d,CYCL_FOLD e
where
e.CF_ITEM_ID=c.CY_FOLDER_ID and
a.TC_CYCLE_ID=c.CY_CYCLE_ID and
a.TC_TEST_ID=b.TS_TEST_ID and
c.CY_CYCLE_ID=d.RN_CYCLE_ID and
b.ts_test_id=d.rn_TEST_ID and
CY_CYCLE like ' Test Cycle name* '
order by c.CY_CYCLE,b.TS_NAME
Replace the Test Cycle name with the name of the Cycle for which TCRI has to be
created
For eg. CY_CYCLE like ' Alpha Release 2 '
Step 8: Click on Generate button and click on OK button on the
Confirm popup message

Step 9: Click on save button on Save Report window.

Step 10: an Excel file should get open with all the necessary headers
required for creating TCRI.

You might also like