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)

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

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.


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