| || |
QC 9 API Scripting: Cant Access Bugs from TestCase
Background: Excel VBA scripts, through QC API
I have been struggling for ages now to implement the following:
Generating Metrics reports, I can easily pull all the testcases within a Test set, and their corresponding test results. But for the life of me, I cannot figure out how to pull the corresponding bugs (bug ids) from testcases that have bugs raised against them from within a test set.
I have been investigating the bugfactory, together with the testfactory, but I now suspect it might be something to do with a Linkfactory?
I found the api literature poor, guess others are struggling as well!
Any help gratefully received!
Re: QC 9 API Scripting: Cant Access Bugs from TestCase
You can do with with cross filters using TDFilter or you have the BugLinkFactory provided by the Ilinkable interface. The filter approach might be more flexible. Do a filter on BugFactory with your test set as an xfilter.