Forum Discussion
probably your application takes time to change property.
But testcompleate is generally faster than applications under test.
you try waiting some time. adding delay method or better wait property method
Hi
Thanks for reply, However I have already put delay of 10s but still its the same issue, any other suggestions ?
- tristaanogre7 years agoEsteemed Contributor
If the mapped object is the same, there is a caching of the objects that happens. Try
ObjectName.RefreshMappingInfo()
- Varunawasthi7 years agoOccasional Contributor
Thanks, but is there other way reason I am getting properties in array and identifying the object and its not working.
- tristaanogre7 years agoEsteemed Contributor
Please share your code. That will help us better debug your problem.
One thing to keep in mind is that the "Find" and "FindChild" methods work in reverse order. So, there may be an object in your application that meets the criteria that TestComplete finds before it finds the object you are looking to use.