Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Team Test API
TestContext Class
 Properties Property
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Team Test API
TestContext.Properties Property

When overridden in a derived class, gets the test properties.

Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in microsoft.visualstudio.qualitytools.unittestframework.dll)

Visual Basic (Declaration)
Public MustOverride ReadOnly Property Properties As IDictionary
Visual Basic (Usage)
Dim instance As TestContext
Dim value As IDictionary

value = instance.Properties
C#
public abstract IDictionary Properties { get; }
C++
public:
virtual property IDictionary^ Properties {
	IDictionary^ get () abstract;
}
J#
/** @property */
public abstract IDictionary get_Properties ()
JScript
public abstract function get Properties () : IDictionary

Property Value

An IDictionary object containing key/value pairs representing the test properties.

This member contains the test and run context. Each entry in this collection is a Generic KeyValuePair containing a key string and an object value. The following is a list of possible TestContext property keys:

  • TotalAgents

  • ControllerName

  • AgentWeighting

  • AgentName

  • TestDeploymentDir

  • AgentId

  • TestLogsDir

  • TestDir

  • TestName

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker