Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebTestContext Properties

 

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

NameDescription
System_CAPS_pubpropertyAgentCount

Gets the total number of agents used in the current test run.

System_CAPS_pubpropertyAgentId

Gets the zero-based index for the current agent.

System_CAPS_pubpropertyAgentName

Gets the name of the agent computer on which the WebTest is running.

System_CAPS_pubpropertyControllerName

Gets the name of the test controller computer.

System_CAPS_pubpropertyCookieContainer

Gets or sets the cookies used by previous requests in the Web performance test.

System_CAPS_pubpropertyCount

Gets the number of key/value pair elements in the WebTestContext.

System_CAPS_pubpropertyIsNewUser

Gets a value that indicates whether the Web performance test is being run in the context of a new user of the target Web site.

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the WebTestContext is read-only.

System_CAPS_pubpropertyItem[String]

Gets or sets the value associated with the specified key from the WebTestContext object.

System_CAPS_pubpropertyKeys

Gets a collection of all the keys in the WebTestContext.

System_CAPS_pubpropertyLastRequestOutcome

System_CAPS_pubpropertyLastResponse

Gets or sets the last WebTestResponse.

System_CAPS_pubpropertyValidationLevel

Gets the validation level for the current test run.

System_CAPS_pubpropertyValues

Gets a collection of all the values in the WebTestContext.

System_CAPS_pubpropertyWebTestIteration

Gets the iteration number of this Web performance test variation.

System_CAPS_pubpropertyWebTestUserId

Gets a value that uniquely identifies a simulated virtual user when you run the Web performance test in a load test.

Return to top
Show: