Compartilhar via


Método ITestPlan.QueryTestPointsAndStatistics (String, String, ITestPointStatistics)

 

Publicado: abril de 2016

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 QueryTestPointsAndStatistics(
    string queryText,
    string testCaseFieldText,
    out ITestPointStatistics statistics
)
ITestPointCollection^ QueryTestPointsAndStatistics(
    String^ queryText,
    String^ testCaseFieldText,
    [OutAttribute] ITestPointStatistics^% statistics
)
abstract QueryTestPointsAndStatistics : 
        queryText:string *
        testCaseFieldText:string *
        statistics:ITestPointStatistics byref -> ITestPointCollection
Function QueryTestPointsAndStatistics (
    queryText As String,
    testCaseFieldText As String,
    <OutAttribute> ByRef statistics As ITestPointStatistics
) As ITestPointCollection

Parâmetros

  • queryText
    Type: System.String

    Cadeia de consulta WIQL para pontos de recuperação.

  • testCaseFieldText
    Type: System.String

    Cadeia de caracteres WIQL para recuperar o caso de teste incorporado.

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

QueryTestPointsAndStatistics Sobrecarga
Interface ITestPlan
Namespace Microsoft.TeamFoundation.TestManagement.Client

Retornar ao topo