Contains static methods for performing keyboard actions.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.Keyboard
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class Keyboard _
Implements IDisposable
[CLSCompliantAttribute(true)]
public class Keyboard : IDisposable
[CLSCompliantAttribute(true)]
public ref class Keyboard : IDisposable
[<CLSCompliantAttribute(true)>]
type Keyboard =
class
interface IDisposable
end
public class Keyboard implements IDisposable
The Keyboard type exposes the following members.
Constructors
Top
Properties
Top
Methods
.gif) |
Dispose() |
|
.gif) |
Dispose(Boolean) |
|
.gif) |
Equals |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
.gif) |
Finalize |
(Overrides Object.Finalize.) |
.gif) |
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
.gif) |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
.gif) |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
.gif) .gif) |
PressModifierKeys(ModifierKeys) |
|
.gif) .gif) |
PressModifierKeys(ModifierKeys) |
|
.gif) .gif) |
PressModifierKeys(UITestControl, ModifierKeys) |
|
.gif) .gif) |
PressModifierKeys(UITestControl, ModifierKeys) |
|
.gif) |
PressModifierKeysImplementation(UITestControl, ModifierKeys) |
|
.gif) |
PressModifierKeysImplementation(UITestControl, ModifierKeys) |
|
.gif) .gif) |
ReleaseModifierKeys(ModifierKeys) |
|
.gif) .gif) |
ReleaseModifierKeys(ModifierKeys) |
|
.gif) .gif) |
ReleaseModifierKeys(UITestControl, ModifierKeys) |
|
.gif) .gif) |
ReleaseModifierKeys(UITestControl, ModifierKeys) |
|
.gif) |
ReleaseModifierKeysImplementation(UITestControl, ModifierKeys) |
|
.gif) |
ReleaseModifierKeysImplementation(UITestControl, ModifierKeys) |
|
.gif) .gif) |
SendKeys(String) |
|
.gif) .gif) |
SendKeys(String, ModifierKeys) |
|
.gif) .gif) |
SendKeys(String, Boolean) |
|
.gif) .gif) |
SendKeys(String, ModifierKeys) |
|
.gif) .gif) |
SendKeys(UITestControl, String) |
|
.gif) .gif) |
SendKeys(String, ModifierKeys, Boolean) |
|
.gif) .gif) |
SendKeys(String, ModifierKeys, Boolean) |
|
.gif) .gif) |
SendKeys(UITestControl, String, ModifierKeys) |
|
.gif) .gif) |
SendKeys(UITestControl, String, Boolean) |
|
.gif) .gif) |
SendKeys(UITestControl, String, ModifierKeys) |
|
.gif) .gif) |
SendKeys(String, ModifierKeys, Boolean, Boolean) |
|
.gif) .gif) |
SendKeys(String, ModifierKeys, Boolean, Boolean) |
|
.gif) .gif) |
SendKeys(UITestControl, String, ModifierKeys, Boolean) |
|
.gif) .gif) |
SendKeys(UITestControl, String, ModifierKeys, Boolean) |
|
.gif) .gif) |
SendKeys(UITestControl, String, ModifierKeys, Boolean, Boolean) |
|
.gif) .gif) |
SendKeys(UITestControl, String, ModifierKeys, Boolean, Boolean) |
|
.gif) |
SendKeysImplementation(UITestControl, String, ModifierKeys, Boolean, Boolean) |
|
.gif) |
SendKeysImplementation(UITestControl, String, ModifierKeys, Boolean, Boolean) |
|
.gif) |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Top
No content here will be updated; please do not add material here.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting Namespace