【问题标题】:Defect ID corresponding to a TestID in HP Quality Center?与 HP Quality Center 中的 TestID 对应的缺陷 ID?
【发布时间】:2015-09-21 05:56:07
【问题描述】:

去年我在VB Script中写了一个小工具来检索TestID,代码如下。

Dim TSTestFact = tsObject.TSTestFactory
Dim TestSetTestsList = TSTestFact.NewList("")

For Each tsInstance In TestSetTestsList
            Dim tid As String = tsInstance.ID
            Dim testqcID As String = tsInstance.TestID
            Dim testname As String = tsInstance.Name
            Dim statusOfTest As String = tsInstance.Status
Next

这工作正常。现在,QC 中也有缺陷,我需要知道与 TestID 对应的“缺陷 ID”。任何建议如何访问质量中心中的“缺陷 ID”? 谢谢

【问题讨论】:

  • 任何其他编程语言的提示也可以。最重要的是访问“缺陷 ID”的方式。谢谢

标签: vb.net vba hp-quality-center defects


【解决方案1】:

在你的 for 循环中添加以下逻辑

Dim tsTest as TSTest = tsInstance
Dim linkFactory as LinkFactory = tsTest.LinkFactory
// From link factory object extract defects which are linked to corresponding test

谢谢,
高拉夫

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-05-25
    • 2012-05-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多