I am trying to add VSTS(Visual Studio Team Services) path as DataSource attribute for one of my test method in CodedUI solution.
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.TestCase",
"https://<name>.visualstudio.com/<project>;<teamname>", "<id>", DataAccessMethod.Sequential), TestMethod]
This code was working fine on TFS But when i am executing the method now, i am getting the below exception :
TF30063: You are not authorized to access : https://<name>.microsoft.visualstudio.com
Previously also i got the same exception in one of my web apps and there i added PAT based authentication to resolve the issue. Now is there any way i can authenticate in DataSource attribute ?