Ask a Question

Two diffrents objects with same name in Mappingtable

SOLVED
MadGrb
Contributor

Two diffrents objects with same name in Mappingtable

Hi,

I have massive problem with my project.

 

There is two Combobox in my form, but that saved in Mapping as on name. So, when I run my test, TC can recognize just a Objects and Clicked twice on first-object.

 

Please look at Pic.

0.JPG

12 REPLIES 12
tristaanogre
Esteemed Contributor

You're in Aliases.... you can't drag an Alias to a parent that is not a parent in the Mapped Objects.  There is another "tree" above the one you're manipulating that is the Mapped Objects tree.  That's where you do your main NameMapping editing and manipulating.  Aliases are used to take a Mapped Object and give it a structure and Name that is more useful in coding.

See https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/abou...


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

Many thanks for your antwort,


one more question, how can I change a Alias for objects in Mapping Table?

tristaanogre
Esteemed Contributor

The documentation that I linked to you before is rather extensive.  Search through the documents for how to edit Aliases.  It's simply a matter of right clicking and selecting "rename" and the alias will be renamed.


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: