Quality Center / ALM Practitioners Forum

Linking defect to a test in QC 9.2

Regular Contributor.

Linking defect to a test in QC 9.2

Hi all,
Can anyone give me a solution of how to automatically link the defect to a test, when a step is failed while running the manual or automation test from Test Lab module in QC 9.2.
Amit Ahuja
Trusted Contributor.

Re: Linking defect to a test in QC 9.2

Good Day Sridhar,

First of all I would like to say that its a good question, and given below are some of the suggestion,

For Automated Test Runs, you can enable setting - "Submit a defect to Quality center for each failed step" in Tools > Option > Run Tab >. This is will enable QTP to log a defect for every failed step. Further customization have to be done using VB Script to link the defect to the Test Case.

Use WorkFlow Script for the Quality Center Project. To be specific you need to Trigger TestLab_RunTests Subroutine to make this happen.

Amit Ahuja
Slow & Steady