DoSendKey for ALT-1

Wednesday, September 23, 2015 6:07:04 AM
Hi Friends,
   To test if short-cut key [ALT+1] is working. 
I am using Global.DoSendKeys() command
I have tried 
        Global.DoSendKeys('{%}+1')
Global.DoSendKeys('{%1}')
Global.DoSendKeys('%1')
Global.DoSendKeys('%1')
Global.DoSendKeys('%{1}')
        Global.DoSendKeys('%(1)')
But it did not work.
any help shall be appreciated.
Thanks
Jay


1 Replies
Wednesday, September 23, 2015 4:30:00 PM
Avatar
re: countdownSupport on Wednesday, September 23, 2015 6:07:04 AM
Hi Jay,

I believe the right syntax for ALT+1 is Global.DoSendKeys('%1'); (The third one in your list.)
That worked for me. Or at least it did not give a syntax error. 

Could you log a Help Desk ticket for this so we can look into it for you? Please include details about what version of Rapise you are using and what kind of application you are testing. In addition, could you please include a description and/or screenshot of exactly what happens when you try to execute the above command? 

Thanks!
Elise
Statistics
  • Started: Wednesday, September 23, 2015 6:07:04 AM
  • Last Reply: Wednesday, September 23, 2015 4:30:00 PM
  • Replies: 1
  • Views: 910