Forum Discussion

jackson_1's avatar
jackson_1
Frequent Contributor
14 years ago

TC Can't recognition the WinFormObject control in Windows XP

hi all,



i met a confused thing that the same control it be recognised as WinFormobject in Windows 7 but it recognised as Dialog object in Windows XP. i double checked and make sure the object mapping items are same in current project both are two OS., i don't know this why? and anyone meet the same problem in your project.



appreciate deeply if anyone can provides some helps.


6 Replies

  • Hi,


    According to your screenshot, on Windows XP, TestComplete exposes the application's objects with the MSAA plug-in. On Windows 7, it recognizes the application as a .NET application and provides access to its objects via special methods. Different behavior can be caused by different project settings of the General Open Applications Options group.


    In order for TestComplete to recognize the application's objects in the same way, make sure that the settings are identical on both machines (see the attached image):



    1. Check the order of object types on the Priority of objects list. NativeClrObject must be over NativeMSAA.

    2. Increase the Method invoke timeout option's value to 30000.

  • jackson_1's avatar
    jackson_1
    Frequent Contributor
    hi Margaret,



    thanks for your replay,



    i double checked that the setting are identical on both of machines, and the Priority of the NativeClrObject over the MavtiveMSAA Objectin Open Applications General option. and also increased the time out of the method invoke to 30000.but it is recognised to different object remains.
  • Hi,


    It seems you have .NET Framework version 4 installed on the Windows XP machine. TestComplete 7 does not support this version of .NET Framework, so, it cannot recognize your application as a .NET application.


    We have a patch that should help you. Please get in touch with us via the Contact Support web form. We'll provide you with a fix for the problem.

  • jackson_1's avatar
    jackson_1
    Frequent Contributor
    hi margaret,



    thanks for your responding.



    yes, i installed the .NET framework version 4 in my Windows XP VM. i am wait on your support team send the patch to me as quickly as possible.



    Thanks again.