ITestPlan.QueryTestPoints 方法 (String, String, array<String , Boolean)

查找属于该计划和匹配给定的WIQL条件的所有点。

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

语法

声明
Function QueryTestPoints ( _
    pointQueryText As String, _
    testCaseFieldText As String, _
    testCaseProperties As String(), _
    fetchFirstPage As Boolean _
) As ITestPointCollection
ITestPointCollection QueryTestPoints(
    string pointQueryText,
    string testCaseFieldText,
    string[] testCaseProperties,
    bool fetchFirstPage
)
ITestPointCollection^ QueryTestPoints(
    String^ pointQueryText, 
    String^ testCaseFieldText, 
    array<String^>^ testCaseProperties, 
    bool fetchFirstPage
)
abstract QueryTestPoints : 
        pointQueryText:string * 
        testCaseFieldText:string * 
        testCaseProperties:string[] * 
        fetchFirstPage:bool -> ITestPointCollection 
function QueryTestPoints(
    pointQueryText : String, 
    testCaseFieldText : String, 
    testCaseProperties : String[], 
    fetchFirstPage : boolean
) : ITestPointCollection

参数

  • pointQueryText
    类型:System.String
    WIQL检索的查询字符串点。
  • testCaseFieldText
    类型:System.String
    检索的嵌入式WIQL字符串测试用例。
  • testCaseProperties
    类型:array<System.String[]
    某些关联的属性测试用例,为预提取和缓存
  • fetchFirstPage
    类型:System.Boolean
    如果为true,调用来获取来自服务器的第一页。

返回值

类型:Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
集合点匹配的查询。

备注

这是可用于此查询的某些WIQL字段:SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId:要查询所有在从开始RecursiveSuiteId的套件层次结构点。

.NET Framework 安全性

请参见

参考

ITestPlan 接口

QueryTestPoints 重载

Microsoft.TeamFoundation.TestManagement.Client 命名空间