Klasa DeclarativeWebTest
Reprezentuje deklaracyjne, opartych na języku XML testu wydajności sieci Web.
Hierarchia dziedziczenia
Object
Microsoft.VisualStudio.TestTools.WebTesting.WebTest
Microsoft.VisualStudio.TestTools.WebTesting.DeclarativeWebTest
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.WebTesting
Zestaw: Microsoft.VisualStudio.QualityTools.WebTestFramework (w Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Składnia
'Deklaracja
<SerializableAttribute> _
Public Class DeclarativeWebTest _
Inherits WebTest _
Implements ICloneable
[SerializableAttribute]
public class DeclarativeWebTest : WebTest,
ICloneable
[SerializableAttribute]
public ref class DeclarativeWebTest : public WebTest,
ICloneable
[<SerializableAttribute>]
type DeclarativeWebTest =
class
inherit WebTest
interface ICloneable
end
public class DeclarativeWebTest extends WebTest implements ICloneable
Typ DeclarativeWebTest uwidacznia następujące elementy członkowskie.
Konstruktorzy
Nazwa | Opis | |
---|---|---|
![]() |
DeclarativeWebTest | Inicjuje nowe wystąpienie DeclarativeWebTest klasy. |
Początek
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
ConditionalRuleReferences | Zwraca kolekcję odniesienia reguła warunkowego. |
![]() |
Context | (Odziedziczone z WebTest). |
![]() |
ContextParameters | Pobiera zestaw parametrów kontekstu skojarzonych z tym testu wydajności sieci Web. |
![]() |
DataSources | (Odziedziczone z WebTest). |
![]() |
Description | Zwraca lub ustawia opis tekstowy tego testu wydajności sieci Web. |
![]() |
Guid | (Odziedziczone z WebTest). |
![]() |
InheritFromWebTest | (Odziedziczone z WebTest). |
![]() |
Items | Pobiera lub ustawia zestaw elementów, które są zawarte w tym badaniu wydajności sieci Web.Elementy są transakcje, żądania, komentarze i włącza testów wydajności sieci Web. |
![]() |
LastRequestOutcome | (Odziedziczone z WebTest). |
![]() |
LastResponse | (Odziedziczone z WebTest). |
![]() |
Name | (Odziedziczone z WebTest). |
![]() |
Outcome | (Odziedziczone z WebTest). |
![]() |
Password | (Odziedziczone z WebTest). |
![]() |
PreAuthenticate | (Odziedziczone z WebTest). |
![]() |
Proxy | (Odziedziczone z WebTest). |
![]() |
RequestBodyCaptureLimit | (Odziedziczone z WebTest). |
![]() |
RequestItems | Zwraca kolekcję elementów żądania w tym przypadku test. |
![]() |
ResponseBodyCaptureLimit | (Odziedziczone z WebTest). |
![]() |
ResultsLocale | (Odziedziczone z WebTest). |
![]() |
StopOnError | (Odziedziczone z WebTest). |
![]() |
UserName | (Odziedziczone z WebTest). |
![]() |
ValidationRuleReferences | (Odziedziczone z WebTest). |
![]() |
WebProxy | (Odziedziczone z WebTest). |
![]() |
WebTestPluginReferences | (Odziedziczone z WebTest). |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
AddCommentToResult | (Odziedziczone z WebTest). |
![]() |
AddDataSource(String, String, DataBindingAccessMethod, array<String[]) | (Odziedziczone z WebTest). |
![]() |
AddDataSource(String, String, String, DataBindingAccessMethod, array<String[]) | (Odziedziczone z WebTest). |
![]() |
AddDataSource(String, String, String, DataBindingAccessMethod, DataBindingSelectColumns, array<String[]) | (Odziedziczone z WebTest). |
![]() |
AddDataSourceBinding | (Odziedziczone z WebTest). |
![]() |
BeginCondition | (Odziedziczone z WebTest). |
![]() |
BeginLoop | (Odziedziczone z WebTest). |
![]() |
BeginTransaction | (Odziedziczone z WebTest). |
![]() |
Clone | Tworzy nowy DeclarativeWebTest to jest kopia bieżącej instancji. |
![]() |
EndCondition | (Odziedziczone z WebTest). |
![]() |
EndLoop | (Odziedziczone z WebTest). |
![]() |
EndTransaction(String) | (Odziedziczone z WebTest). |
![]() |
EndTransaction(String, Boolean) | (Odziedziczone z WebTest). |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Odziedziczone z Object). |
![]() |
ExecuteConditionalRule | (Odziedziczone z WebTest). |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object). |
![]() |
GetDataTableRowCount | (Odziedziczone z WebTest). |
![]() |
GetEnumerator | (Odziedziczone z WebTest). |
![]() |
GetExtractionRuleVariables | Zwraca wszystkie ekstrakcji nazwy zmiennej reguł w badania w sieci web. |
![]() |
GetHashCode | Serves as the default hash function. (Odziedziczone z Object). |
![]() |
GetItem | Pobiera WebTestItem z numerem określonego żądania od zera. |
![]() |
GetRequestEnumerator | Pobiera moduł wyliczający wszystkich żądań w czasie wykonywania na podstawie reguły warunkowego. (Zastępuje WebTest.GetRequestEnumerator()). |
![]() |
GetType | Gets the Type of the current instance. (Odziedziczone z Object). |
![]() |
IncludeWebTest(String) | (Odziedziczone z WebTest). |
![]() |
IncludeWebTest(WebTest) | (Odziedziczone z WebTest). |
![]() |
IncludeWebTest(String, Boolean) | (Odziedziczone z WebTest). |
![]() |
IncludeWebTest(WebTest, Boolean) | (Odziedziczone z WebTest). |
![]() |
InitializeDataBinding | Dodaje źródła danych oraz informacje powiązania danych z atrybutów do bieżącej instancji.Przede wszystkim do badań zakodowane w sieci web. (Zastępuje WebTest.InitializeDataBinding()). |
![]() |
InsertItemAt | Wstawia WebTestItem o indeksie określonego elementu. |
![]() |
InternalSetOutcome | (Odziedziczone z WebTest). |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Odziedziczone z Object). |
![]() |
MoveDataTableCursor(String, String) | (Odziedziczone z WebTest). |
![]() |
MoveDataTableCursor(String, String, Int32) | (Odziedziczone z WebTest). |
![]() |
RegisterDataSourceInLoop | (Odziedziczone z WebTest). |
![]() |
ReloadDataTable | (Odziedziczone z WebTest). |
![]() |
RemoveItemAt | Usuwa WebTestItem o indeksie określonego elementu. |
![]() |
Stop | (Odziedziczone z WebTest). |
![]() |
ToString | Returns a string that represents the current object. (Odziedziczone z Object). |
Początek
Zdarzenia
Nazwa | Opis | |
---|---|---|
![]() |
PostPage | (Odziedziczone z WebTest). |
![]() |
PostRequest | (Odziedziczone z WebTest). |
![]() |
PostTransaction | (Odziedziczone z WebTest). |
![]() |
PostWebTest | (Odziedziczone z WebTest). |
![]() |
PrePage | (Odziedziczone z WebTest). |
![]() |
PreRequest | (Odziedziczone z WebTest). |
![]() |
PreRequestDataBinding | (Odziedziczone z WebTest). |
![]() |
PreTransaction | (Odziedziczone z WebTest). |
![]() |
PreWebTest | (Odziedziczone z WebTest). |
![]() |
ValidateResponse | (Odziedziczone z WebTest). |
![]() |
ValidateResponseOnPageComplete | (Odziedziczone z WebTest). |
Początek
Uwagi
Nie należy używać klasy DeclarativeWebTest jako klasa podstawowa.
Bezpieczeństwo wątku
Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.