Partilhar via


Fixing: Error in Release Management when using "MTM Automated Tests Manager" - build name restriction

If you want to run an automated test as part of your deployment "MTM Automated Tests Manager" tool as described here: https://nakedalm.com/execute-tests-release-management-visual-studio-2013/ Make sure that your build name does NOT contain any spaces. Due to a bug/limitation in the powershell script used by Release Management this will fail if your build name contains any spaces.

Comments

  • Anonymous
    April 08, 2014
    The comment has been removed

  • Anonymous
    April 08, 2014
    Hi Mehdi, Yes this command should be executed by the test agent running on the Test Environment machine and on this machine you need to install VS. Perhaps you can share the deployment workflow that you are using? Also consider which user you have used when installing VS Test Professional vs. the user used when executing the test using the deployment agent...

  • Anonymous
    May 16, 2014
    Hi Michael, We are struggling to get an MTM test to run within ReleaseManagement and are pretty sure its due to white space in our $(TeamProject) name. We used the meta data variable,  hardcoded it and tried putting double quotes around it. No luck. We consistently get an error connecting to the tfs server. Creating test run ... TF31002: Unable to connect to this Team Foundation Server: I omitted our server name. Do you know if there are any know issues with this? Can we resolve this issue by modifying the powershell script? Our other option is to rename our project. We are extremely leery about this option. We expect sharepoint issues.