This documentation is archived and is not being maintained.

KeyActionType Enumeration

Represents the kind of action to perform on a text input.

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

'Declaration
Public Enumeration KeyActionType

Member nameDescription
KeyDownThe action represents pressing a key on the keyboard.
KeyUpThe action represents releasing a key on the keyboard.
KeyPressThe action represents pressing and releasing a key on the keyboard.
Show: