Udostępnij za pośrednictwem


Właściwość UITestAction.UIElement —

Pobiera lub ustawia element interfejsu użytkownika, na którym działa ta akcja.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITest.Common
Zestaw:  Microsoft.VisualStudio.TestTools.UITest.Common (w Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Składnia

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

Wartość właściwości

Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
Skojarzony element interfejsu użytkownika, lub nullodwołanie o wartości null (Nothing w języku Visual Basic) podczas nagrywania niskiego poziomu, gdzie występuje brak rozpoznawania obiektu.

Uwagi

Powoduje wystąpienie zdarzenia PropertyChanged, gdy wartość jest ustalona.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITestAction Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Common

PropertyChanged