Ask a Question

Can't remap the object

Frequent Contributor

Can't remap the object


I am working with this page:

I am clicking on "18004352261" (checkpoint)  and TC "thinks I am hitting "Search", so i go to my name mapping and try to remap some objects (for example "inner html, inner text, textcontent"..)


For some reason when I rename these and save them they instantely change back to wrong old value 'search", not phone number . Any recommendations?


Community Hero

It's not clear what you're using to map these objects as you're only showing some available properties. We need more detail about what's happening vs what you expect to happen. 


Click the Accept as Solution button if my answer has helped
Frequent Contributor

So, I am trying to setup a property check for that phone number on the page. 

But TC maps the object as "search".

So, what I am trying to do is just to remap it back to the phone number by changing some of the property values. 

The 2 screenshots that I have added include all the values under that object.


Let me know if I should take more screenshots.



So looking at the site myself, the phone number and search objects have different parents, and look like some properties could be dynamic, so just updating the single object probably won't get you where you need to be. You will have to do some investigating on how the parents are mapped first.


Also, it sounds like you're using Test Complete to automatically map your objects. While this is great to get started and get an idea as to how your application is laid out, it will likely never be good on it's own.


I would definitely recommend checking out all of the documentation under


What you need to focus on is finding unique ways to identify all of you object, not just the furthest child you are wanting to interact with. 


Click the Accept as Solution button if my answer has helped
Frequent Contributor

Thank you, I will look into that!

No problem definitely follow up if you have further questions. 


Click the Accept as Solution button if my answer has helped
Frequent Contributor

Sorry I have spent today all day reading documentation about object browser and name mapping and I am still stuck. This is where I am at right now: 


- I turned off automatic name mapping

- I record a keyword test with basic click the mouse on the site here and there through the menu and close the browser (btw, TC never records me closing the browser (Chrome)).

- I go to Object Browser, hit Chrome-> the site that Im working with and right click "map object" on the objects/ things i have clicked during my keyword test..

- I then go to name mapping and in Aliases I rename my buttons and click on "edit" to add more properties to the objects to be identified uniquely.

- I cross my fingers and expect it to work 


It does not really work for me 90% of the time, I know there is no single answer, But maybe somebody can give me a hint, am I on the right track or maybe there is a specific video I should watch on name mapping...


I have watched 101, 201, a video on youtube about name mapping and read the documentation on name mapping.

Any help would be appreciated,





Frequent Contributor

Anything, anybody?..

Esteemed Contributor

Are you still experiencing the same problem, having it click on the wrong button? 

Could you post screenshots of the following:

1) The NameMapping structure for both buttons including a view of the hierarchy in the NameMapping panel and the properties being sued for the mapping

2) A screenshot of those buttons as they appear in the hierarchy of the application from the Object Browser

3) A screenshot of the Advanced property list for both buttons.

This will all give us a better view on how to give you more directed help.

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
Frequent Contributor

Hi, thanks for quick reply, 

i am stil having issues, hope you can help me 🙂


Here is the info:

We are working with the number: 1-800-435-2261 on the header.

Screenshots attached:

(the properties of the phone number for some reason are for the "search" button no matter if I try to change them)

Im not sure where is "advanced propery list"


Those 3 screenshots are for "number" object




Showing results for 
Search instead for 
Did you mean: