Hello everyone,
I am using Ranorex 10.6.0 to test a Desktop application based on DevExpress and Winforms.
In some recording, I want to validate that an item (column in a table) will be no more visible when I click on a button.
I use for that a Validation of Not Exist to this item.
It works but it take too much time --> About 4 minutes for each validatiion. And this is not optimal for my test suit especially when you use this validation 5 times which make the recording time > 20 minutes.
Is any solution to resolve this problem?
Not Exist validation took too much time
Re: Not Exist validation took too much time
It's taking the search timeout period from your repository. Shorten this in the repository to suit the element that you're searching for, or directly change the 'not exists within' search period to a shorter period that produces the correct results.
When I'm checking things don't exist I only wait for a few seconds each time, not the full 'effective' search timeout. This search period depends on the complexity of the app/repository path, so I play around to find a comfortable threshold that works reliably.
When I'm checking things don't exist I only wait for a few seconds each time, not the full 'effective' search timeout. This search period depends on the complexity of the app/repository path, so I play around to find a comfortable threshold that works reliably.
-
- Posts: 38
- Joined: Thu Feb 27, 2020 2:06 pm
Re: Not Exist validation took too much time
Hello,
thanks for your answer- So if I understand you right, it depends on the amount of items of repositoty that I am using ? and there is no concret solution to resolve it.
thanks for your answer- So if I understand you right, it depends on the amount of items of repositoty that I am using ? and there is no concret solution to resolve it.
Re: Not Exist validation took too much time
If by "amount of items" you mean the depth of nesting of your repository item, then yes. The search timout has nothing to do with total volume of items. Look at the effective timeout period for the item in question within your repository.
As for "no concrete solution" - that's totally incorrect. You need to adjust the search timeout period to suit your situation, as I do for mine.
As for "no concrete solution" - that's totally incorrect. You need to adjust the search timeout period to suit your situation, as I do for mine.
-
- Posts: 38
- Joined: Thu Feb 27, 2020 2:06 pm
Re: Not Exist validation took too much time
Thank you stub. I will try your suggestion!