Forum Discussion

yohanmidha's avatar
yohanmidha
Occasional Contributor
3 months ago

Name mapping gone

Hi, 

we are a small team and finding ourselves in this issue where whenever we make changes to the name mapping, and stage them to be committed, we notice that the <typeinfo> entries in the namemapping.tcnm xml file suddenly disappear. 

I think this is due to us initially not committing the typeinfo.dat file. We know have no way to restore that file.

Could someone please help us understand if there is a way around this? I'm hoping there is something we can do so that it can trigger the typeinfo.dat file to be populated again/or download it.

^ the above is what it looks like, but every single name mapped entry has lost its typeinfo tag.

Thank you for taking the time, NameMapping is new to us.

4 Replies

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    In TestComplete, the project files references other files. You need to ensure you commit ALL of these files. 

    If the appropriate file is not in your repository, then I'm afraid, you will have to re-create your name mappings again. Or try to search for the file, on you teams' computers.

  • yohanmidha's avatar
    yohanmidha
    Occasional Contributor

    Would it be possible to do a merge with a working .tcnm file? Is the only solution a manual remap of each object one by one?

    Interesting how its such a crucial file, and not a single piece of documentation.