Share via


WebTest.Context Property

Gets or sets an object that contains context variables that are available to the Web test at run time.

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

Syntax

'Declaration
Public Property Context As WebTestContext
'Usage
Dim instance As WebTest 
Dim value As WebTestContext 

value = instance.Context

instance.Context = value
public WebTestContext Context { get; internal set; }
public:
property WebTestContext^ Context {
    WebTestContext^ get ();
    void set (WebTestContext^ value);
}
public function get Context () : WebTestContext 
public function set Context (value : WebTestContext)

Property Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestContext
A WebTestContext object.

.NET Framework Security

See Also

Reference

WebTest Class

WebTest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace