I run a report that gives me all the data listed below which works great. However, I would like to add a new column that contains the ST_ACTUAL results from the STEP table, but only to display the failed results, and not passed. The report should still show my passed and failed test cases. I just would like to see the results for only the failed steps, and leave the passed as blanks.
Are there any query experts that would know how to do that, because I do not know.
Thanks for any help!!!!
SELECT
TEST.TS_NAME AS "Test Name"
, TESTCYCL.TC_TEST_ID AS "Test Plan ID"
, TESTCYCL.TC_TESTCYCL_ID AS "TestCycle ID"
, TEST.TS_STATUS as "Status"
, TESTCYCL.TC_STATUS AS "Execution Status"
, RELEASE_CYCLES.RCYC_NAME AS "Test Cycle"
, CYCLE.CY_CYCLE As "Test Set Name"
, TESTCYCL.TC_TESTER_NAME AS "Tester"
, TESTCYCL.TC_EXEC_DATE As "Date"
, TESTCYCL.TC_EXEC_TIME As "Time"
, TEST.TS_DESCRIPTION as "Description"
FROM (((CYCL_FOLD
LEFT JOIN CYCLE
ON CYCL_FOLD.CF_ITEM_ID = CYCLE.CY_FOLDER_ID)
LEFT JOIN TESTCYCL
ON CYCLE.CY_CYCLE_ID = TESTCYCL.TC_CYCLE_ID)
LEFT JOIN TEST
ON TESTCYCL.TC_TEST_ID = TEST.TS_TEST_ID)
LEFT JOIN RELEASE_CYCLES
ON TESTCYCL.TC_ASSIGN_RCYC = RELEASE_CYCLES.RCYC_ID
WHERE TESTCYCL.TC_ASSIGN_RCYC in(1016)
and test.TS_EXEC_STATUS in('Passed','Failed','Not Completed','No Run')
order by TEST.TS_NAME