locked
How to reset failed/error test cases in a "Test run" into active status using tcm or other command RRS feed

  • Question

  • Dear experts, I was using tcm.exe to run automated tests, and now I was using /include paramter to include all tests in a test run. As you know, some test cases may fail for the first time (Especially for CodedUI test), and I can reset them into active status and let these run for second or even third time using MTM UI.

    My question is, is it achievable to using tcm command line to reset only failed/error test cases to active again without creating a new "test run", which will run all test cases inlcude the passed one.


    Thanks

    Wednesday, August 12, 2015 1:48 AM

Answers

  • Thank you Starain. I had posted a new feature request as below:

    http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/9300942-reset-failed-error-test-cases-in-a-test-run-into

    Hope it works. :)

    Thursday, August 13, 2015 3:12 AM

All replies

  • Hi Alix,

    As far as I know, there isn’t the feature of reset test points’ status to active through TCM or other command.

    You could submit this feature request: http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You can send your idea there so the others can vote it. If you submit this suggestion, you might post that link here which will benefit others who has the similar issue.

    Regards

    Starain


    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, August 13, 2015 1:58 AM
  • Thank you Starain. I had posted a new feature request as below:

    http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/9300942-reset-failed-error-test-cases-in-a-test-run-into

    Hope it works. :)

    Thursday, August 13, 2015 3:12 AM
  • Hi Alix,

    I haven't found any way to rerun failed tests with tcm.exe. Please check the "Rerun failed tests" thread in this forum. There you can find a solution using c# code. I'm just working on the PowerShell version.

    Best regards

    Peter


    • Edited by Peter Dobos Sunday, January 31, 2016 10:25 AM
    Sunday, January 31, 2016 10:25 AM