发布时间: 2016年4月
查找属于此计划并与给定的 WIQL 条件匹配的所有点。
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
ITestPointCollection QueryTestPoints(
string pointQueryText,
string testCaseFieldText,
string[] testCaseProperties,
bool fetchFirstPage
)
ITestPointCollection^ QueryTestPoints(
String^ pointQueryText,
String^ testCaseFieldText,
array<String^>^ testCaseProperties,
bool fetchFirstPage
)
abstract QueryTestPoints :
pointQueryText:string *
testCaseFieldText:string *
testCaseProperties:string[] *
fetchFirstPage:bool -> ITestPointCollection
Function QueryTestPoints (
pointQueryText As String,
testCaseFieldText As String,
testCaseProperties As String(),
fetchFirstPage As Boolean
) As ITestPointCollection
参数
pointQueryText
Type: System.String检索点的 WIQL 查询字符串。
testCaseFieldText
Type: System.String用于检索嵌入的测试用例的 WIQL 字符串。
testCaseProperties
Type: System.String[]关联的测试用例,到预提取和缓存的属性的数组
fetchFirstPage
Type: System.Boolean如果为 true,调用也会从服务器中提取的第一页。
返回值
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
与查询匹配的点的集合。
备注
下面是一些可以使用此查询中的 WIQL 字段: SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId: 若要查询的开头 RecursiveSuiteId 的套件层次结构中的所有点。
请参阅
QueryTestPoints 重载
ITestPlan 接口
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首