Hey guys. I need to get this scenario going or to be precise take advantage of these two methods:
- Wait for
So I have a repo element that is "Text" Adapter a it has to be verified after few seconds as soon as he appears on the screen. As for AccessibleName I need to use variable's value so I can use it as a custom method with any argument. The main advantage of using WaitFor is that Ranorex continues only then when he finds the match (at that particular time and no additional time is wasted), but unfortunately Validation validates straight after execution and Test Suite eventually fails if the particular element is not on the screen at the moment. The problem I have is that neither of these methods doesn't have an input argument which could be replaced with the value of AccessibleName's property... I'm clueless at this point, really
Ask general questions here.
2 posts • Page 1 of 1
Use both? WaitForExists then Validate? Wrap them both up in a WaitForExistsThenValidate routine? Both use a RepoItemInfo in some way, and that repository item will reference the @AccessibleName field. The Validate call can be passed the appropriate attribute and expected value.