ITestPlan.QueryTestPoints (Método) (String, String, array<String , Boolean)

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 QueryTestPoints ( _
    pointQueryText As String, _
    testCaseFieldText As String, _
    testCaseProperties As String(), _
    fetchFirstPage As Boolean _
) As ITestPointCollection
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 : String, 
    testCaseFieldText : String, 
    testCaseProperties : String[], 
    fetchFirstPage : boolean
) : ITestPointCollection

Parámetros

  • pointQueryText
    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.
  • testCaseProperties
    Tipo: array<System.String[]
    Matriz de propiedades de casos de prueba asociados, a la pre- búsqueda y a la memoria caché
  • fetchFirstPage
    Tipo: System.Boolean
    Si es true, la llamada también captura la primera página del servidor.

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

QueryTestPoints (Sobrecarga)

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