Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unable to press Ctrl + F5
#1
Not Solved
Press Ctrl + F5 using sendkeys not working .

Code used :

Code:
Set WshShell= CreateObject("WScript.Shell")
WshShell.SendKeys "^" + "{F5}"

Also tried out sending {f5}, F5 , {^f5} ...but doesn't seem to work

We don't want to use Browser().refresh ....

Interestendingly Ctrl + F  works ........"^" + "f".

Please help ...
Reply
#2
Not Solved
Hi Rajavan,

This may help you,

Code:
Browser("Google Home Page").page("Login Page").type micCtrlDwn micF5 micCtrlUp
The working of the above code is like this,
MicCtrlDwn -> This will press the Ctrl key
MicF5 - > This will press the F5 key
MicCtrlUp - > This will release the Ctrl key.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Keyboard Shortcuts "Ctrl+s" are not working in QTP11 dipti 0 3,031 12-31-2012, 05:08 PM
Last Post: dipti
  Press the Skip button on the dialog box mv8167 3 3,244 12-06-2011, 12:24 PM
Last Post: prasant
  How to do a paste (Ctrl+V) in a webedit box pvinay 1 6,054 02-19-2010, 02:44 AM
Last Post: wheelercha
  When key press , It is not recording , and while playing , showing an error message sachinmathew 2 2,286 04-24-2009, 06:02 PM
Last Post: sachinmathew
  Key Combination(ctrl+arrow+space) Mighty_River 1 8,940 05-16-2008, 10:40 AM
Last Post: yogendrasr

Forum Jump:


Users browsing this thread: 1 Guest(s)