AbortKey not recognized via RealVnc

Bug reports.
andreas.tastler
Posts: 36
Joined: Mon Sep 20, 2010 10:59 am

AbortKey not recognized via RealVnc

Post by andreas.tastler » Thu Jan 31, 2013 12:58 pm

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: AbortKey not recognized via RealVnc

Post by Support Team » Thu Jan 31, 2013 6:00 pm

Hello,

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

Regards,
Markus (T)
.
Image

andreas.tastler
Posts: 36
Joined: Mon Sep 20, 2010 10:59 am

Re: AbortKey not recognized via RealVnc

Post by andreas.tastler » Fri Feb 01, 2013 6:59 am

Hello Markus

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

Regards
Andreas

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: AbortKey not recognized via RealVnc

Post by Support Team » Fri Feb 01, 2013 11:35 am

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
.
Image

andreas.tastler
Posts: 36
Joined: Mon Sep 20, 2010 10:59 am

Re: AbortKey not recognized via RealVnc

Post by andreas.tastler » Mon Feb 04, 2013 10:09 am

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