I am trying to execute the testcases programatically using the microsoft test manager using c#. For that I want to read the parameter values stored in Microsoft Test Manager. Please suggest me how to do that Eg:- Read the value of internal paramter "MY Value" I tried to enter the image but its not working ...
Regards Harsh
I think what you describe is Data-Driven Coded UI tests.
http://msdn.microsoft.com/en-us/library/ee624082.aspx
I suppose you want to read the parameters from the datasource of the Test Case that your automated test implements.
You have to associate your test with the Test Case's Id on TFS.
Try the following code.
Have in mind that your TestMethod will run one time for each row (iteration) of the Test Case's datasource.