Forum Discussion
Hi atul_acrolinx -
You can change the autowait timeout at the project level Tools > Current Project Properties > Playback > Autowait Timeout. This is if you want to change the setting for all operations.
Or if you would like to switch it just for that one you can use this - you can set this to a very low time:
Options.Run.Timeout = 30000; // 30 seconds
Let me know if you have further questions.
Emma
Thank you ebarbera for info, yes I tried this but then If i do this then it will affect entire project object identification process, wherein when I really want TC to spend some time to find object, then it will fail there.
But just wanted to understand if there is any way to do this using script or something...
like look for object if not then exist immediately.. not sure how much logical or feasible question is..
Thanks in advance.
- MarkHays4 years agoOccasional Contributor
So, as @ebarbera indicated you can change the timeout value in a script. Perhaps first you will want to get the current value store it in a variable and then restore it after you have checked for the object existence such as
timeout = Options.Run.Timeout
Options.Run.Timeout = 2000 # 2 seconds
# code to Perform check
Options.Run.Timeout = timeout # restore the timeout value to the previous time
Related Content
- 11 months ago
- 2 years ago
Recent Discussions
- 11 hours ago
- 22 hours ago