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

Busca todos los puntos que pertenecen a este plan y cumplen las condiciones especificadas de WIQL.

Espacio de nombres:  Microsoft.TeamFoundation.TestManagement.Client
Ensamblado:  Microsoft.TeamFoundation.TestManagement.Client (en Microsoft.TeamFoundation.TestManagement.Client.dll)

Sintaxis

'Declaración
Function QueryTestPointsAndStatistics ( _
    queryText As String, _
    testCaseFieldText As String, _
    <OutAttribute> ByRef statistics As ITestPointStatistics _
) As ITestPointCollection
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 : String, 
    testCaseFieldText : String, 
    statistics : ITestPointStatistics
) : ITestPointCollection

Parámetros

  • queryText
    Tipo: System.String
    Cadena de consulta de WIQL para recuperar los puntos.
  • testCaseFieldText
    Tipo: System.String
    Cadena de WIQL para recuperar el caso de prueba incrustado.

Valor devuelto

Tipo: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
Colección de consulta coincidente de puntos.

Comentarios

A continuación se muestran algunos de los campos de WIQL que se pueden utilizar en esta consulta: SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId: para ver todos los puntos de la jerarquía de conjuntos que comienza con RecursiveSuiteId.

Seguridad de .NET Framework

Vea también

Referencia

ITestPlan Interfaz

QueryTestPointsAndStatistics (Sobrecarga)

Microsoft.TeamFoundation.TestManagement.Client (Espacio de nombres)