none
tcm run /publish error "Root element is missing" RRS feed

  • Question

  • Hi,

    I am trying to publish one of my test suite in trx  file.

    tcm run /publish /suiteid:203 /configid:6 /resultowner:"umesh.singh" /resultsfile:"c:\temp\TestPublish.trx"  /collection:http://bemeche1tfs01:8080/tfs/defaultcollection /teamproject:Development

    Here, I have blank "TestPublish.trx" file.

    I am assuming that we can publish test result which already there in MTM into ".trx" file.

    Can anyone one please let me know if I am doing something wrong or my understading itself is wrong?

    Thanks in advance guys.

     - Umesh

    Thursday, February 23, 2012 7:34 AM

All replies

  • What is you realy trying to accomplish ? The TCM /publish will try to publish the test results in your trx file to your test plan.

    If you want to export your test results in MTM to a file , you shoudl use the tcm run /export command, please refer to http://msdn.microsoft.com/en-us/library/ff942469.aspx

    Thursday, February 23, 2012 8:21 PM
  • Hi Umesh,

    How about the issue now?

    Mattias has provided information in the reply, is there any help of this issue?

    If anything is unclear, please free feel to let me know.

    Best Regards,


    Lily Wu [MSFT]
    MSDN Community Support | Feedback to us

    Monday, February 27, 2012 2:29 AM
    Moderator
  • Hi Mattias,

    Thanks for your reply. Actually, I wanted to publish the test result as a seperate trx file. I it should create file with test result.

    You are right. I am suppose to use export.

    Thanks,
     - Umesh

    Friday, March 16, 2012 7:30 AM