Método ITestPlan.QueryTestPoints (String, String, String[], Boolean)
Localiza todos os pontos que pertencem a este plano e correspondem às condições WIQL determinadas.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (em Microsoft.TeamFoundation.TestManagement.Client.dll)
Sintaxe
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
Parâmetros
pointQueryText
Type: System.StringCadeia de consulta WIQL para pontos de recuperação.
testCaseFieldText
Type: System.StringCadeia de caracteres WIQL para recuperar o caso de teste incorporado.
testCaseProperties
Type: System.String[]Matriz de propriedades do caso de teste associada, pré-busca e cache
fetchFirstPage
Type: System.BooleanSe for true, a chamada também busca a primeira página do servidor.
Valor de retorno
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
Coleção de pontos correspondentes a consulta.
Comentários
Aqui estão alguns dos campos WIQL que podem ser usados nesta consulta: SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId: consultar todos os pontos na hierarquia do conjunto começando com RecursiveSuiteId.
Consulte também
QueryTestPoints Sobrecarga
Interface ITestPlan
Namespace Microsoft.TeamFoundation.TestManagement.Client
Retornar ao topo