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.
Just to let you know: I have experienced some with it, and actually came to a good solutiom: When I use the "While [object.property.visible] <> True " code snippet, the object(property) gets recognized very fast. Right after the visible property comes to True, I stopped the Stopwatch routine.
This gave me reliable results, and the (approx.) 2 seconds delay is not occuring anymore (seems like TC does not need to update the full name mapping scheme when you use a While routine)...
Anyway thanks for all the tips!
Related Content
- 12 years ago
- 11 years ago
- 12 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago