WebTestContext Members
Include Protected Members
Include Inherited Members
Represents the context available to a WebTest.
The WebTestContext type exposes the following members.
Methods
Name
Description
Overloaded. Provides methods for adding objects to the WebTestContext.
Removes all the elements from the WebTestContext.
Determines whether the WebTestContext contains the specified key/value pair.
Determines whether the WebTestContext contains an element with the specified key.
Copies the WebTestContext elements to an array of KeyValuePair<TKey, TValue> objects
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Returns an IEnumerator<T> that contains the WebTestContext elements.
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Overloaded. Removes an element from the WebTestContext object.
Returns a string that represents the current object. (Inherited from Object.)
Gets the value associated with the specified key.
Top
Properties
Name
Description
Gets the total number of agents used in the current test run.
Gets the zero-based index for the current agent.
Gets the name of the agent computer on which the WebTest is running.
Gets the name of the test controller computer.
Gets or sets the cookies used by previous requests in the Web test.
Gets the number of key/value pair elements in the WebTestContext.
Gets a value that indicates whether the Web test is being run in the context of a new user of the target Web site.
Gets a value indicating whether the WebTestContext is read-only.
Gets or sets the value associated with the specified key from the WebTestContext object.
Gets a collection of all the keys in the WebTestContext.
Gets the validation level for the current test run.
Gets a collection of all the values in the WebTestContext.
Gets the iteration number of this Web test variation.
Gets a value that uniquely identifies a simulated virtual user when you run the Web test in a load test.
Top
Explicit Interface Implementations
Name
Description
Top