| || |
Problem in pressing the function key in UFT
I am facing an issue to press the function key F12 in the AUT. Below is the code that I used respective functionality for pressing F12 not working in the AUT
Set WshShell = CreateObject("WScript.Shell")
What kind of an application is this?
Can't you try Window("").Type micF12
What's the AUT UI?
Try using DeviceReplay instead:
Set DeviceReplay = CreateObject("Mercury.DeviceReplay")
Window("Notepad").Activate 'activate YOUR AUT instead of notepad.
Set DeviceReplay = Nothing
You can find more information about this at these links:
Last edited by MichaelDx; 07-29-2016 at 01:10 PM.