Forum Discussion
eykxas
7 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
Recent Discussions
- 6 days ago
- 6 days ago
- 10 days ago