cancel
Showing results for 
Search instead for 
Did you mean: 

NameMapping issues with git sourcecontrol

Highlighted
Occasional Contributor

NameMapping issues with git sourcecontrol

Hi, I am facing issues with namemapping contents with Source Control. e.g My test scripts contain Aliases of the objects captured and after committing and pushing changes, the version of the namemapping file do not contain any alias objects. It has happened multiple times. has anyone faced similar issues, and how did you resolve it?
9 REPLIES 9
Highlighted
Occasional Contributor

We have faced this issue before and we are still struggling to find an appropriate way to manage Source Control with Test complete. You can try looking at the Name Mapping file and check for merge conflicts, markers like HEAD, <<<<<,>>>>>,=======

Hope this helps.

Highlighted
Community Hero

Hi,

 

https://community.smartbear.com/t5/TestComplete-General-Discussions/Git-Check-in-issues-in-Test-Comp... Is this your case?

 

Regards,
  /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.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Highlighted
Occasional Contributor

Hi Alex, Yes, We are facing similar problem, However, I do not see any solution to it.. Is there something that worked for you?
Highlighted
Community Leader

Hi, we on the team have this approach to NameMapping:

 

If someone has already mapped an item to the NameMapping to repository:

 

1) The first one to do the "merge" with the testComplete option of his NameMapping with the one that is in the repository and only commit. This works well, but you need to get yourself a proper work routine.

Highlighted
Community Manager

Thank you everyone for participating in this thread.

 

@csachanandani did you find the advice from imitra or Wamboo helpful?


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Occasional Contributor

Another suggestion from Smart Bear is we create different projects under the same project suite. This will eliminate the need to edit the same Name Mapping file by different users (provided different users are working on different projects). I am currently trying out this method and will see how it goes!

Highlighted
Community Manager

@imitra I would love to learn if this approach solves it 🙂 This might be the solution @csachanandani  is looking for too.


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Occasional Contributor

while this may work if your team works in Silo, but its difficult to create separate projects for all team members and may create challenges with merging.

Highlighted
Occasional Contributor

This works when you create different projects (eg: one project per module, which is my scenario) under the same project suite. I am now dividing my existing project into smaller projects based on modules. I will merge the new Name Mapping file to the existing Name Mapping file for each project. In my team, I am able to dedicate resources to work on separate modules . This kind of works for me. Not an ideal solution for sure, but kind of a workaround.

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

See replies!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors