Forum Discussion
If you are new to TC, I suggest you read and understand how object identification works via https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/index.html
It's vital to get the name mapping correct, in order for TC to identify the objects.
We are using drag and point to recognize the object, it is TC that is doing the name mapping, it is the same object that we mapped before, but it is creating a different object, hence the old name mapping does not locating the object mapped before. We want to know why TC keeps on creating new name mapping, and the answer to this question is not on the link you provided, which only explain different kind of object locating used by TC. Can you perhaps help me to understand why this is happening in our case?
- rraghvani6 months agoChampion Level 3
TC will create name mappings based on property values of the UI object. If these property values are not unique, then TC will end up creating duplicates i.e. it will append a number at the end of the name mapping
The link that I have provided, provides an explanation how TC identifies objects.
- timothygonzales6 months agoNew Contributor
The problem is, it should not create the another object and append a number to it since it is "the same" object, nothing changes. Property and values are unique, and it is still the same object. This happens after a patch deployed to the environment, but the object property and value does not change, still TC cant interact with it, and when we try to remap that "same object" it created a new object name mapping with incremental number.
- rraghvani6 months agoChampion Level 3
You have only provided a screenshot of you keyword tests, and not each mapped objects and property values.
Related Content
- 9 years ago
- 5 years ago
- 7 years ago
Recent Discussions
- 19 hours ago
- 19 hours ago
- 5 days ago