Forum Discussion

jhgreen's avatar
jhgreen
Contributor
11 years ago

TestComplete and TFS

We are currently using TFS as our repository for our TestComplete scripts.



I was wondering if there are any good solutions related to the checkin

of the project (.mds) file.



The problem is that the merge tool within TFS does not for the project file probably

due to the fact that I believe it is an xml file.



I am looking for our better solution than having each team member

to check in the project file as soon as they make the change.



You will still have the issue where somebody may overwrite your changes when checking

it in.



thanks,

Jeff
  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    There are very few things in the MDS file that would typically need to be checked in/checked out per user.  Adding new project level variables, new major components (like adding the TestedApps component... not adding individual apps), and new Test Items are those few items.



    While the MDS file DOES change when you add new script units and keyword tests, the MDS file does not control those.  That's controlled by the Script.tcScript file and KeywordTests.tcKDT file.



    So... at least for the part of what I've done in the past, having a central person in control of the MDS file is probably the best solution... gate it, make it so that a very limited number of folks actually do that process, and you'll reduce your risk.
  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 3 rankChampion Level 3
    Hi,



    As Robert already said, only script units which are a plain script files can be merged (with all merging risks that exist for merging source code). All other components of TestComplete project are near to impossible to merge either automatically or manually.

    You have only two options: either stick to Robert's advice or to force all team members to announce their changes immediately after they made them and all other team members must reload their projects immediately after they receive such announcement. (Something tells me that the choice is obvious...)
  • Not sure that solution would work for our project to have a central person in control of the mds file.



    Part of our processes are to continually add items to the Test Organizer.



    I was hoping to see if there is a solution where we can do a merge if need be.



    thanks,

    Jeff
  • I also facing the same issue of while checkin the confict file .Mds files are not updated properly.



    thanks

    vasanth.v