Forum Discussion
How are you 'sharing' you NameMapping files? Are you just copying the file and pasting it in another project folder OR are you using a remote repository to push and pull your code into another project? The correct way to add into another project would be to right-click the project and choose Add>Existing Item
The NameMapping file contains a unique root signature for your project along with some other unique mapped keys/ids. Start by reviewing the merge recommendation referenced [here]
- OV3 years agoFrequent Contributor
Hi 8kit and thanks for the reply.
I did use right-click the project and choose Add>Existing Item but didn't work as expected.
I wonder if that could happen for a different reason I edited my NameMapping file. I did change (drag and drop) things not only in the Aliases bit but also in the System bit. I wouldn't expect that not to happen as it allowed.
- Kitt3 years agoRegular Contributor
I would start by opening both projects with the 'shared' name mapping and see how TestComplete is recognizing the same object in each project. The merge reference link I posted earlier has a good example on conflict resolution. You can also try using conditional mapping to add logical identifiers [see here]. Ideally you want to only change 1 master NameMapping file and merge into your other projects. See another thread [here]
Related Content
- 11 years ago
- 4 years ago
- 11 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago