How do I use WScript.Shell SendKeys to send Number Pad key strokes?
问题 I am trying to use WScript.Shell SendKeys method to emulate sending a key press from the Number Pad. I have an application that I am writing automated testing for using QTP. It is a Web Browser based application and the input is into a Java App within the web page. The input only accepts key presses from the Number Pad and the Enter key. So far I am using this code: Dim strInputKey strInputKey = "{ENTER}" Set objWsh = CreateObject("WScript.Shell") Browser("Launch Browser").Page("Test