Page 1 of 1

Wait for exist hangs forever

Posted: Mon Apr 27, 2020 7:08 am
by eric.franc
Hello,

6 month ago we updated Ranorex from version 6 to 9 and that broke our entire continuous integration.
Now I am trying to fix one case at the time.

We are using virtual machine to run the test ( hyper-V ).

The wait and exit method hangs and never stop.
2020-04-27_9-00-33.png
What should I do?

Re: Wait for exist hangs forever

Posted: Mon Apr 27, 2020 7:23 am
by odklizec
Hi,

Could you please upload a Ranorex snapshot (not just screenshot) of the problematic element and also full xpath of the element, as stored in repository?

Also, have you tried it with another VM?

And finally, which version of Ranorex (exactly) do you use? And if you are still on 6 months old 9.x, you should definitely update it with most recent version 9.3.1!

Re: Wait for exist hangs forever

Posted: Mon Apr 27, 2020 3:47 pm
by eric.franc
Thanks for the tips,.

I have updated from 9.2 to 9.3 and the failing case is running.
I just do not understand why it works suddenly could it be some issue in 9.2 build?

Thanks,

Re: Wait for exist hangs forever

Posted: Tue Apr 28, 2020 7:54 am
by odklizec
Hi,

I'm glad it helped. Well, I think it may be just a coincidence that updating to newest version fixed your problem? Maybe the old installation was corrupted, or there was a missing/corrupted system library, whcih was fixed by 9.3.1 install? Eventually, 9.3.1 indeed fixed something? It's always a good idea to read version release notes and keep the version updated. I'm personally always installing minor versions ASAP, because they most certainly contain many useful bug fixes. And I'm holding slightly back with installing major versions, which I'm first testing in a non-production environment. And I'm usually installing them AFTER releasing first minor (bugfix) update ;)

Re: Wait for exist hangs forever

Posted: Wed Apr 29, 2020 7:24 am
by eric.franc
Thanks I will do like that from now on:)