Hi,
I've been diagnosing several problems lately with Validate.NotExists() hanging the ranorex executable during execution. My software has been crashing and gets hung up on Validate.NotExist() calls to repo items that have not had this issue in the past. I was wondering if there are any known issues related to the NotExist() that I should be aware of, or anything that would cause a ranorex executable to hang indefinitely. The search timeout of the ranorex objects are set to reasonable 10 - 30 seconds.
Thank you
Ranorex executable hangs on Validate.NotExists()
-
- Posts: 169
- Joined: Thu Jan 13, 2011 2:06 pm
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex executable hangs on Validate.NotExists()
Hi,
does this problem occur only on one validation in your code, or are there more occurences?
Basically there schould be no problems with using NotExists().
Have you tried to use another validation method on this item?
How is the behaviour in this scenario?
Regards,
Tobias
Support Team
does this problem occur only on one validation in your code, or are there more occurences?
Basically there schould be no problems with using NotExists().
Have you tried to use another validation method on this item?
How is the behaviour in this scenario?
Regards,
Tobias
Support Team
-
- Posts: 169
- Joined: Thu Jan 13, 2011 2:06 pm
Re: Ranorex executable hangs on Validate.NotExists()
I have had it happen on several different NotExists() in my code and it does not happen every time. I tried using a different validation and had no issues, so that is why I am wondering if there is something wrong with the NotExists() that is making it function differently.
Re: Ranorex executable hangs on Validate.NotExists()
1) have you walked (in debug mode) your code to watch exactly what is happening at each step?
2) can you share the code that you are using to do you validate (and maybe a few lines before and after) so we can take a look at exactly what you are doing?
2) can you share the code that you are using to do you validate (and maybe a few lines before and after) so we can take a look at exactly what you are doing?
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...
-
- Posts: 169
- Joined: Thu Jan 13, 2011 2:06 pm
Re: Ranorex executable hangs on Validate.NotExists()
I recently upgraded to Ranorex 3.0 and have not noticed this occuring anymore. Whatever the bug was it seems to have been resolved in 3.0