Forum Discussion

SmartBST's avatar
SmartBST
Contributor
7 years ago

Cannot run a test cases pulled from repository

Hi Everyone, My project use costume name mapping, and I am running into the following issue : 1.User 1 create test cases 2. Commit into the repository (two files are committed manually into the...
  • tristaanogre's avatar
    tristaanogre
    7 years ago

    So, you've answered your question.  When User3 did a NameMapping merge of files, it changed the mappings in some way so that the test case itself won't run properly.  As noted in the message you received, the merging of the files resulted in some object mappings not resolving correctly requiring a manual review and potential correction.  Since the manual review was not done and the file was checked into the repository un-checked, this is what caused your errors.

     

    Solution: Go through your NameMapping file and work through correcting those mapped objects that need to be corrected so that the tests will run.  As noted, this is not a problem with the repository but a process that needs to be followed when merging mapping files.

     

    Check out the following article. https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/managing/merging.html

     

    At the end, there's information about why conflicts occur and what are suggestions on how to resolve them when they do.