Forum Discussion

manojkumarpatha_1's avatar
manojkumarpatha_1
Occasional Contributor
14 years ago

TC 7.52: TC is not identified the objects added in Name Mapping

Hi,



I am using TestComplete 7.52 and I have a project suite where I have added the objects to the Name Mapping and it was working fine on my machine for last 1 year.

Now I am facing a problem that while checking the same Objects using "Display Object Property window" or trying to execute the project scripts, TC 7.52 is not identified any of the mapped objects. e.g.

The mapped name is Aliases["objDLoader"]["pLogOn"]["winLogOn"]

But when I am am trying to check the object name using "Display Object Property window"  it is showing as

Aliases["objDLoader"]["pLogOn"]["Window"]("WindowsForms10.Window.8.app.0.1a0e24", "Logga in", 1)



Just to recheck it I copied the project suite on diffrent machine where another copy of TestComplete 7.52 is installed. There I am able to execute the project scripts and the mapped name is showing correctly. But that is the machine where I can not use for script creation.



I reinstalled Application and TestComplete on my machine but the problem persists.

Please help me in order to resolve the issue as I am stuck and unable to continue with work..



Regards,

2 Replies

  • Hi Manoj,



    It looks like you have faced a known TestComplete 7.52 issue. Here is a copy of the announce we sent to our customers regarding this problem:





    It is an important hot fix for TestComplete 7.52 users who test .NET applications.

     

    Microsoft has recently released some .NET Framework updates that were installed automatically on many computers by the Windows Update service. The changes are related to the core .NET Framework functionality used by TestComplete.

     

    After the updates are installed, tests created for .NET 1-3.5 applications may stop working correctly - you may see the "Object Not Found" and related errors in test results.

     

    To resolve the problems, please apply the relevant hot fix:

    TestComplete Ent: http://downloads.automatedqa.com/net_patch/NET_TestComplete_Enterprise.zip

    TestComplete Std: http://downloads.automatedqa.com/net_patch/NET_TestComplete_Standard.zip

    TestExecute: http://downloads.automatedqa.com/net_patch/NET_TestExecute.zip

    TestRecorder: http://downloads.automatedqa.com/net_patch/NET_TestRecorder.zip

     

    Here are the hot fix installation steps:

    1. Unpack the downloaded archive to your hard disk drive.

       The archive contains two folders: 'x86' and 'x64'.

     

    2. Close the product you are applying the fix to.

     

    3. Copy the 'x86\tcClrHook.dll" file to the Extensions folder of the product.

       For TestComplete and TestExecute, the folder path looks like this:

         <Product Installation Folder>\Bin\Extensions\

       For TestRecorder, the path is as follows:

         <Product Installation Folder>\Bin\

     

    4. If you are running an x64 operating system, you will also need to copy the 'x64\tcClrHook.dll' file to the following folder:

       TestComplete, TestExecute:

         <Product Installation Folder>\x64\Bin\Extensions\

       TestRecorder:

         <Product Installation Folder>\x64\Bin\

     

    The fix can be applied only to version 7.52 of TestComplete, TestExecute or TestRecorder.





    BTW, the problem is fixed in TestComplete 8. You can download the current version of the product from our web site.
  • manojkumarpatha_1's avatar
    manojkumarpatha_1
    Occasional Contributor
    Hi,



    Thanks for the quick response. Now the solution provided by you is working correctly.