Condividi tramite


Proprietà UITestAction.UIElement

 

Ottiene o imposta l'elemento dell'interfaccia utente sul quale viene eseguita l'azione corrente.

Spazio dei nomi:   Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Sintassi

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

Valore proprietà

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

Elemento dell'interfaccia utente associato oppure null durante la registrazione di basso livello in cui non si verifica il riconoscimento dell'oggetto.

Note

Genera l'evento PropertyChanged quando il valore viene impostato.

Vedere anche

PropertyChanged
Classe UITestAction
Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Common

Torna all'inizio