How to reset the Object default auto time-out
i've a situation where object exists but not VisibleOnScreen , which is expected. i'm trying to perfom some action only if it's visibleonscreen. The default time out is set to 5000 but the script waits for 10 secs, below is an example of my code:
If oBtn.Exists Then
If oBtn.VisibleOnscreen Then
Log.Message "Object is not VisibleOnScreen"
Log.Error "Object Not Found"
I'm expecting object not to be visible on screen, and testcomplete to wait 5 secs,,, Instead it's taking 30 secs,, Not sure where i'm doing wrong
Log is attached
Solved! Go to Solution.
Try to disable option Tools|Options| Engines|NameMapping|Search for visible objects first.
I think it could help.
Thanks, recommendation seems to be working just fine. My question would be in what situation we should have that option checked, will there be any impact on existing test cases. Thanks again for your help