Forum Discussion

francisd84's avatar
francisd84
Contributor
3 years ago

VCL Objects detected as Window objects

I found some old posts about VCL Objects detected as Window objects in TestComplete but they are from old versions of TC (like 10).  I'm using 15.45 The tested applications are compiled using C++ Bu...
  • francisd84's avatar
    francisd84
    2 years ago

    This is a old thread but I just find out the steps of this "issue" (maybe it is a bug) (tested on TestComplete 15.45.31.7 x64)

     

    TestComplete opened, no project loaded:

    • On Both Object Spy and Object Browser, VCL objects of the application appear as VCLObject

    As soon as a project is loaded without the application in TestedApps:

    • On Both Object Spy and Object Browser, VCL objects of the application appear as "Window" objects

    As soon as the application is added into TestedApps within the same project

    • On Both Object Spy and Object Browser, VCL objects appear as VCLObject

     

    So the "workaround" (maybe it is a bug) is to ensure that the application is in TestedApps object of your project or no project is opened at all.