I started with my evaluation of Telerik Test Studio a couple of days ago. I am somewhat familiar with CodedUI.
As a part of my eval, I have a a teststudio test with many CodedSteps. I am able to link it to a TFS TestCase (Associated Automation).
If I wanted to use the parameters from my linked manual TestCase here in each coded step, similar to a TestMethod() DataSource in CodedUI, how do I go about it?
This is what I intend to do:
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.TestCase", "https://x.visualstudio.com/tfs/DefaultCollection;xx", "11", DataAccessMethod.Sequential)]
[CodedStep(@"Enter text 'Telerik test studio' in 'LstIbText'")]
public void doSearch()
{
TestContext.DataRow...
..}
It doesnt seem to work and throws object reference not found. Furthermore, the CodedStep disappears from .tstest. I added a TestMethod() attribute there and tried as well. But I know it's incorrect.
How do I drive the parameter data from an associated TFS TestCase? Or any insight on any alternate approach to get this parameter data?
thanks