Forum Discussion

phil_hunter's avatar
phil_hunter
Occasional Contributor
13 years ago

"Object Does Not Exist"

TestComplete excecution of tests fail because it cant recognise the TextBox Object when the form loads up. How do I resolve this issue?

4 Replies

  • Try looking for other properties in the box, it could be that the ones you are looking for change in each runtime.
  • phil_hunter's avatar
    phil_hunter
    Occasional Contributor
    Why would the properties change? Can I use these properties to help with Object recognition.



    The delay is not the problem as I increased the delay and waiting times to make sure this wasnt the problem.



    Thanks.

  • Hi Phil,


     


    The object may not be fully loaded. As a result, some properties or even the whole object will be unavailable. If TestComplete is executing a test over this object in this moment, you will get the "Unable to find the object" or "Object doesn't exist" errors. Applying the approaches described in the article I mentioned helps avoid these errors.