Ranorex running deleted piece of script

Ranorex Studio, Spy, Recorder, and Driver.
Posts: 39
Joined: Tue Aug 06, 2019 4:14 pm

Ranorex running deleted piece of script

Post by eldorado25 » Fri Jun 25, 2021 2:52 pm

Hi all,

I've been doing some refactoring recently and got rid of an old code module (i essentially exchange them for record modules on my specialised framework) - upon doing this though, running Ranorex will cause the script to run even though it does not appear to exist in the Studio anymore?

Just wondering if anyone has had a similar problem and knows of a fix?

Thank you

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

Re: Ranorex running deleted piece of script

Post by odklizec » Fri Jun 25, 2021 4:12 pm


This sounds to me as improperly rebuilt solution. Have you tried to rebuild whole solution? Eventually, delete entire bin folder and try to run your test again. If this does not help, then there must be left a piece of code you probably forgot to delete? Unfortunately, it’s hard to tell without seeing the 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