Forum Discussion
eykxas
15 days 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
- 4 years agoabinash11
- 2 years agomattb
- 2 years agoIrinaManea