Click or drag to resize

IDesktopKeys Method

Simulates keyboard input to a window or control that is currently active on the Windows desktop.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
void Keys(
	string keys
)

Parameters

keys
Type: SystemString
The keystrokes to be simulated. Can include alphanumeric characters and special key codes (CRTL, ALT and others). To learn more about the keystroke format, see Simulating Keystrokes in TestLeft documentation.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also