Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
What test tool are you using? – Dale Emery Aug 28 '13 at 23:43

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

 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

For more details and different SQL queries that help you play with information you want extract refer below blog link

share|improve this answer
The above query worked but unable to fetch complete blocked count is 27 but it pull only 9 blocked TC . Could you please help me whether iam folowing the correct steps: 1. logged in QC 2. click on Dash Board 3. Click on Private/Publci 4. Create a xls doc 5. Located on Desktop 6. Click on Query builder & Pasted the above SQL Query 7. Run the Query 8. Able to xls report but only 9 are pulled – user15504 Dec 2 '15 at 13:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.