Hi SHUBHAKARA
2.To export the export the contents of test lab folder/sub folders to excel
-- Just paste the folder pah to [ CF_ITEM_PATH like 'AAAAACAAB%']
-- If subfolder --> paste folder path as it is
-- if main folder having sub folders --> paste folder path as it is and add % at the end
************************************
SELECT
CF_ITEM_NAME as "Test Set Folder Name",
CY_CYCLE as "Test Set Name",
TS_NAME as "Test Case Name",
RN_STATUS as "Test Case Status",
ST_STEP_NAME as "Test Step Name",
ST_STATUS as "Test Step Status",
ST_DESCRIPTION as "Test Step Description",
ST_EXPECTED as "Test Step Expected Result",
ST_ACTUAL as "Test Step Actual Result",
RN_HOST as "Test Host Name",
RN_TESTER_NAME as "Tester Name",
ST_EXECUTION_DATE as "Test Step Execution Date",
ST_EXECUTION_TIME as "Test Step Execution Time"
FROM STEP a, TEST b, CYCLE c,RUN d,CYCL_FOLD e
where
a.ST_TEST_ID=b.TS_TEST_ID and
c.CY_CYCLE_ID=d.RN_CYCLE_ID and
d.RN_TEST_ID=b.TS_TEST_ID and
e.CF_ITEM_ID=c.CY_FOLDER_ID and
RN_HOST IS NOT NULL and
RN_TESTER_NAME IS NOT NULL and
CF_ITEM_PATH like 'AAAAAAAAA%'
ORDER BY TS_NAME,RN_RUN_ID,ST_RUN_ID,ST_EXECUTION_DATE,ST_EXECUTION_TIME ASC
*************************************
paste the query and Right click on the report in the report tree and select "Generate excel report"
Very useful tips :
Two question :
1. Is it possible to comment some part of above script so that i will not have the unwanted column in my excel report.
2. Can we change the above script in such a way that i will have only folders from "Test lab " which is of my interest