After several tests run, keyboard is disabled

Ranorex Spy, Recorder, and Studio.
batabek
Posts: 4
Joined: Fri Jun 21, 2013 11:49 am

After several tests run, keyboard is disabled

Post by batabek » Tue Apr 15, 2014 12:03 pm

Hi
I am experiencing a strange problem regarding my keyboard functionality. I am running several recorded tests in Ranorex Studio. After that my keyboard becomes disabled: I cannot type i.e. no response from the OS. It comes back to normal after restarting. What causes this issue ?

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: After several tests run, keyboard is disabled

Post by krstcs » Tue Apr 15, 2014 1:38 pm

Make sure that every Keyboard.KeyDown() call has a corresponding Keyboard.KeyUp() call. Most likely there is one missing in one of the tests.

Ranorex does not automatically revert the state of the keys to what they were before the test.
Shortcuts usually aren't...