Quantcast
Viewing all articles
Browse latest Browse all 14708

Re: How to retrieve Linked Defect Id from a Test in Test Set using OTA

I got the solution:

Set TSTestFact = objTests.TSTestFactory
Set TestSetTestsList = TSTestFact.NewList("")
For Each objTestInst In TestSetTestsList
strTestStatus = objTestInst.Status
strExecDate = objTestInst.Field("TC_EXEC_DATE")
Set iLink = objTestInst
Set bugLinkF = iLink.BugLinkFactory
Set links = bugLinkF.NewList("")
For Each lnk In links
With lnk
Set TargetObj = .TargetEntity
defectID = CStr(TargetObj.ID)
End With
Next
Next

Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>