Failed to update the cached element for folder..

Ask general questions here.
f.chiari
Posts: 6
Joined: Mon Feb 25, 2019 11:58 am

Failed to update the cached element for folder..

Post by f.chiari » Mon Feb 25, 2019 12:41 pm

Hi,
I need a help. With the latest version of Ranorex (9.0), any time a test suite runs (test suites of different projects), in the log file, after every action/item, it appears this warning: 'Failed to update the cached element for folder..' . It not used to appear on the past version. I read on the forum that it was a sort of Ranorex 'bug' on the oldest versions of the software, and now it's returned. It's so annoying for me and our company because we export the log files generated by Ranorex in Jenkins to verify immediately where test failed, but now we have 'dirty' files full of this warnings. Is there a way to manage this warnings?

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

Re: Failed to update the cached element for folder..

Post by odklizec » Tue Feb 26, 2019 12:36 pm

Hi,

Have you tried to change the Report level to something else? Could you please upload a screenshot of the error (as shown in the report)? Thanks.
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

f.chiari
Posts: 6
Joined: Mon Feb 25, 2019 11:58 am

Re: Failed to update the cached element for folder..

Post by f.chiari » Fri Mar 01, 2019 10:47 am

Hi,
firts of all, thanks for your reply. These are the screenshots of the report.
Here it is the link of the other topic about this issue:
5-4-6-failed-to-update-the-cached-eleme ... t9300.html
As you can see, it's a problem emerged again from a past version.
You do not have the required permissions to view the files attached to this post.

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

Re: Failed to update the cached element for folder..

Post by odklizec » Fri Mar 01, 2019 10:54 am

Hi,

In this case, I would suggest to do what the error says ;) Simply contact support (via support form), and send them what the error requests, i.e. report, snapshot and repository (ideally, entire solution).
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

f.chiari
Posts: 6
Joined: Mon Feb 25, 2019 11:58 am

Re: Failed to update the cached element for folder..

Post by f.chiari » Fri Mar 01, 2019 12:44 pm

Hi,
ok, I'll do it. I've just tried to keep a fast solution, if anyone had noticed the same problem :D Thank you so much!

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Failed to update the cached element for folder..

Post by Support Team » Fri Mar 01, 2019 9:00 pm

Hi f.chiari,

This is likely caused by a known issue with the new JS-based RanoreXPath evaluation feature introduced in Ranorex 9.0. Since it is only a warning, you can disregard it or disable the setting to remove the warnings. Disabling the option will not break your test, just a slight performance decrease.
1.png
Cheers,
Ned
You do not have the required permissions to view the files attached to this post.

Trillian6
Posts: 1
Joined: Tue Apr 10, 2018 4:23 pm

Re: Failed to update the cached element for folder..

Post by Trillian6 » Thu Mar 14, 2019 5:00 pm

Hi, I had experienced the same warning since upgrading to 9.0.

I changed the settings as suggested and the warning dissappeared.

Thanks for bringing this up f.chiari, and posting a solution Ned.
:D

f.chiari
Posts: 6
Joined: Mon Feb 25, 2019 11:58 am

Re: Failed to update the cached element for folder..

Post by f.chiari » Fri Apr 12, 2019 8:59 am

Thanks Ned!!!

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

Re: Failed to update the cached element for folder..

Post by odklizec » Fri Apr 12, 2019 9:07 am

Hi,

There is a new Ranorex 9.0.1 available, which fixes many "JS-based xpath" option bugs (and many other bugs too)! So you should definitely try 9.0.1.
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

mrt
Posts: 257
Joined: Mon Mar 16, 2020 11:31 am

Re: Failed to update the cached element for folder..

Post by mrt » Fri Jun 24, 2022 7:06 am

I recently updated to 10.2.2 and suddenly the above warning occured which I have never seen before.

I would not like to disable the JS-based RanoreXPath evaluation option and lose speed possibly , because every second counts.
Is this a known issue with the latest version?

I haven't tried to downgrade and retry yet.

thanks, BR mrt

pattatha9
Posts: 2
Joined: Tue Aug 23, 2022 8:25 pm

Re: Failed to update the cached element for folder..

Post by pattatha9 » Tue Aug 23, 2022 8:26 pm

I've just tried to keep a fast solution, if anyone had noticed the same problem :D Thank you so much!