cancel
Showing results for 
Search instead for 
Did you mean: 

Can we manage multiple NameMap files for one TestComplete Project?

SOLVED
Highlighted
Occasional Contributor

Can we manage multiple NameMap files for one TestComplete Project?

I am working for a  product and we develop multiple implementations of same product for different client. So if i create a Test Complete project for one implementation e.g. A . Can I add another namemap file for implementation B to the same TC project as name map of each implementation gets change?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Staff

Re: Can we manage multiple NameMap files for one TestComplete Project?

you cannot have two name mapping files in one project within TestComplete.

Now with that said, I'm thinking that since this is the same application (with different instrumentations for the separate clients) that the hierarchy and the properties of the objects would remain mostly the same. so for all of the functional UI tests that you've created, the only differences will be the tweaks in the object identifier properties.

so within the same name mapping file, i'd look to use either regular expressions or conditional name mapping to account for the differences in the objects from one implementation of your application to the other, such that you can reliably use the same test cases for the two different implementations of that application,

Best,
Justin Kim

View solution in original post

4 REPLIES 4
Highlighted
Staff

Re: Can we manage multiple NameMap files for one TestComplete Project?

you cannot have two name mapping files in one project within TestComplete.

Now with that said, I'm thinking that since this is the same application (with different instrumentations for the separate clients) that the hierarchy and the properties of the objects would remain mostly the same. so for all of the functional UI tests that you've created, the only differences will be the tweaks in the object identifier properties.

so within the same name mapping file, i'd look to use either regular expressions or conditional name mapping to account for the differences in the objects from one implementation of your application to the other, such that you can reliably use the same test cases for the two different implementations of that application,

Best,
Justin Kim

View solution in original post

Highlighted
Community Hero

Re: Can we manage multiple NameMap files for one TestComplete Project?

Hi,

 

In addition to the great reply provided by @hkim5, you may also consider NameMapping Configurations (https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/conf...).

 

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

Re: Can we manage multiple NameMap files for one TestComplete Project?

Thanks Guys.. I am doing some RND for multiple screens of my product as per suggested solutions.

Highlighted
Community Manager

Re: Can we manage multiple NameMap files for one TestComplete Project?

Thank you, Community!

 

@Amna_Saeed321 Did you manage to make this work? Please share the progress with us and how you did it 🙂


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors