我正在尝试提取“在周期中检测到”字段的 QC 缺陷部分中可用的可能值。
我尝试为“缺陷状态”执行此操作,我能够提取值 Resolved、Open、Assigned....
我尝试提取状态值的代码如下:
Set cust = QCConnection.customization
Set custlists = cust.Lists
Set custlist = cutslists.List
Set custlist = custlists.List("Bug Status") 'it is listing complete bug status values not specific 'to the project
Set listrootnode = custlist.RootNode
Set listchildren = listrootnode.Children
For Each listname In listchildren
MsgBox (listname.Name) 'Assigned, deferred, cancel...... all are displayed
Next
但是在这里我需要将 Bug_status 替换为与在循环字段中检测到相关的内容。所以我需要帮助找出这个自定义列表的名称......