ITestPlan.QueryTestPointsAndStatistics Method (String, String, ITestPointStatistics)
Finds all points that belong to this plan and match the given WIQL conditions.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
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
Parameters
queryText
Type: System.StringWIQL query string for retrieving points.
testCaseFieldText
Type: System.StringWIQL string for retrieving the embedded test case.
statistics
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestPointStatisticsStatistics for points queried.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
Collection of points matching query.
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.
See Also
QueryTestPointsAndStatistics Overload
ITestPlan Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top