共用方式為


ITestPlan.QueryTestPointStatistics 方法

尋找並傳回測試點統計資料,這些統計資料屬於這個測試計劃且符合指定的查詢。

命名空間:  Microsoft.TeamFoundation.TestManagement.Client
組件:  Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

語法

'宣告
Function QueryTestPointStatistics ( _
    queryText As String _
) As ITestPointStatistics
ITestPointStatistics QueryTestPointStatistics(
    string queryText
)
ITestPointStatistics^ QueryTestPointStatistics(
    String^ queryText
)
abstract QueryTestPointStatistics : 
        queryText:string -> ITestPointStatistics 
function QueryTestPointStatistics(
    queryText : String
) : ITestPointStatistics

參數

  • queryText
    型別:System.String
    WIQLstring,會尋找測試點統計物件。

傳回值

型別:Microsoft.TeamFoundation.TestManagement.Client.ITestPointStatistics
測試點統計資料的集合。

備註

這可用於這個查詢的特定工作項目查詢語言 (WIQL) 欄位:SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId:查詢是以開始 RecursiveSuiteId 的套件階層架構的所有點。

.NET Framework 安全性

請參閱

參考

ITestPlan 介面

Microsoft.TeamFoundation.TestManagement.Client 命名空間

ITestPointStatistics