Page 1 of 1

AbortKey has been pressed: but Ranorex hangs at Report.End()

Posted: Fri Jan 13, 2012 10:23 am
by bkruse
Hi all,

I wrote a simple test, best explained through the following pseudocode:

Code: Select all

while (true) {
start program;
load file;
close program;
}
Dedicated to run over night, there are no problems. But when I arrive in the morning and use the Pause key to interrupt the running "test", then the message "AbortKey has been pressed" appears in the (command line window) log, but Ranorex (2.3.9) does not proceed (for hours). When I debug the running testcase, it is the line "Report.End();" ...
I need to go to the .../bin/Debug folder in order to get the *.rxlog.tmp file (gladfully just renaming it to *.rxlog works for me).

If I run the same for just some minutes, the Pause key works as expected.
Is this a problem of the large runtime? Any hints or ideas?

Through searching the forum, I found the registry key LowLevelHooksTimeout to be a possible cause. There is no Visual Studio installed, but the key did exist ...
I removed it, lets see if it helps.

regards, Björn

PS: a side note: "Pause" key works well to abort a running testcase, is there a key/function that just suspends the running testcase (like the "Break" Funktion in Ranorex)? UseCase: develop a 60 min long testcase, after 30 mins you figure out you forgot to implement one click. Currently you need to abort, code it, rerun the whole thing. With a "Break" key you can break, code it, do the click manually in the AUT, continue playback. Got used to it in IBM Rational Functional Tester (F12 there).

Re: AbortKey has been pressed: but Ranorex hangs at Report.End()

Posted: Thu Jan 19, 2012 2:31 pm
by Support Team
Hi Björn,

Sorry for the late response. When you hit the pause key on your over night run, is the focus then set to the command line? Because if you hit the pause key in the console window, the console window itself changes into the state pause. If this occurs just hit enter and the console window should close.

Regards,
Peter
Ranorex Team

Re: AbortKey has been pressed: but Ranorex hangs at Report.End()

Posted: Thu Feb 09, 2012 9:09 am
by bkruse
Hi,

I was pretty sure, that the command line was NOT in focus (as I just turned the monitors on and hit the Pause key).
Despite that, it never appeared again and the Pause key works well.
So: consider this thread as resolved, in case it isn't I know where to get back ; )

regards, Björn