Forum Discussion
I have seen something similar recently. What I have been able to speculate is that objects that are hidden, seem to take the object timeout time before they return. I am performing web testing. Did seem to happen with a somewhat recent update to test Complete.
- rvg4 years agoOccasional Contributor
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?
- MarkHays4 years agoOccasional Contributor
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
- 11 years ago
- 11 years ago
Recent Discussions
- 22 hours ago
- 23 hours ago
- 5 days ago