Share this page

SendKey(String,Int32) Method
Simulates pressing a custom device key, with the option to define the time to keep the key pressed.

C# 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).

Tips to improve your search results... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: