cancel
Showing results for 
Search instead for 
Did you mean: 

Committing a Name Mapping file

SOLVED
Highlighted
Occasional Contributor

Committing a Name Mapping file

Whenever I add objects in the project's Name Mapping file and I try to commit the file, then it shows me to commit the images (png file), images.NMing and tcCfgExtender files along with the Name Mapping file. Is it compulsory to commit these as well with the original Name Mapping file?

If I'll ignore these files, does this impact the Test execution?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Hero

Re: Committing a Name Mapping file

The extender file is actually one that should be excluded as it is a configuration file that is machine specific.  You should make sure you have that in your .ignore.

As for the image files, they should not prevent execution if you ignore them.  It's a feature of TestComplete that, when you map an object, it stores an image of the mapped object for reference.  You can configure TC to NOT store those images.

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/how-...


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

Highlighted
Community Hero

Re: Committing a Name Mapping file

Personal experience. The images don't do much as far as test reporting, especially when you're doing more data driven and dynamic testing. They take up a lot of space in source control. 

 

If you need them though, there would be harm in keeping the image in source control. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped

View solution in original post

2 REPLIES 2
Highlighted
Community Hero

Re: Committing a Name Mapping file

The extender file is actually one that should be excluded as it is a configuration file that is machine specific.  You should make sure you have that in your .ignore.

As for the image files, they should not prevent execution if you ignore them.  It's a feature of TestComplete that, when you map an object, it stores an image of the mapped object for reference.  You can configure TC to NOT store those images.

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/how-...


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

Highlighted
Community Hero

Re: Committing a Name Mapping file

Personal experience. The images don't do much as far as test reporting, especially when you're doing more data driven and dynamic testing. They take up a lot of space in source control. 

 

If you need them though, there would be harm in keeping the image in source control. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped

View solution in original post

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

Changing options from outside of TestComplete

Participate!

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

Participate!

Comparing content of HTML table with Excel file data

Participate!

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

Participate!
Top Kudoed Authors