Forum Discussion

pachlava's avatar
pachlava
New Contributor
12 years ago

MSVC property group is occasionally not available in TC10

Hello,



Our company has a Visual C++ application built with VisualStudio 2003.



The application contains a number of toolbars which are based on CDialog class. The most comfortable way to locate these toolbars was using the ClassName property of MSVC group.



The problem is: after transition from TC9.20 to TC10, we have noticed that TC10 object browser may usually be unable to see both MSVC and MFC property groups for such toolbars. Both when app is executed as a TestedApp, and when executed manually not corresponding to any TestedApp.



Running the same testcode in TC9 goes perfectly, and its object explorer constantly provides MSVC and MFC property sets for these controls.



As well we have noticed the following: once the toolbar controls were located in TC9, they start to be visible for TC10. After reboot TC10 does not see them again.



So currently we are in situation where we either need to downgrade to TC9 for some time, or to find a point we have possibly missed on our side.



Thank you for assistance,

Sergey

  • Hi Kane,


     


    As far as I see, our R&D team is preparing a patch to fix the issue Sergey has reported. I suggest that you contact the Support Team and describe what you are observing - perhaps, this patch will work for you, as well.


     


  • Hi Sergey,


     


    I've found out that one of your colleagues, Matthias Hansmann, has contacted the TestComplete Support team regarding this. This behavior is being investigated in our test lab at the moment. Please contact Matthias to learn more.


     

  • pachlava's avatar
    pachlava
    New Contributor
    Hello Tanya,



    I am aware of that ;) We are waiting for investigation results.



    Thank you,

    Sergey
  • kanemeyer's avatar
    kanemeyer
    Occasional Contributor
    I am having this same issue. It seems to only happen to CMFCPopupMenu. It worked just fine in TestComplete 9, but it refuses to recognize it in TestComplete 10. If I use Object Spy on the popup menu, it detects the object and its mapping, but not when it running through the test.
  • pachlava's avatar
    pachlava
    New Contributor
    Hi Kane and Tanya,



    The patch provided by R&D team helped to eliminate the problem. If it's not against company policy, I can share the fix with Kane (privately or by attaching the files to this thread), to make sure it works for his issue as well. Meanwhile we will contact R&D team to confirm that the fix was helpful.



  • Hi Sergey,


     


    I'm happy that the patch helps you!


    As for Kane's issue, I still suggest that Kane contact the Support Team. Only they can confirm that it's worth to try applying the patch in his case.


     

  • kanemeyer's avatar
    kanemeyer
    Occasional Contributor
    I received a fix for this on an earlier version of  Testcomplete 10. However, it is broken again on v10.30. I tried to use the same fix and I lost all MSVC hooks. Was this supposed to be fixed in this version of 10?
  • Hi Kane,

     


    As you've already investigated the issue with our Support Team, it makes sense to contact them again. They have the history of your case, and it will help them assist you faster.