【问题标题】:Programmatically find attachments to defects in HP Quality Center在 HP Quality Center 中以编程方式查找缺陷的附件
【发布时间】:2013-06-27 16:24:55
【问题描述】:

如何以编程方式确定 HPQC(现为 HP ALM)中的缺陷是否有附件?

if(bug.HasAttachment){
  //do stuff
}

好像没用……

【问题讨论】:

    标签: hp-quality-center


    【解决方案1】:

    这是确定错误对象是否有附件并且它在 VBA 中对我有用的正确函数。

    我假设您的错误对象已正确初始化?附件是否被错误地添加到错误的链接实体之一?

    尝试获取附件数量?

    Dim AttachmentList As List
    Set AttachmentList = MyBug.Attachments.NewList("")
    If AttachmentList.Count > 0 Then
        //do stuff
    

    问题中没有太多信息可以继续......

    【讨论】:

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