I am having a similar issue.
I am working on testing a multi-page form where many of the same elements appear over and over again on each form page within the sequence.
Sometimes, TestComplete's automatic NameMapping is not adequate to the task. It creates XPaths that identify multiple different objects on the same page.
Now, I can create XPath myself is that unique to that element on that page. However, there is no easy way to create a new Name Mapping object.
My work around for now is to create a new Name Mapped Object by
Copy and paste current Named Map object.
Rename Name Mapped Object
Change Xpath of Name Mapped Object.
This allows me to create a more sensible hierarchy with names that make sense for the project.
The current feature set just makes one giant list with some hierarchies that don't match the project.
By using the above work around, I can create a hierarchy more suited to the project.
ProcessNumberOne
- StepNumberOne
--ScreenNumberOne
---FieldNumberOne
---FieldNumberTwo
--ScreenNumberTwo
---FieldNumberOne
Admin
- FeatureOne
-FeatureTwo
What I'd really like is a way to create a NEW BLANK NAME MAPPED OBJECT which I can place where I want and name it whatever I want. It would also be great if I had the option of automatically replicating this new object, with the current hierarchy, the aliases folder.
Related Content
- 5 years ago
- 2 years ago