Forum Discussion
eykxas
4 months agoRegular Contributor
Hi! In my case, all wait methods (waitAlias, waitNNN etc...) doesn't have the behavior that I'm looking for.
So instead, I set the autowait timeout directly in my script code, then revert it to the default value I'm using.
for example :
Options.Run.Timeout = 50; //50ms
if(!myElement.Exists){
doSomething();
}
Options.Run.Timeout = 4000; //4s
So TestComplete look for the object only for 50ms (nearly instant).
Related Content
- 5 years ago
Recent Discussions
- 2 days ago
- 3 days ago