Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the automation ID that is assigned to this control.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property AutomationId As String
public virtual string AutomationId { get; }
public:
virtual property String^ AutomationId {
String^ get ();
}
abstract AutomationId : string
override AutomationId : string
function get AutomationId () : String
Property Value
Type: System.String
A string that contains the automation ID that is assigned to this control.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace