ITestPlan.QueryTestPoints 方法 (String)

 

发布时间: 2016年4月

查找并返回的所有测试的点属于此测试计划并与提供的查询相匹配。

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

语法

ITestPointCollection QueryTestPoints(
    string queryText
)
ITestPointCollection^ QueryTestPoints(
    String^ queryText
)
abstract QueryTestPoints : 
        queryText:string -> ITestPointCollection
Function QueryTestPoints (
    queryText As String
) As ITestPointCollection

参数

  • queryText
    Type: System.String

    一个 WIQL string 查找测试点对象。

返回值

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection

测试点的集合。

备注

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

请参阅

ITestPointCollection
ITestPoint
QueryTestPoints 重载
ITestPlan 接口
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首