发布时间: 2016年4月
查找并返回的所有测试的点属于此测试计划并与提供的点查询和字段值子查询相匹配。
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
ITestPointCollection QueryTestPoints(
string pointQueryText,
string testCaseFieldText
)
ITestPointCollection^ QueryTestPoints(
String^ pointQueryText,
String^ testCaseFieldText
)
abstract QueryTestPoints :
pointQueryText:string *
testCaseFieldText:string -> ITestPointCollection
Function QueryTestPoints (
pointQueryText As String,
testCaseFieldText As String
) As ITestPointCollection
参数
pointQueryText
Type: System.String一个 WIQL string 查找测试点对象。
testCaseFieldText
Type: System.String一个 WIQL string 种查找测试用例通过查看具有特定值或范围的字段。
返回值
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
测试点的集合。
备注
下面是一些可以使用此查询中的 WIQL 字段: SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId: 若要查询的开头 RecursiveSuiteId 的套件层次结构中的所有点。
请参阅
ITestPointCollection
ITestPoint
QueryTestPoints 重载
ITestPlan 接口
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首