UITestAction.UIElement Property

Gets or sets the UI element on which this action operates.

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

public UITechnologyElement UIElement { get; set; }

Property Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
The associated UI element, or null during low-level recording where no object recognition occurs.

Raises the PropertyChanged event when the value is set.

Community Additions