Page 1 of 1

strange delays

Posted: Fri Sep 02, 2016 11:21 am
by giuseppe.lacagnina
Dear All,

I have a question regarding a performance issue which is affecting my test cases.
I am running version 5.4.4 of Ranorex Studio on Windows 7 and cannot
update to version 6 before November. The test cases I am discussing are HTML tests
and run on IE 11.

I observe an "unwanted delay", in the progress dialog: it says "waiting for 200ms": this does not correspond to an actual action in the test case itself, and the wait is certainly much longer (order of 2-3 seconds).

Is this the sign that I am doing something wrong? Can it be eliminated?

Thanks!

Re: strange delays

Posted: Fri Sep 02, 2016 3:40 pm
by krstcs
Without seeing all of the code (*.rxrec, *.cs, and *.UserCode.cs) it will be hard to tell you where the issue is. It could be that you have another action right after the 200ms delay that just doesn't have a Report.Log() method right before it.

The 200ms delay is the default that Ranorex uses after Mouse movement and some other things, so it is probably in the *.cs file, but you won't see it in the *.rxrec.

Look through your code and find the action that is right before the 200ms delay and then find the action or code that is right after it, that is probably where your issue is. It could be an "if (someElement.Exists())..." or "Validate.Exists(someElement)", or something like that, but it probably doesn't have a Report.Log() before it.

Re: strange delays

Posted: Fri Sep 02, 2016 3:42 pm
by giuseppe.lacagnina
Thanks!!! I will check.

Cheers,

Giuseppe