Forum Discussion

sameerjade's avatar
sameerjade
Frequent Contributor
8 years ago

Object spy cant highlight some objects anymore after upgrade to Visual Studio 2017

Hello,   Our application recently upgraded to use Visual Studio 2017. After this upgrade, the object spy is unable to highlight certain objects in the application which it was able to before this u...
  • sameerjade's avatar
    sameerjade
    8 years ago

    Hello,

     

    Thank you for your replies. 

     

    >> what is your application ?

    It is a desktop application and is QT based. It uses QT 5.8.

     

    >> What is your version of TestComplete?

    TC Version 12.4

     

    Did some more investigation with our developers and found the issue; it seems to be fixed now. After update to VS 2017, there were some objects (objects of our tested application) whose MFC version had changed. The 'Name' and 'WndClass' property values under NameMapping needed to be updated for these objects to reflect the new MFC version. For eg - AfxBar120 had to be changed to AfxBar140. Without this change, TC was not able to identify this object.

     

    Thank you,
    Sameer