The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ITestPlan::QueryTestPointsAndStatistics Method (String^, String^, array<String^>^, ITestPointStatistics^)
Finds all points that belong to this plan and match the given WIQL conditions.
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
ITestPointCollection^ QueryTestPointsAndStatistics(
String^ queryText,
String^ testCaseFieldText,
array<String^>^ testCaseProperties,
[OutAttribute] ITestPointStatistics^% statistics
)
Parameters
- queryText
-
Type:
System::String^
WIQL query string for retrieving points.
- testCaseFieldText
-
Type:
System::String^
WIQL string for retrieving the embedded test case.
- testCaseProperties
-
Type:
array<System::String^>^
Array of properties of the associated test case, to pre-fetch and cache
- statistics
-
Type:
Microsoft.TeamFoundation.TestManagement.Client::ITestPointStatistics^
Statistics for points queried.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client::ITestPointCollection^Collection of points matching query.
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.
Show: