Hi Friends,
Use Sendkeys method using below help,
Reference - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/4b032417-ebda-4d30-88a4-2b56c24affdd.asp
set WshShell = CreateObject("WScript.Shell")
WshShell.AppActivate "Brand Names"wait 2
WshShell.SendKeys "NUM"
Thanks,
Jitesh Sojitra.
Sunday, 27 May 2007
SendKeys Method in QTP
Posted by Jitesh Sojitra at 3:39:00 pm
Subscribe to:
Post Comments (Atom)
3 comments:
My qtp is 8.2
When I tried to use this code..
WScript.Shell
I am getting error.
Can't I use this with 8.2.
What is Basic concept behind WScript?
Thanks
sure1969us@yahoo.com
Make sure you have WSH installed on your machine.
xADfMu, watch cloud atlas trailer cloud atlas gay, yNOSur, cloud atlas movie score
Post a Comment