locked
How to execute a Test method RRS feed

  • Question

  • Hi,

    What automation assemblys i have to use to execute a test method programmatically?


    Tuesday, November 26, 2013 11:11 AM

Answers

  • Hi Santhosh Ramini,

    Do you mean something like Microsoft.VisualStudio.QualityTools.UnitTesting.Framework? If it is not what you want, please provide us with details.

    • Marked as answer by Anna Cc Thursday, December 5, 2013 7:35 AM
    Wednesday, November 27, 2013 1:51 PM
  • Hi,

    If you create a test in a test project from Visual Studio, you will see the required assemblies under References node in Solution Explorer.

    This blog about running coded UI test from windows app should help you:

    http://blogs.microsoft.co.il/shair/2010/07/15/running-codedui-test-from-another-application/

    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.


    • Edited by Amanda Zhu Friday, November 29, 2013 7:34 AM edit
    • Proposed as answer by Anna Cc Wednesday, December 4, 2013 3:18 AM
    • Marked as answer by Anna Cc Thursday, December 5, 2013 7:35 AM
    Friday, November 29, 2013 7:34 AM

All replies

  • Hi Santhosh Ramini,

    Do you mean something like Microsoft.VisualStudio.QualityTools.UnitTesting.Framework? If it is not what you want, please provide us with details.

    • Marked as answer by Anna Cc Thursday, December 5, 2013 7:35 AM
    Wednesday, November 27, 2013 1:51 PM
  • Hi Sunny,

    I want to execute a Test method of a project from another project.

    Should i use Reflection for that? Assume MSTest as a Test framework.


    Thursday, November 28, 2013 1:31 PM
  • Hi,

    If you create a test in a test project from Visual Studio, you will see the required assemblies under References node in Solution Explorer.

    This blog about running coded UI test from windows app should help you:

    http://blogs.microsoft.co.il/shair/2010/07/15/running-codedui-test-from-another-application/

    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.


    • Edited by Amanda Zhu Friday, November 29, 2013 7:34 AM edit
    • Proposed as answer by Anna Cc Wednesday, December 4, 2013 3:18 AM
    • Marked as answer by Anna Cc Thursday, December 5, 2013 7:35 AM
    Friday, November 29, 2013 7:34 AM