Forum Discussion
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.
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
- 2 years ago
- 9 months ago
Recent Discussions
- 2 days ago