Forum Discussion

Anastasia02's avatar
Anastasia02
New Contributor
2 months ago
Solved

The object does not exist

I have a test project in version TestComplete 9.30. I took a trial license of TestComplete 15.76. After running the test project, many tests failed because TestComplete post error “The object … does not exist”. But the object does exist and is equals to Object Spy. Adding delays to each test is a laborious task, because TC gives "The object … does not exist" for different objects each time. Maybe there is a general solution?

Testing desktop Delphi application.

4 Replies

  • pkudrys's avatar
    pkudrys
    Frequent Contributor

    Hi, what you are experiencing, is most probably a problem discussed here:
    TestExecute 15.73 not working: 'Parent object not found' | SmartBear Community

    The only reasonable solution for now is using 15.71 or lower and wait for the fix. The only other solution is to add WaitFor... methods here or there. But due to the semi-random nature of this issue, it's almost impossible task. One would have to add WaitFor almost everywhere.  

    • Anastasia02's avatar
      Anastasia02
      New Contributor

      You are right. Using version 15.71 the error is not reproduced. It is sad that SmartBear can not fix the critical error for so long.

  • Do you have the correct Delphi requirement support  https://support.smartbear.com/testcomplete/docs/app-testing/desktop/delphi/about.html 

    I suggest you recreate a test in a new sample project and compare results with your existing project. That way, you can determine if TestComplete 15.76 version problem is behind the failures, or the project upgrade form 9.3 was not adequate. 

    💬 Found the answer helpful? Give it a Like!
    ✅ Got your issue resolved? Mark it as the solution so others can find it fast.