Forum Discussion
Thanks,
Your idea is right, as it seems to me. After some experiments it became clear, that in my case the reason of the long time delay is that the objects being recognized are positioned on the window tabs that have no focus. It was possible as the code only needed to read their state, not to change. After adding to my code the swithching to a tab before accessing its controls the script was performed quickly.
Now I'd like to know - is it a bug of TestComplete or of the application under the test?
You could change the object timeout and see if there is a corresponding change in the object recognition. I had created a small test that timed how long it took to access of an object. My findings were that attempting to access an object that was hidden took the entire object timeout time + a small amount, but did not result in an object recognition error.
Related Content
- 8 years ago
Recent Discussions
- 19 hours ago
- 19 hours ago
- 5 days ago