TD Bug Object
I need to pull out bug report from TD and I am using QTP for this. I am using OTA objects. I can create every possible object ("Bugfactory", "TestSet" etc etc) now I need to create an object so that I can retrieve information related to an already created bug. For that I need to create a bug object. However I am still struggling to do this. Does any body has tried this ??
Re: TD Bug Object
<font class="small">Code:</font><hr /><pre> 'Get all QC defects
Set DefectCollection = qcutil.QCConnection.BugFactory.NewList("")
For each Defect in DefectCollection
Set DefectCollection = Nothing </pre><hr />
<font class="small">Code:</font><hr /><pre>'Get defect with ID
On error resume next
Set MyDefect = qcutil.QCConnection.BugFactory.Item(DefectID)
If Err.Number <> 0 Then
Msgbox "Defect doesn't exist"
On error goto 0 </pre><hr />