Forum Discussion

ISR's avatar
ISR
Occasional Contributor
6 years ago

Test Complete doesnot recognise Objects

Hi Guys,

 

I am currently creating tests for Desktop application built on Delphi and have created a few tests last week and run it successfully. For some reason on running the same tests today ,all are failing with error " Objects does not exist" .

There was no update done to the application and not really sure whats causing the issue.

 

Any suggestions would be really appreciated.

 

Thank You.

9 Replies

    • m_essaid's avatar
      m_essaid
      Valued Contributor

      Hi ISR,

       

      I use Delphi apps also, you don't really need to use debug info. I prefer to not use debug info to be under the same conditions as the final user.

       

      I'm asking myself if you use mapping. If you don't, there are elements in memory that changes at each instance, so a test that works a day may fail another.

      • ISR's avatar
        ISR
        Occasional Contributor

        HI m_essaid  ,

         

        According to my understanding Name mapping is done automatically by Test Complete. But yes I see that the components name have been changed from earlier.

    • ISR's avatar
      ISR
      Occasional Contributor

      anupamchampati  Yes I am using Debug Build for testing and have checked the project properties as per the link it is as per the link, except .TDS file not being in the same folder as the tested application. On compiling and running the tests again made no difference too.