Partager via


WebTest Class

No content here will be updated; please do not add material here.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTest
    Microsoft.VisualStudio.TestTools.WebTesting.DeclarativeWebTest
    Microsoft.VisualStudio.TestTools.WebTesting.ThreadedWebTest

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class WebTest _
    Implements IEnumerable
[SerializableAttribute]
public abstract class WebTest : IEnumerable
[SerializableAttribute]
public ref class WebTest abstract : IEnumerable
[<AbstractClass>]
[<SerializableAttribute>]
type WebTest =  
    class 
        interface IEnumerable 
    end
public abstract class WebTest implements IEnumerable

The WebTest type exposes the following members.

Constructors

  Name Description
Protected method WebTest

Top

Properties

  Name Description
Public property Context
Public property DataSources
Public property Guid
Public property InheritFromWebTest
Public property LastRequestOutcome
Public property LastResponse
Public property Name
Public property Outcome
Public property Password
Public property PreAuthenticate
Public property Proxy
Public property RequestBodyCaptureLimit
Public property ResponseBodyCaptureLimit
Public property ResultsLocale
Public property StopOnError
Public property UserName
Public property ValidationRuleReferences
Public property WebProxy
Public property WebTestPluginReferences

Top

Methods

  Name Description
Public method AddCommentToResult
Public method AddDataSource(String, String, DataBindingAccessMethod, array<String[])
Public method AddDataSource(String, String, String, DataBindingAccessMethod, array<String[])
Public method AddDataSource(String, String, String, DataBindingAccessMethod, DataBindingSelectColumns, array<String[])
Public method AddDataSourceBinding
Public method BeginCondition
Public method BeginLoop
Public method BeginTransaction
Public method EndCondition
Public method EndLoop
Public method EndTransaction(String)
Public method EndTransaction(String, Boolean)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method ExecuteConditionalRule
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetDataTableRowCount
Public method GetEnumerator
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetRequestEnumerator
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IncludeWebTest(String)
Public method IncludeWebTest(WebTest)
Public method IncludeWebTest(String, Boolean)
Public method IncludeWebTest(WebTest, Boolean)
Public method InitializeDataBinding
Public method InternalSetOutcome
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MoveDataTableCursor(String, String)
Public method MoveDataTableCursor(String, String, Int32)
Public method RegisterDataSourceInLoop
Public method ReloadDataTable
Public method Stop
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event PostPage
Public event PostRequest
Public event PostTransaction
Public event PostWebTest
Public event PrePage
Public event PreRequest
Public event PreRequestDataBinding
Public event PreTransaction
Public event PreWebTest
Public event ValidateResponse
Public event ValidateResponseOnPageComplete

Top

Remarks

No content here will be updated; please do not add material here.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.WebTesting Namespace