Share this page

SendKey(Keys,Int32) Method
Simulates pressing a special key in the device keyboard, with the option to define the time to keep the key pressed.

C# Syntax

    void SendKey(
       Keys key,
       int duration
    )

Parameters

key
  The key to be pressed.
duration
  The time (in milliseconds) to keep the key pressed. The default is 0 (zero).

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: