Forum Discussion

lingling_chiang's avatar
lingling_chiang
Contributor
5 years ago
Solved

Merge mds file from different projects

How to merge the mds file (contains test items, variables etc) from different projects into one projects? what is the mds.tcLS file for?

 

  • Not recommended.  The MDS contains a LOT of special project level things and are not exactly "clear" when it comes to building items.  

     

    As for the tcLS... that's a "local settings" file.  For example, persistent variables have a Default Value and a Local Value.  That local value can be different per machine.  So, the tcLS contains the local values for the machine you're on.

  • cunderw is correct, it can be done but

     

    1) It is not a "built-in" function of TestComplete.  There's no option to "merge MDS" files

    2) Whether you do it manually by creating a new project and adding variables and such OR manually by manipulating the MDS files directly, it's still a manual process.  It all depends upon how you wnat to do it.

4 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Not recommended.  The MDS contains a LOT of special project level things and are not exactly "clear" when it comes to building items.  

     

    As for the tcLS... that's a "local settings" file.  For example, persistent variables have a Default Value and a Local Value.  That local value can be different per machine.  So, the tcLS contains the local values for the machine you're on.

  • That means the only way is to manually update the variables and test items in the project? 

    • cunderw's avatar
      cunderw
      Community Hero

      While not officially reccomended, the mds files are really just xml files. Open one up in a text editor and you can see all of the properties. I suggest making a backup, and then experiment with copying and pasting between the two.

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        cunderw is correct, it can be done but

         

        1) It is not a "built-in" function of TestComplete.  There's no option to "merge MDS" files

        2) Whether you do it manually by creating a new project and adding variables and such OR manually by manipulating the MDS files directly, it's still a manual process.  It all depends upon how you wnat to do it.