ANHristov01
8 months agoOccasional Contributor
How to work simultaneously on the same Test Complete project without conflict messages?
Situation:
Currently, two people are working on the same Test Complete project simultaneously. However, the issue we are facing is that whenever one user makes changes, Test Complete continuously displays a message to the other user saying that the file has been modified, and they need to confirm or discard the changes.
This is slowing down our workflow since we constantly have to manually confirm every change instead of having them sync automatically.
Question:
Is there a way to configure Test Complete so that:
- Two people can work on the same project at the same time without interfering with each other.
- Changes are saved automatically without prompting the other user to confirm them.
- We can avoid unnecessary conflicts when saving test scripts and Name Mapping objects?
What we have tried so far:
- Disabling "Update Name Mapping during test run"
- Turning off automatic saving in Log and Recording settings
- Splitting tests into separate files to minimize conflicts
- Using separate copies of the project, but manually merging the tests is not the most efficient solution for us
Additional Context:
- We are using Test Complete 15
- We primarily work with Keyword Tests, but we also use JavaScript/Python scripts
- Currently, we are not using Git/SVN, but if that’s the only solution, we are open to implementing it
Using Test Projects in Shared Mode - Messages:
- If Dev is using source control (I know Git & Azure DevOps) then you can simply get with one of your Devs and ask them to create a Repo for you and show you how to clone it to your local PC and manage it. There is a learning curve but I really doubt you will regret it.
- There are are a few ways to manage your teams code merges in Git and it is completely external to TestComplete and works at the file system level. Any changes you make to files that are under version control will be tracked and managed even outside of TestComplete such as with notepad or even a file system name change or delete.
- Git has built in merge conflict resolution. It will show you the file versions side by side and allow you to choose which file to keep or even select individual changes to resolve the conflict. Depending on how you setup your repo access you can control this and resolve the conflicts yourself or kick them back to the team member or even go hands off and let team members merge directly.
- You will need to setup TestComplete to use Git however so TestComplete will show you all the neat Git bells and whistles.
- Tortoise Git is a nice add on supported in TestComeple that will let your team commit, push, merge, revert and compare code versions.
- Visual Studio has a very nice interface for working with Git outside of TestComplete that will allow you and your team to manage code versions, history and merges and everything else Git does.
- Here there isn't anything other than what I think you may already be doing.
- If Dev is using source control (I know Git & Azure DevOps) then you can simply get with one of your Devs and ask them to create a Repo for you and show you how to clone it to your local PC and manage it. There is a learning curve but I really doubt you will regret it.