Mercury.QTP.CustomServer Namespace > CustomServerBase Class : SendKeys Method |
The Custom Server is responsible for placing the cursor at the desired location in the control before sending the string.
Sending a string in the current thread can crash the AUT. This method launches a new thread and then sends the keys. See the MSDN documentation for "System.Windows.Forms.SendKeys.SendWait".
'Declaration
Public Sub SendKeys( _ ByVal str As System.String _ )
public void SendKeys( System.string str )
Parameters
- str
- The string to be typed.