Forum Discussion

fujunxu's avatar
fujunxu
Contributor
8 years ago

Error No debug information was found for MFC control.

I am upgrading my Testcomplete from 10 to 12.    I got Error message" No debug information was found for MFC controls". when I test my testscript using Testcomplete 12.30(tried to click one of the Tab:

    var afxWnd110u = Aliases.RRD.wndAfx.Afx3.AfxWnd110u;
    afxWnd110u.ClickTab("Properties");

Everything works fine on TestComplete10. 

I checked the properties window for the window control and found that on TC 12.30 some of the properties shows "No debug information was found for MFC control" too.  I had attache two screen capture to this message.   Thanks.

 

    • fujunxu's avatar
      fujunxu
      Contributor

       


      NisHera wrote:

      dose this helps you?


      Thanks.  NisHera
      It turns out on the machine I installed the TC 12.30 I don't have those pdb files(I guess because I didn't install visual studio on it).  After I copied the pdb files it works fine now.

  • shankar_r's avatar
    shankar_r
    Community Hero

    Hi,

    Possibilities of this error could be,

     

    • Sometimes this can happen when the MFC control are customized items.
    • You might have added some Object Mapping in Tools>Current Project Properties > Object mapping in TC10 not with TC12
    • Also make sure you have all set with NisHera link
  • sharma2prateek's avatar
    sharma2prateek
    Occasional Contributor

    Hi,

     

    I am facing the same issue, but I am working on third party product so it is not possible to get PDB file, Is there any other way to get the grid details ?

     

    Name - Window("GXWND", "", 1)

    WndClass - GXWND

    wColumnCount - Error: Error No debug information was found for MFC controls.

    wRowCount - Error: Error No debug information was found for MFC controls.