Ask a Question

How to use Multiple NameMapping in a single project?

TMUGHILENDRAN
Occasional Contributor

How to use Multiple NameMapping in a single project?

Hi, I like to use multiple NameMapping in a single project foe example,

 

 

NameMapping.Select("c:\temp\NameMapping1")

....

Aliases.Notepad.Click()

...

....

NameMapping.Select("c:\temp\NameMapping2") 

....

Aliases.Wordpad.Click()

....

....

2 REPLIES 2
baxatob
Community Hero

Hi,

 

You only can to merge two different NameMapping files in one: https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/mana...

tristaanogre
Esteemed Contributor

Also, note that you can map multiple applications in a single NameMapping file.  So, if you need to work with two different applications (like you noted NotePad vs WordPad in your example) they can exist in the same file.


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
cancel
Showing results for 
Search instead for 
Did you mean: