Udostępnij za pośrednictwem


Metoda ITestPlan.QueryTestPoints — (String, String)

Znajduje i zwraca wszystkie badania punktów należących do tego planu badań i odpowiedników podkwerendy dostarczonego punkt kwerendy i pola wartość.

Przestrzeń nazw:  Microsoft.TeamFoundation.TestManagement.Client
Zestaw:  Microsoft.TeamFoundation.TestManagement.Client (w Microsoft.TeamFoundation.TestManagement.Client.dll)

Składnia

'Deklaracja
Function QueryTestPoints ( _
    pointQueryText As String, _
    testCaseFieldText As String _
) As ITestPointCollection
ITestPointCollection QueryTestPoints(
    string pointQueryText,
    string testCaseFieldText
)
ITestPointCollection^ QueryTestPoints(
    String^ pointQueryText, 
    String^ testCaseFieldText
)
abstract QueryTestPoints : 
        pointQueryText:string * 
        testCaseFieldText:string -> ITestPointCollection 
function QueryTestPoints(
    pointQueryText : String, 
    testCaseFieldText : String
) : ITestPointCollection

Parametry

  • pointQueryText
    Typ: System.String
    WIQL string stwierdzi obiektów point przetestować.
  • testCaseFieldText
    Typ: System.String
    WIQL string , która znajduje przypadkach badania spojrzeć na pola, które mają specyficzne wartości lub zakresy.

Wartość zwracana

Typ: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
Kolekcja punkty badania.

Uwagi

Oto niektóre pola WIQL używane w tej kwerendzie: SuiteId ConfigurationId TestCaseId PointState AreaPath RecursiveSuiteId: wszystkie punkty w hierarchii suite, począwszy od RecursiveSuiteId kwerendy.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ITestPlan Interfejs

Przeciążenie QueryTestPoints

Przestrzeń nazw Microsoft.TeamFoundation.TestManagement.Client

ITestPointCollection

ITestPoint