Turning off caps lock

Ranorex Spy, Recorder, and Studio.
Posts: 38
Joined: Sat Feb 17, 2018 12:37 am

Turning off caps lock

Post by cpalex » Fri Mar 15, 2019 6:40 pm

I have an odd case, where it is common in our system to have caps lock on. Ranorex doesn't care when it runs, it just types the exact letters as you set them, but I've run into a case where the tooltip that warns you the caps lock is on when entering your password, won't go away if Ranorex launches the app.

The easiest solution would be to just set caps lock to Off at the beginning of the test execution, but I cannot find any information on how to do this, user code or otherwise.

Anyone know how to set caps lock to OFF?

Certified Professional
Certified Professional
Posts: 53
Joined: Fri Aug 10, 2018 12:46 pm

Re: Turning off caps lock

Post by manish » Tue Mar 19, 2019 3:39 pm


You can create a module that runs before the start of your test and turns off the Capslock or you can start your testcase with it.
Try executing

Code: Select all


to turn caps lock off it was enabled.

Hope it helps