Forum Discussion

smcmickle's avatar
smcmickle
Contributor
14 years ago

Updating the NameMapping.tcNM file

Hello again :-)



If someone on a seperate computer were to update / completely change their name mapping settings, all I would have to do to change mine to what they have is take their NameMapping.tcNM file and place it into the NameMapping folder in the current project?



Is this correct, or is there another step? When I do this and reload TC, my nameMapping file still appears to have my old settings.



Thanks for your time!!



-Sean

4 Replies

  • vajindarladdad's avatar
    vajindarladdad
    Frequent Contributor
    Hi Sean,

     I think you are talking about the merging different name-mapping files.



    You can merge different name-mapping files. Right click on name mapping file [Lets say Namemapping1.tcMN ]from Project browser and select 'Merge' , select the other name-mapping file [NameMapping2.tcNM]you want to merge.

    Once you are done with it , you will see the other all the information from NameMapping2.tcNM will be imported to NameMapping1.tcNM.



    I hope this has been of some help.

  • Hi Sean,


     


    If you are talking about Tools | Options... | Engines | Name Mapping settings, they should be exported from the Export Settings dialog. If mapped objects or mapping criteria were changed, replacing the NameMapping.tcNM file should work (TestComplete shouldn't be launched at that time).


     

  • Thanks!



    Unfortunately, I didn't see an option for export. I ended up clicking "Add Existing Child Item" in the project explorer dialog. That seemed to work!