ITestPlan.QueryTestPoints Method (String, String)

Finds and returns all test points that belong to this test plan and that match the provided point query and field value subquery.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Function QueryTestPoints ( _
    pointQueryText As String, _
    testCaseFieldText As String _
) As ITestPointCollection
ITestPointCollection QueryTestPoints(
    string pointQueryText,
    string testCaseFieldText
)
ITestPointCollection^ QueryTestPoints(
    String^ pointQueryText, 
    String^ testCaseFieldText
)
abstract QueryTestPoints : 
        pointQueryText:string * 
        testCaseFieldText:string -> ITestPointCollection
function QueryTestPoints(
    pointQueryText : String, 
    testCaseFieldText : String
) : ITestPointCollection

Parameters

  • pointQueryText
    Type: String

    A WIQL string that finds test point objects.

  • testCaseFieldText
    Type: String

    A WIQL string that finds test cases by looking at fields that have specific values or ranges.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
A collection of test points.

Remarks

Here are some of the WIQL fields that can be used in this query: SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId: to query all points in the suite hierarchy starting with RecursiveSuiteId.

.NET Framework Security

See Also

Reference

ITestPlan Interface

QueryTestPoints Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestPointCollection

ITestPoint