WpfControl.AutomationId Property

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)

public virtual string AutomationId { get; }

Property Value

Type: System.String
A string that contains the automation ID that is assigned to this control.

Community Additions

ADD
Show: