Udostępnij za pośrednictwem


Metoda ITestPlan.QueryTestPoints — (String, String, array<String , Boolean)

Znajduje wszystkie punkty, które należą do tego planu i spełniających warunki danej WIQL.

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, _
    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

Parametry

  • pointQueryText
    Typ: System.String
    Ciąg kwerendy WIQL punkty pobierania.
  • testCaseFieldText
    Typ: System.String
    Ciąg WIQL do pobierania osadzony testowy.
  • testCaseProperties
    Typ: array<System.String[]
    Tablica właściwości skojarzone testowy, pre-fetch i pamięci podręcznej
  • fetchFirstPage
    Typ: System.Boolean
    Jeśli true, wywołanie pobiera z serwera pierwszej strony.

Wartość zwracana

Typ: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
Kolekcja punktów pasujących do kwerendy.

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