Forum Discussion

sivakarthik's avatar
sivakarthik
Contributor
5 years ago

TestComplete 14 recognize objects as windows

Hello Everyone,   Previously I worked in Test Complete 12.60 V and in that Objects are recognized as VCLObjects . Now, I have converted the project into TestCompete 14 but, objects are recognized ...
  • tristaanogre's avatar
    5 years ago

    What version of Delphi is the application under test written in?  It's possible that the application you're testing is written in a deprecated version of Delphi as I recall some older versions have had their support ended in one of the TC 14 versions.

    Also, in the help for TC 14, there is the following.

    A Delphi application compiled for an earlier version of TestComplete works incorrectly

    Delphi applications that were compiled for earlier versions of TestComplete may function incorrectly in TestComplete 14. In earlier versions of TestComplete, to be able to get access to Delphi application’s internals, you had to recompile the application with helper tcOpenApp.pas, tcOpenAppClasses.pas and tcPublicInfo.pas files supplied with TestComplete. In TestComplete 14, these files are no longer used.

    To resolve the issue, remove the above mentioned files from your Delphi project and rebuild it. See also Migrating Projects Created in Earlier Versions to TestComplete 14.