john
john

Reputation: 1767

Microsoft Test Manager with C#

This is the first time I have used Microsoft Test Manager and I've read that it is possible to use C# to execute test scripts. Unfortunately I was not able to find any tutorials for this anywhere.

I have played around with the application but so far I've only been able to create test cases by manually clicking around and recording it. This can be played back, yes.

I need to know how I can use C# with Microsoft Test Manager. I don't see an editor on the application so does this mean I have to associate the app with a VS12/VS13 solution?

Any help on how to do this would be appreciated.

Upvotes: 0

Views: 887

Answers (1)

Varun Bajpai
Varun Bajpai

Reputation: 555

You need not to associate the Test Manager appication to the Visual Studio, rather TFS does this for you. You need to create test manually and then associate it with the automated tests using visual studio. Test created manually in test manager are stored in TFS, you need to query TFS from Visual Studio in order to see the Test Cases created manually, then you need to open the desired test case and click on associated automation tab, there you can browse to the C# test method and associate it with, the manual test case. Status of your test will change from "Not Automated" to "Automated".

You can visit MSDN Documentation, here is a link to Automate a test case in Microsoft Test Manager

Upvotes: 1

Related Questions