strange delays

Ask general questions here.
User avatar
giuseppe.lacagnina
Posts: 113
Joined: Fri Sep 18, 2015 10:25 am
Location: Brunn am Gebirge, Vienna, Austria

strange delays

Post by giuseppe.lacagnina » Fri Sep 02, 2016 11:21 am

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!

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

Re: strange delays

Post by krstcs » Fri Sep 02, 2016 3:40 pm

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.
Shortcuts usually aren't...

User avatar
giuseppe.lacagnina
Posts: 113
Joined: Fri Sep 18, 2015 10:25 am
Location: Brunn am Gebirge, Vienna, Austria

Re: strange delays

Post by giuseppe.lacagnina » Fri Sep 02, 2016 3:42 pm

Thanks!!! I will check.

Cheers,

Giuseppe