If you are using Microsoft Test Manager on a Team Project that was created prior to TFS 2010 (and was later upgraded to 2010), or you built your own process template, you will need to use the TCM tool to enable the automatic creation of a work item when a test finds a bug through MTM. The TCM tool lets you import/export a mapping file into TFS. This is also very useful if you want MTM to create a different type of work item than the one that is currently configured or if you want different fields to be pre-populated.
The tool is executed this way, and you can run it from the Visual Studio Command Prompt:
tcm bugfieldmapping /import /mappingfile:”c:\temp\myfile.xml” /collection:http://tfs:8080/tfs/DefaultCollection /teamproject:MyProject
The mapping file looks something like this:
xml version="1.0" encoding="utf-16"?> <BugFilerMappings workitemtypetocreate="Bug"> <ReproSteps>Microsoft.VSTS.TCM.ReproStepsReproSteps> <SystemInformation>Microsoft.VSTS.TCM.SystemInfoSystemInformation> <BuildFoundIn>Microsoft.VSTS.Build.FoundInBuildFoundIn> BugFilerMappings>
Karsten
Hello Esteban,
it seems the second part of your MTM series is not available…
Geeta
Hi – I have been using MTM on Windows 7 machine. I need to install it on Windows 10 . Not sure what step changed but it seems as if one did.
alishahenderson
Very nice blog with very useful information thank you so much sharing your thoughts with us but yeah I still have a query like Can testers view and modify code created by the recorder? can you please solve my query.
Shirley Allen
Hi Esteban, thanks for the above. I have read this & other blogs but cannot see anything that explains how positive evidence can be store. Sure, you can load artefacts or errors, but what about proving something works? How can you capture that? Yes, this is very important in our testing.
Vikal
It is worst tool to use. So much pain.
Ajanthan
What is the version of visual studio i have to install for the MS Test Manager
Joe Segovia
Hola Esteban, excelente materia, solo no se pueden ver las imagenes.
Saludos y gracias por tu aportación.