Importing Test Result information into TFS RRS feed

  • Question

  • I have another team who in their project will be executing tests on a machine that will be disconnected from TFS.  However, they will want to get the test results back into TFS. 


    1. Is it possible to import test results? 
    2. What data needs to be gathered from the disconnected machine (I'm assuming .trx, maybe the test binaries?)
    3. Is there any documentation on an import process, if one exists?

    Thanks in advance!

    Wednesday, March 19, 2014 2:36 PM


  • Hi Not2Cre8ive,

    Thanks for your post!

    First, yes, it is possible to import test results into TFS. I suggest that you could use the TCM tool to achieve that.

    tcm run /publish /suiteid:5 /configid:13 /resultowner:"<Name of new owner>" /resultsfile:"c:\temp\latest.trx" /collection:<CollectionURL> /teamproject:<Team Project name>

    Secondly, the test result file (.trx) is enough.

    Thirdly, please refer to:

    # Running Tests from a Test Plan Using the Command Line Utility

    On the other hand, there is a link may benefit you:

    # Import test results into TFS using Orchestrator


    Best Regards

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, March 20, 2014 6:19 AM

All replies