'Dim coverable As ICoverableReq
'Dim reqF As reqFactory
'Dim req As req
Set reqF = tdc.reqFactory
Set req = reqF.Item(231) 'consider reqid =231, value from QC
Set coverable = req
coverable.AddTestToCoverage 31 'consider TestID=31, value from QC
'-----------------------------
The above code worked for me, i was able to map test case id 31 to Requirement id 231 in QC. The only agenda now one would have is getting reqid and TestID dynamically from QC , as most of the documents will not have these values. Hope this helps...