ITestPlan.QueryTestPointsAndStatistics 方法 (String, String, ITestPointStatistics)

 

发布时间: 2016年4月

查找属于此计划并与给定的 WIQL 条件匹配的所有点。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

ITestPointCollection QueryTestPointsAndStatistics(
    string queryText,
    string testCaseFieldText,
    out ITestPointStatistics statistics
)
ITestPointCollection^ QueryTestPointsAndStatistics(
    String^ queryText,
    String^ testCaseFieldText,
    [OutAttribute] ITestPointStatistics^% statistics
)
abstract QueryTestPointsAndStatistics : 
        queryText:string *
        testCaseFieldText:string *
        statistics:ITestPointStatistics byref -> ITestPointCollection
Function QueryTestPointsAndStatistics (
    queryText As String,
    testCaseFieldText As String,
    <OutAttribute> ByRef statistics As ITestPointStatistics
) As ITestPointCollection

参数

  • queryText
    Type: System.String

    检索点的 WIQL 查询字符串。

  • testCaseFieldText
    Type: System.String

    用于检索嵌入的测试用例的 WIQL 字符串。

返回值

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection

与查询匹配的点的集合。

备注

下面是一些可以使用此查询中的 WIQL 字段: SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId: 若要查询的开头 RecursiveSuiteId 的套件层次结构中的所有点。

请参阅

QueryTestPointsAndStatistics 重载
ITestPlan 接口
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首