locked
Running test from MTM RRS feed

  • Question

  • How can I determine while running an automated test if it is running from Visual Studio IDE or from MTM?
    • Moved by Charles-Li Thursday, January 15, 2015 1:17 AM
    Wednesday, January 14, 2015 5:44 PM

Answers

All replies

  • Hi MTMUser,

    Since this thread is more related to Microsoft Test Manager, I will move it to the right forum for a better response. Thanks for your understanding.

    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, January 15, 2015 1:16 AM
  • Hi MTMUser,

    Generally, if you are running an automated test from Visual Studio IDE, you will see the automated test be run by the Test Explorer dialog box like the following screen shot.

    If you are running an automated test from MTM, you will see the automated test be run like the following screen shot.

    Note: If you want to run an automated test successfully in MTM, firstly, you will need to sure the automated test can be run successfully in VS IDE.

    About how to run an automated test from VS IDE, I suggest you can refer the following article.

    http://msdn.microsoft.com/en-us/library/hh270865.aspx

    About how to run the automated test from MTM, you will need to configure the lab environment fot the automated test.

    Reference:

    http://msdn.microsoft.com/en-us/library/dd286580(v=vs.110).aspx

    In addition, I find a similar thread about how to run an automated test from MTM as reference:

    https://social.msdn.microsoft.com/Forums/en-US/c02ae9bf-692b-4eda-b9da-988e2464dae3/using-mtm-2013-how-to-configure-the-coded-ui-ordered-test-with-mtm-2013-and-how-to-execute-from?forum=vsmantest

    Hope it help you!

    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.

    • Marked as answer by Tina-Shi Wednesday, January 21, 2015 5:36 AM
    Thursday, January 15, 2015 7:20 AM