This is my Data Source
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.XML", "|Data Directory|\\Input.xml", "testcase", DataAccessMethod.Sequential), TestMethod]
When I execute this, I get the below error
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library.
Error details: Object reference not set to an instance of an object.
The XML File is located in the project's folder location. How can I prevent this error?