Ask a Question

Maintain Multiple Name Mapping inside my project

SOLVED
DKumar04
Contributor

Maintain Multiple Name Mapping inside my project

Is there any way to keep separate name mapping file for each tested application used in my projectsuite?

I don't want to keep same name mapping file for all tested apps

7 REPLIES 7
tristaanogre
Esteemed Contributor

Each project within a suite can have it's own NameMapping file.  However, any applications that you need to interact with within that project are mapped within that singular file.  So, no, you cannot have multiple name mappings files per project.


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

Hmmm that sounds bad . Anyway thanks for your reply 

tristaanogre
Esteemed Contributor

Actually, no... it's not bad.  Each application you work with in the NameMapping file has it's own node tree.

 

Aliases.App1

Aliases.App2

Aliases.App3

 

So, internally in the NameMapping file, they are distinct.  There really is no technological need for having multiple files.

Can you describe why you need it?  Perhaps there's another solution that can be applied.


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

Actually we were the team of 4 working on the same project but with 4 different tested apps. Whenever we try to merge our code in git we are getting merge conflicts. Resolving merge conflicts on testscripts is not a tedious one but resolving conflicts on 'Namemapping' file was a real headache. However having separate namemapping file for each app can atleast ease our job and less chances of getting merge conflicts.

tristaanogre
Esteemed Contributor

So... the four of you  are working with four different tested apps... in the same project.... why?  Why not have a separtae project for each application under test?  


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

If you setup proper branching in git, and use Test Completes name mapping merge feature instead of git's merge feature this would solve your issues. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped

Interesting hope this helps me 

cancel
Showing results for 
Search instead for 
Did you mean: