UITestAction.UIObjectName Property

Gets or sets the name of 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

'Declaration
Public Property UIObjectName As String
public string UIObjectName { get; set; }
public:
property String^ UIObjectName {
    String^ get ();
    void set (String^ value);
}
member UIObjectName : string with get, set
function get UIObjectName () : String
function set UIObjectName (value : String)

Property Value

Type: System.String
The name of the UI object, or nulla null reference (Nothing in Visual Basic) during low-level recording where no object recognition occurs.

Remarks

Raises the PropertyChanged event when the value is set.

.NET Framework Security

See Also

Reference

UITestAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged