Validation of NotExist does not work
Posted: Thu Jul 30, 2015 4:24 pm
I have a winforms application that will delay the closing of the main form until the spawned worker threads have been shut down in an orderly way. This can take any where from 5 seconds to 3.5 minutes depending of data in the queue to be saved. I cannot procede to the next tesu until the app has comleted
I have set the search timeout for the object within the repository to 4 minutes. But when I run the test, the validation for NotExists is executed in less than a second, the button is found, the step (and case) fails to meet expectation; the button exists, but should not.
Nor is the behavior for validate.NotExist as documented in this post.
http://www.ranorex.com/forum/post27764. ... ork#p27764
If the behavior were as documented within the post then I would expect a 4 minute delay all the time even if that is anywhere from 235 to 30 seconds too long.
What I expected is that Ranorex would poll the application under test (in some manner) and return either when either the control is no longer on present within the app under test or 4 minutes have elapsed which ever is shorter.
I am using Ranorex studio 5.4.0
I have a Ranorex solution and a simplified AUT that demonstrates this defect. I have uploaded the demo solution to the FTP site.
I have set the search timeout for the object within the repository to 4 minutes. But when I run the test, the validation for NotExists is executed in less than a second, the button is found, the step (and case) fails to meet expectation; the button exists, but should not.
Nor is the behavior for validate.NotExist as documented in this post.
http://www.ranorex.com/forum/post27764. ... ork#p27764
If the behavior were as documented within the post then I would expect a 4 minute delay all the time even if that is anywhere from 235 to 30 seconds too long.
What I expected is that Ranorex would poll the application under test (in some manner) and return either when either the control is no longer on present within the app under test or 4 minutes have elapsed which ever is shorter.
I am using Ranorex studio 5.4.0
I have a Ranorex solution and a simplified AUT that demonstrates this defect. I have uploaded the demo solution to the FTP site.