cancel
Showing results for 
Search instead for 
Did you mean: 

Question Around Name Mapping

SOLVED
Community Hero

Re: Question Around Name Mapping

If you're getting a different Alias altogether, then that means that there's some alias out there that is being picked up... meaning that the mapping criteria for that one may not be specific enough to distinguish it from the one you're working with.


Robert Martin
[Community Expert Group]
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
Extensions available
Frequent Contributor

Re: Question Around Name Mapping

Just so that you can see below are the 2 different aliases I get.

 

This is the one I want to work with and is in Object Browser as well as appears in Name Mapping Editor:

Aliases.TransactConsole.FormTransactConsole.menubarApplication.menuitemAction.Popup_Action.Change_Adviser

 

This is the one I get when I use ctrl+shift+a and I am unable to see this alias in object browser or name mapping editior. However, this the one which eventually works.

Aliases.TransactConsole.UIAObject('Action').TextObject('Change Adviser')

 

So the question is that is there a way to figure out why this is happening so that it can be possibly fixed.

Community Hero

Re: Question Around Name Mapping

Hi,

 

> is there a way to figure out why this is happening so that it can be possibly fixed.

I would recommend to read for details at least this help section (https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/index.html) to get a solid understanding about NameMapping, Aliases and how they work. Also https://support.smartbear.com/screencasts/testcomplete/reliable-tests-for-dynamic-objects/ video from the https://support.smartbear.com/screencasts/testcomplete/ page can be helpful as well.

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Here?
Join us and watch the welcome video:
Watch the new Interview