cancel
Showing results for 
Search instead for 
Did you mean: 

Two diffrents objects with same name in Mappingtable

SOLVED
Highlighted
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
Highlighted
Community Hero

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

View solution in original post

Highlighted
Contributor

Many thanks for your antwort,


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

Highlighted
Community Hero

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
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

See replies!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors