Moving Mapped Objects
Development has made changes in which panels, frames, or sections have been added and/or removed in the object hierarchy. If these changes can be identified across the application is it possible to move them in Mapped Objects viewer without having to screen by screen and object by object and re-mapping every object?
According to this article it sounds as though it is possible. However, it's unclear if changes would also need to be made to the Name Mapping or if these would be updated automatically. We have extended mapping turned on throughout much of the hierarchy (which we understand can slow the find) but right now the speed is not an issue. Here's a past example where a textbox was moved.
..formMainform.panelPartialpropertiesC1.panel.section.textboxOverrideMin
..formMainform.sectionOrderinformation.textboxOverrideMin
Does anyone have a recommendation about how to approach this in the most efficient manner?
I doubt I could reliably explain the process, but I was able to remove the element from the hierrarchy by editing the xml outside of TestComplete. The unused node was first (carefully) removed from the name mapping file. All keyword test filess were then opened and a search/replace performed which removed the eliminated level (including the trailing period). Doing it in this fashion preserved the alias mappings and no individual steps within the test had to be touched.
I hope this helps someone out there.