UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
SendKey(String,Int32) Method
The ID of the key as defined by the device manufacturer.
The time (in milliseconds) to keep the key pressed. The default is 0 (zero).
Simulates pressing a custom device key, with the option to define the time to keep the key pressed.
Syntax
void SendKey( 
   string keyID,
   int duration
)

Parameters

keyID
The ID of the key as defined by the device manufacturer.
duration
The time (in milliseconds) to keep the key pressed. The default is 0 (zero).