How to filter defects that are linked to test instances with 'blocked' status in Quality Centre



  • I need to generate a report from the dashboard view of Quality Center to get all the blocking defects in my test sets. Meaning, I want to filter the list of defects that are linked to test instances marked with the status 'blocked. Could you please help me in generating such custom report? Thanks, Karim.



  • To list out the defects and the corresponding test cases that blocked, its very easy to generate using Excel query feature in Quality center. The query has to join test instance, tests and link table to retrieve the details. The query looks like this SELECT T.TS_NAME, TC.TC_TEST_INSTANCE, LN_BUG_ID FROM TEST T, TESTCYCL TC, LINK L WHERE T.TS_TEST_ID = TC.TC_TEST_ID -- Condition joining TEST (testcases) and TESTCYCL (Test instances) table AND L.LN_ENTITY_TYPE = 'TESTCYCL' -- This condition makes sure that defects linked to test instaces only need to retrieved AND TC.TC_TESTCYCL_ID = L.LN_ENTITY_ID -- Condition to join LINK and TESTCYCL table AND TC.TC_STATUS = 'BLOCKED' For more details and different SQL queries that help you play with information you want extract refer this blog link.


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2