Micro Focus QTP (UFT) Forums

Full Version: problem in implementing the keyboard inputs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
Iam want to do keyboard operations

"ctrl+down" and "shift"

I am trying the below code.
Code:
Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "{CTRL + }"
WshShell.SendKeys "{DOWN}"
WshShell.SendKeys "{SHIFT}"
Set WshShell = Nothing
iam getting error message, invalid call or procedure.
Any help will be really appreciated.
Regards;
Vijay
try
Code:
WshShell.SendKeys "^{DOWN}"
WshShell.SendKeys "+"