Forum Discussion
gunnettmd
13 years agoContributor
Thanks for the reply Jeffry. I am not looking to create Suites and Cases but retrieve parameters stored within a test case. Primarily to drive which environment to use, etc. See the attached screenshot for what I am referring to.
When using CodedUI, you can specify a DataSource that points to the work item containing the parameters (like below). I was hoping there was a way to do this within the Test Complete Visual Studio item.
[TestMethod]
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.TestCase",
http://[servername]:8080/tfs/[collection];[project], "[work item number]", DataAccessMethod.Sequential)]
When using CodedUI, you can specify a DataSource that points to the work item containing the parameters (like below). I was hoping there was a way to do this within the Test Complete Visual Studio item.
[TestMethod]
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.TestCase",
http://[servername]:8080/tfs/[collection];[project], "[work item number]", DataAccessMethod.Sequential)]