first run is slow

Ask general questions here.
Posts: 118
Joined: Fri Jan 04, 2019 1:38 pm

first run is slow

Post by rsudhak » Thu Apr 23, 2020 12:41 pm

HI All,

I have an unusual problem that I am facing, when I open up the AUT , I have to open up each dialog separately and then run my tests, so that its fast enough, if not the test takes a lot of time to find elements in the dialog. On Properties I have set the cached to be false, for the root object.

For example, if I havent opened up the dialog or the first run takes 4m and when I re-run the test it takes 1.2m ... thats the difference.

Thanks in advance,

User avatar
Ranorex Guru
Ranorex Guru
Posts: 6796
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: first run is slow

Post by odklizec » Thu Apr 23, 2020 12:49 pm


Unfortunately, this kind of issue is nothing that could be solved via forum. I think your best hope is to create a support ticket and request a remote session with Ranorex folks.

Generally speaking, disabled cache could definitely slow search, because each element is searched again during each attempt to access the element. But enabling it will most probably not help with initial slowdown?
BTW, do you have your app in Ranorex white list (and all other apps removed)?
Have you analyzed performance logs?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration