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
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..
Zobacz też
Informacje
Przestrzeń nazw Microsoft.TeamFoundation.TestManagement.Client