Forum Discussion

MichaelMcFarlan's avatar
MichaelMcFarlan
Contributor
12 years ago

Merge individual Name Mapping Items

Today I went to update a project and found that when I went to record some new parts I was getting a different name for the same base object.



Example:

Aliases.Program.frmMaster.rbnFileMenu <- old

Aliases.Program.frmMaster_new.rbFileMenu <-new

These are both referencing the same object and they both have similar (although slightly different) descendants.



I suppose I could just go with it and use the new name wherever I need to but I feel like it would be cleaner code (and name mapping) just to have everything that descends from frmMaster be in the same place. I looked around for a way to merge them but I didn't see anything.



Anybody have any ideas?

1 Reply

  • I'm not going to be any help, I'm afraid.



    I too suffer from duplicate, triplicate (and more) redefinitions of the same object in name mapping. It would be great if there was a way of cleaning this up.



    I could also do with a way of identifying and removing name mapping items that are no longer referenced in scripts and keyword tests. I'm sure that at least a third of my name mapping entries are not used any more.



    What do you SmartBear people think?