Forum Discussion

gipson_p's avatar
gipson_p
New Contributor
11 years ago

TestComplete issue with recognizing objects using object spy.

Hi,



I am facing an issue on test object identification with TestComplete 9.20 Version. Not sure about the behavior as this suddenly appeared when test was executed. (Previously this used to work fine.)





Actual Object is : "Sys.Process("eAudIT").WPFObject("HwndSource: MainFormAuditorsDesktop", "KPMG eAudIT")




Current Object  : "Sys.Process("eAudIT").Window("HwndWrapper[eAudIT.exe;;5fdf733f-7ff3-44f3-a5df-bd41a2d29ea7]", "KPMG eAudIT", 1)"



Help is highly appreciated.



Regards,

Gipson Peter

  • When we start seeing those sorts of strings, or it seems like TestComplete has forgotten the name mapping, we do some or all of these:



    1) delete any logs that we don't need

    2) restart the application under test

    3) restart TestComplete



    On rare occasions, it takes rebooting the TestComplete machine to get that to clear up.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Gipson,

     


    Pay attention to the version of .NET Framework installed on the computer and the one used to built your app. TestComplete 9 supports .NET Framework 2.0 - 4.5.


     

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Gipson,

     


    I'm pretty sure that .NET Framework was updated on your computer automatically via MS updates. If it is the case, v. 4.5.1 should be installed right now on your computer. TestComplete doesn't support this version. This could explain why the test stopped working on the same computer. Please check this. You can use the troubleshooting steps from this MSDN article.


     


    If possible, can we uninstall this licensed TestComplete Version on the same machine and reinstall it.??


    You can reinstall TestComplete on the computer - there is no need to deactivate/activate the license in this case.


    When uninstalling TestComplete, you'll be asked if you want to deactivate the license. Answer "No" and continue uninstalling the product.


    Once you install it anew, TestComplete will catch the old license on the computer.


     

  • When we start seeing those sorts of strings, or it seems like TestComplete has forgotten the name mapping, we do some or all of these:



    1) delete any logs that we don't need

    2) restart the application under test

    3) restart TestComplete



    On rare occasions, it takes rebooting the TestComplete machine to get that to clear up.
  • gipson_p's avatar
    gipson_p
    New Contributor
    Hi Marsha,



    Thanks for the suggestion and  I have implemented them.

    But am facing the same issue now also.





    Tanya,



    Checked with the .NET framework version also. Both exists with NET Framework 2.0 - 4.5
  • gipson_p's avatar
    gipson_p
    New Contributor
    If possible, can we uninstall this licenced TestComplete Version on the same machine and reinstall it.??



    Doing so, can we reactivate the licence with the previous serial number or will it get invalid ??



    Please have your comments on this also.



    Thanks,

    Gipson Peter
  • gipson_p's avatar
    gipson_p
    New Contributor
    Hi Tanya,



    I have my machine with 'reinstalled .net Framework ver4.0' and now everything is working as expected.



    I do really appreciate your effort for helping me to resolve this out. 

    Thanks for the support provided.





    Regards,

    Gipson Peter