Ask a Question

NameMapping file is not updating

Frequent Visitor

NameMapping file is not updating

Hello, I have an issue regarding NameMapping file update. As it is said at support website, the NameMapping could be updated during test recording.

I record new tests, save the project (without closing it), but NameMapping.tcNM file keeps the old data.


To update NameMapping.tcNM file information I perform one of the actions:

1) I run tests directly after test recording

2) If I don't run the tests, then I close the project and TestComplete asks if I would like to save an updated NameMapping file.

P.S. In Options -> Engines -> Name Mapping I have UNCHECKED checkbox "Update Name Mapping during test run"

P.P.S. I've lost a lot of mapping data because my PC has rebooted during night because of Windows update(((


Do you have the same issue? Is there any way how can I avoid same problem in the future if I simply forget to close the project, even though I saved it?




Community Hero



I think that Save Project command saves just changes made to the project file itself (i.e. changes to Test Items, set of project items and the like).

In order to save changes to NameMapping file I would suggest to either explicitly call Save command for the NameMapping panel or to call the Save All command.

TestComplete automatically saves all project entities when starting test execution. It also prompts you to save changes on project close.


  /Alex [Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: