Page 1 of 1
How to press number keys in Ranorex using code?
Posted: Thu Mar 23, 2017 5:52 am
by Madhumita Ghosh3
Hi Team,
Please let me know how to press number keys in ranorex using code. I want to press Ctrl+1 using code.
Thanks in advance,
Madhumita Ghosh.
Re: How to press number keys in Ranorex using code?
Posted: Thu Mar 23, 2017 8:44 am
by odklizec
Hi,
The easiest way to learn the code behind a specific Ranorex action is to add action (in this case Key Shortcut action) to recording and then simply view the code via context menu >> "View Code". Eventually, you can convert the action to user code.
Re: How to press number keys in Ranorex using code?
Posted: Thu Mar 23, 2017 9:06 am
by Stub
That's how I learned how to write Ranorex code, via the code behind recordings. Very instructive.