Micro Focus QTP (UFT) Forums

Full Version: Not able to send spacebar with End Key to TE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My problem is that I have to send Spacebar and End key stokes together to my CICS application.
We are using terminal emulator.

I tried folllwoing but didn’t work

Code:
set WshShell = CreateObject(“WScript.Shell”)
WshShell.SendKeys “”"TE_END ”
set WshShell=nothing

and

Code:
set WshShell = CreateObject(“WScript.Shell”)
WshShell.SendKeys “{ } {END} ”
set WshShell=nothing

Please advice
you should use the device replay function