This topic has not yet been rated - Rate this topic

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
/** @attribute SerializableAttribute() */ 
public class WebTestContext implements IDictionary<String,Object>, 
	ICollection<KeyValuePair<String,Object>>, IEnumerable<KeyValuePair<String,Object>>, IEnumerable
SerializableAttribute 
public class WebTestContext implements 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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ