Forum Discussion

gunnettmd's avatar
gunnettmd
Contributor
13 years ago

MTM, CodedUI and Test Complete

Hello All,



We are associating our manual test cases to our Test Complete scripts in Visual Studio 2012 using the Visual Studio 2012 Integration piece of Test Complete. I would like to define a parameter in the MTM testcase that would then be picked up and used by my Test Complete script. Has anyone done this? Can it be done?



I know, if I use straight CodedUI, I can retrieve parameters from a MTM test case.



Thanks!

3 Replies

  • We are currently in the process of integrating Testcomplete with Microsoft Test Manager.

    Basically, I am creating Testcomplete Scripts which call a dll that allow us to create test plans, test suites, etc.
  • 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)]