Share via


KeyboardAction Constructor

 

Initializes a new instance of the KeyboardAction class.

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

Overload List

Name Description
System_CAPS_pubmethod KeyboardAction()

Initializes a new instance of the KeyboardAction class for XML serialization or deserialization.

System_CAPS_pubmethod KeyboardAction(KeyActionType, Keys, String)

Initializes a new instance of the KeyboardAction class by using the provided type of key event, the key that was pressed, and the value that was generated by that key.

System_CAPS_pubmethod KeyboardAction(UITechnologyElement, KeyActionType, Keys, String)

Initializes a new instance of the KeyboardAction class by using the provided element, type of key event, the key that was pressed, and the value that was generated by that key.

See Also

KeyboardAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top