Partager via


DirectUIControl.PropertyNames.AutomationId Field

Gets the control's automationId. Can be used for search. Data-Type: System.String

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls
Assembly:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)

Syntax

'Declaration
Public Shared ReadOnly AutomationId As String
public static readonly string AutomationId
public:
static initonly String^ AutomationId
static val AutomationId: string
public static final var AutomationId : String

.NET Framework Security

See Also

Reference

DirectUIControl.PropertyNames Class

Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls Namespace