CodedUITestAttribute Class
Used to activate the extension so that we recognize a class as Unit Test extension class. Use [CodedUITest] attribute in test class to indicate that it is a Coded UI Test
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.QualityTools.CodedUITestFramework (in Microsoft.VisualStudio.QualityTools.CodedUITestFramework.dll)
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.VisualStudio.TestTools.UnitTesting.TestClassExtensionAttribute
Microsoft.VisualStudio.TestTools.UITesting.CodedUITestAttribute
Syntax
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public sealed class CodedUITestAttribute : TestClassExtensionAttribute
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class CodedUITestAttribute sealed : TestClassExtensionAttribute
[<Sealed>]
[<SerializableAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
type CodedUITestAttribute =
class
inherit TestClassExtensionAttribute
end
<SerializableAttribute>
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)>
Public NotInheritable Class CodedUITestAttribute
Inherits TestClassExtensionAttribute
Constructors
Name | Description | |
---|---|---|
CodedUITestAttribute() | Initializes a new instance of the CodedUITestAttribute class. |
|
CodedUITestAttribute(CodedUITestType) |
Properties
Name | Description | |
---|---|---|
ExtensionId | Gets the universal resource indicator (URI) for the coded UI test.(Overrides TestClassExtensionAttribute.ExtensionId.) |
|
TypeId | (Inherited from Attribute.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the test class extension object is equal to the provided test class extension object.(Inherited from TestClassExtensionAttribute.) |
|
GetClientSide() | Returns an object that represents the client side of the Coded UI Test.(Overrides TestClassExtensionAttribute.GetClientSide().) |
|
GetExecution() | Returns an object that implements events for unit test events.(Overrides TestClassExtensionAttribute.GetExecution().) |
|
GetHashCode() | Returns the hash code for the ID of the test class extension object.(Inherited from TestClassExtensionAttribute.) |
|
GetType() | (Inherited from Object.) |
|
IsDefaultAttribute() | (Inherited from Attribute.) |
|
Match(Object) | (Inherited from Attribute.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
|
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Remarks
No content here will be updated; please do not add material here.
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
Microsoft.VisualStudio.TestTools.UITesting Namespace
Return to top