Forum Discussion

douglasv's avatar
douglasv
Occasional Contributor
4 years ago

Share NameMapping, scripts unit working with team

Hello, I was thinking about how best to reuse NameMapping and script with other projects, so that a change in one project reflects on another project. File jpg is attachment.   So, only map objects...
  • AlexKaras's avatar
    4 years ago

    Hi,

     

    This is probably the best way.

    One thing to know and remember: all files that are part of TestComplete project (except script units to certain extent) are not mergeable and must be marked as binaries in source control system.

     

  • AlexKaras's avatar
    AlexKaras
    4 years ago

    Hi,

     

    did you see shareNameMappingScripts.jpg ?

    Yes, I saw it.

    Not sure if I got the question, but nevertheless:

    -- Script code from other project(s) can be reused by utilizing the 'Add Existing' functionality;

    -- Only one NameMapping/Aliases file can exist in the project, thus you will have to physically merge NameMapping files from other project(s) into the project where you'd like to use 'combined' NameMapping.