Forum Discussion
mgroen
14 years agoFrequent Contributor
There will always be a slight delay when searching for or waiting for an object as TestComplete needs to refresh the object tree in the background to ensure it gets the object properly. Unfortunately, as far as I know, there's no easy way around it.
Hi,
I understand that is delay is unevitable. However, question comes to my mind if it would somehow be possible to measure the time TestComplete needs to refresh the object tree. If we could just take that time as well, we could extract that timeframe from the total timeframe, and then the remaining timeframe should match the time it takes for the tested application to generate the result my script is waiting for, right?
So, do you know if there is a method/property or anything, that would help me starting/stopping the stopwatch procedure, at the start/stop of the reading/refreshing of the Object Tree, to record the time TC needs to refesh the object tree?
Please, any help would be more then welcome.
Related Content
- 2 years ago
- 2 years ago
- 4 years ago
- 10 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago