Forum Discussion

DavidD's avatar
DavidD
SmartBear Alumni (Retired)
8 years ago

Name Mapping in Projects

 

Q: Can a user create multiple name mapping in the same project. In my case “sample” project contains a name mapping. Can I create a second name mapping? Please clarify this. I searched the smart bear community didn’t get any response.

 

A: There can only be one name mapping per project. You can have a Test Suite open with multiple projects, but each project only have one name mapping. 

2 Replies

  • NisHera's avatar
    NisHera
    Valued Contributor

    To add to that One name mapping could be shared among several projects. 

    for eg:- in the second project you can RMB and add existing name mapping of first project

  • Ravik's avatar
    Ravik
    Super Contributor

    You can create multiple configuration of the NameMapping under the same project.

     

    Lets say your project is running in multiple languages and all the objects are having same properties for that(only text/captions are change) in this case. instead of creating new project I think it would be better to create New Configuration of NameMapping and load it at run time. as per the requirement.

     

    To create multiple Name Mapping configuration -

     

    1- Name Mapping editor

    2- Configuration Manager

    3- Click on "Copy as New" button

    4- Enter configuration Name

    5- click on Ok and close -configuration manager

    Now you can modify/update object without hampering your original NameMapping.