We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

UITestEventType Enumeration

This enumeration is used by Visual Studio Application Lifecycle Management (ALM) through the IVsUIEventSink interface to specify the type of testing event that has been raised.

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

public enum UITestEventType

Member nameDescription
ValueChangedThe value of a UI element changes.
KeyUpA key is released.
KeyDownA key is pressed.
MouseUpThe mouse button is released.
MouseDownThe mouse button is pressed.
HoverThe mouse hovers over a UI element.
MouseMoveThe mouse pointer moves.
MouseOverThe mouse pointer moves into a UI element.
StateChangedThe state of a UI element changes.
OnFocusA UI element receives focus.