Share via


TestElement Class

Provides a base class for all tests.

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

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class TestElement _
    Implements ITestElement, ICloneable, IVerifiable, IVisiblePropertyProvider,  _
    ITestElementResultTestPropertyProvider, IXmlTestStore, IHostedTest
'Usage
Dim instance As TestElement
[SerializableAttribute]
public abstract class TestElement : ITestElement, 
    ICloneable, IVerifiable, IVisiblePropertyProvider, ITestElementResultTestPropertyProvider, IXmlTestStore, 
    IHostedTest
[SerializableAttribute]
public ref class TestElement abstract : ITestElement, 
    ICloneable, IVerifiable, IVisiblePropertyProvider, ITestElementResultTestPropertyProvider, IXmlTestStore, 
    IHostedTest
public abstract class TestElement implements ITestElement, ICloneable, IVerifiable, IVisiblePropertyProvider, ITestElementResultTestPropertyProvider, IXmlTestStore, IHostedTest

Remarks

Although some properties are set by using values that a user enters through the user interface, most properties and methods are set, or used, or both, by the internal functionality of the user interface.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.Common.TestElement
    Microsoft.VisualStudio.TestTools.Common.TestAggregation

Thread Safety

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

See Also

Reference

TestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace

ITestElement