This documentation is archived and is not being maintained.

WebTestContext Class

Represents the context available to a WebTest.

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

[SerializableAttribute]
public class WebTestContext : IDictionary<string, Object>, 
	ICollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, 
	IEnumerable

Used for every Web test and contains data that describes the context of the Web test. This information includes data about data-bound values, information about the current run such as the AgentId and ControllerName, and other contextual information.

This class does not provide any public constructors.

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestContext

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