0

In Visual Studio 2010, I have created data driven using VSTS coded UI automation. But I am not able follow the same steps in 2013.

I got some useful info in MSDN, but that too is not sufficient still I am facing issues while adding a .csv file.

Datadriven is quite easy in 2010, but in 2013 it is entirely different I added a .csv file through Project -> Add New Item....but it is not working

Also, in 2010 while adding a file a code will generate automatically. The same code is not appearing in 2013. PFB the code from 2010

[DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|\TestDatas.csv", "TestDatas#csv", DataAccessMethod.Sequential), DeploymentItem("TestDatas.csv"), TestMethod]

Anand N
  • 1
  • 4
  • Please answer to this question ASAP.....It is pushing my client's delivery date – Anand N Jun 16 '15 at 12:42
  • possible duplicate of [How to run a test many times with data read from .csv file (data driving)](http://stackoverflow.com/questions/23469100/how-to-run-a-test-many-times-with-data-read-from-csv-file-data-driving) – AdrianHHH Jun 16 '15 at 19:12
  • Please read http://stackoverflow.com/help/someone-answers – AdrianHHH Jun 22 '15 at 10:51

0 Answers0