SendKeys ENTER is not working as expected with QTP 10
I am facing an issue where Sendkey method for ENTER key is not working.
The scenario is to click/enter on menu starting with "R" and then enter or click on the window.
The half part of the scenario( till alt+R) is working fine however sendkey for ENTER button is not passing thru.
Below is code for your reference. Can you please help to get it what is wrong?
Set WshShell = CreateObject("WScript.Shell")
Hi Sachin I believe WshShell.SendKeys "%R" is working if yes then you can try the hot keys method
In notepad for menu open "Alt+F", To save pressing "S" is enough.