Page 1 of 1

AbortKey not recognized via RealVnc

Posted: Thu Jan 31, 2013 12:58 pm
by andreas.tastler
Hello,

I use RealVNC to execute Ranorex testcases remotly. Since Ranorex 4.0.2, I cannot abort the execution with abort key (I tried Pause and other keys). However it works when I abort the testcase local on the server.
For further analyzing this issue, I ask me if there have been any changes in the way Ranorex is recognizing the abort key?

Best Regards
Andreas

Re: AbortKey not recognized via RealVnc

Posted: Thu Jan 31, 2013 6:00 pm
by Support Team
Hello,

Could you please try to disable 'Asynchronous Dispatching of Mouse and Keyboard Events' as described in our User Guide?

Regards,
Markus (T)

Re: AbortKey not recognized via RealVnc

Posted: Fri Feb 01, 2013 6:59 am
by andreas.tastler
Hello Markus

I tried to disable this option but it is still not possible to abort the execution.

Regards
Andreas

Re: AbortKey not recognized via RealVnc

Posted: Fri Feb 01, 2013 11:35 am
by Support Team
Support Team wrote:Could you please try to disable 'Asynchronous Dispatching of Mouse and Keyboard Events'
Actually, this setting should not make any difference, so please leave it turned on :)
andreas.tastler wrote:Since Ranorex 4.0.2, I cannot abort the execution with abort key (I tried Pause and other keys). However it works when I abort the testcase local on the server.
Since Ranorex 4.0.0, we discard all injected keyboard events, because such injected events caused trouble when recording actions on the on-screen keyboard.
However, this also causes the abort key not to work when pressed over VNC (although it works when connected using RDP), which was not the intention. So we are going to change the behavior back to pre-4.0.0 style, since recording on the on-screen keyboard is a rather special case and could be handled differently.

We will ship this change with the next service release Ranorex 4.0.3. Unfortunately, the release date for that version is mid-March, since the last service release was just released this week. Hope you can meanwhile live without the abort key :?

Regards,
Alex
Ranorex Team

Re: AbortKey not recognized via RealVnc

Posted: Mon Feb 04, 2013 10:09 am
by andreas.tastler
Dear Alex

Thank you for you detailled answer. We can live with this situation. We develop our UITests on local workstations. VNC is running on the build server where we run the nightly builds unattanded. The abort key is used only when it comes to debugging or bug reproducing.

Best Regards
Andreas