Forum Discussion

tinauser's avatar
tinauser
Frequent Contributor
14 years ago

namemapping - mapping child

It is possible to map an object and all its child?

Thanks



PS:

If more people are working in a same project suite (on the same software), what is recommended:

- to use a different name-mapping for each project

- to use the same name-mapping across the project suite



Pors and cons for the two solutions?



Thanks

13 Replies

  • chdittmer's avatar
    chdittmer
    Occasional Contributor
    Hi Stephen,



    Yes this is pretty much what I am currently doing. The problem I am experiencing is that we have a plugin like architecture where we change the system composition depending on available hardware and client requirements and this changes the hierarchy every time. This means that every single time I need to set up tests for a new system config I would need to re-do the mapping. Currently I have the same system with 12 different compositions for which I would theoretically have to create a object mapping for each system twice.



    Luckily at them moment I only have to test the one system but at any point in time some one could request I run tests on the other systems as well and the process starts again.



    This could theoretically happen more than once a week in our current environment and spending a day each week just to create object mappings would not be practical for me.



    Kind Regards

    Carl
  • chdittmer's avatar
    chdittmer
    Occasional Contributor
    Is there a resource of some kind available to explain using runtime helper/finder functions that you could point me to? If there is a better solution I will defnitely give it a shot.
  • Hi Carl



    Considering you will need to run the test suit again and again, eventualy we can identify the fixed object hierarchy and map those only. Once this done, move those changing child next to the fixed parents and enable "Extended find".



    Following this exercise might get good results.



    Suggestions are welcome! :)



    Thanks