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)

Syntax

public UITechnologyElement UIElement { get; set; }
public:
property UITechnologyElement^ UIElement {
    UITechnologyElement^ get();
    void set(UITechnologyElement^ value);
}
member UIElement : UITechnologyElement with get, set
Public Property UIElement As UITechnologyElement

Property Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement

The associated UI element, or null during low-level recording where no object recognition occurs.

Remarks

Raises the PropertyChanged event when the value is set.

See Also

PropertyChanged
UITestAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top