DoSendKey for ALT-1

Wednesday, September 23, 2015
Avatar
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
Avatar
re: countdownSupport Wednesday, September 23, 2015
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

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Wednesday, September 23, 2015
  • Last Reply: Wednesday, September 23, 2015
  • Replies: 1
  • Views: 3594