Forum Discussion

jimsmith_1's avatar
jimsmith_1
Contributor
12 years ago

Merging Name-Mapping tree nodes.

I submitted a ticket about this, but it seems there is no way of doing this inside the TestComplete GUI...



Does anyone know of a way to merge name-mapping nodes in the name-mapping file? Over the years I have accumulated several identical web page nodes with the same recognition parameters in the same project. This makes it harder to find the node you are interested in.



Is there a way I can merge two nodes to create one composite node?
  • Thanks for that Simon, but I think that article is about merging two name mapping files into one. I want to merge duplicate nodes together in my single name mapping file.



    For example, under the "iexplore" node I have many page nodes. Many of these refer to different pages, but some have duplicate identification criteria and actually refer to the same web page. I would like to merge those so that I have one and only one page node in my name mapping for each actual page.

  • Hi Jim,


     


    What you want to do is a quite complex process. So, to my mind, only the manual procedure is available here. Please refer to the "Modifying Mapping Criteria" article to learn the features TestComplete provides to modify mapped objects.