How to use Multiple NameMapping in a single project?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2017
01:35 AM
06-29-2017
01:35 AM
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2017
02:29 AM
06-29-2017
02:29 AM
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...
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2017
03:52 AM
06-29-2017
03:52 AM
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
