Forum Discussion

darshan_gandhi's avatar
darshan_gandhi
Occasional Contributor
11 years ago

Using NameMapping file through Source Control

Hi,



We have recently started using TestComplete and are using Visual Studio as Souce Control. In VSTS, we have a setting pre-defined where only a single user can check-in the file at a time.

So now we are 3 of us working on TestComplete and want to understand what would be the best approach for using NameMapping file.

Right now we have created 3 different projects and at the end of the week we merge our scripts and namemapping files into main project. And merging the NameMapping file creates a lot of prolems as 3 of us would have used different naming convention for same objects and then it will result in our script to fail.

So do we have any better approach to resolve this problem.

Looking forward for prompt reply.



Thanks,

Darshan Gandhi

2 Replies

  • aminsaurabh's avatar
    aminsaurabh
    Occasional Contributor
    hiii , if you are merging those Scripts files at the end of the day then youll need to have a meeting and decide on the namming conventions and set standards accordingly . This will help you to follow a particular Coding standard as well as a namming standard . identify the controls and codinate the name mapping names used . correct me if i am wrong but if you use the default namming conventions for name mapping then you will end up getting the same name mapping names .. Try it out !!! hope this helped
  • darshan_gandhi's avatar
    darshan_gandhi
    Occasional Contributor
    Thanks Saurabh for your reply.



    Yes, I agree to your point that if we leave the Name Mapping objects name as same when we map them. But these name sometimes are recognised in not a very good manner, so we always have to give them a meaningful name.



    I wanted to understand if there is any other appraoch we can use if we are working in a team and using some Source Control.



    Thanks,

    Darshan Gandh