ITestPlan.QueryTestPointsAndStatistics, méthode (String, String, ITestPointStatistics%)

Recherche tous les points qui appartiennent à ce plan et correspondent aux conditions donnés de WIQL.

Espace de noms :  Microsoft.TeamFoundation.TestManagement.Client
Assembly :  Microsoft.TeamFoundation.TestManagement.Client (dans Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntaxe

'Déclaration
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

Paramètres

  • queryText
    Type : System.String
    Chaîne de requête de WIQL pour récupérer des points.
  • testCaseFieldText
    Type : System.String
    Chaîne de WIQL pour récupérer le cas de test incorporé.

Valeur de retour

Type : Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
Collection de points correspondant à la requête.

Notes

Voici certains des champs de WIQL qui peuvent être utilisés dans cette requête : SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId : pour rechercher tous les points dans la hiérarchie de la continuation à partir RecursiveSuiteId.

Sécurité .NET Framework

Voir aussi

Référence

ITestPlan Interface

QueryTestPointsAndStatistics, surcharge

Microsoft.TeamFoundation.TestManagement.Client, espace de noms