Forum Discussion

katja_guseva's avatar
katja_guseva
New Contributor
10 years ago

TestComplete instances during run from MTM

Hello Everyone!

 

I have a set of test cases in MTM that were associated with TestComplete scripts (mapping: 1 test case = 1 script). During scripts execution TestComplete is re-opened for each test. Is there any way to run tests in one TestComplete instance without reopening?

 

Thanks in advance!

3 Replies

  • Hi Katja,

     

    Sounds that you need to configure your TestComplete project that will run all your tests in one run. You can do this by adding several test items to your project.

    • katja_guseva's avatar
      katja_guseva
      New Contributor

      Hi Tanya,

       

      Yes, we have such project items (1 project item = 1 script = 1 test case). In addition, we created a project with set of tc11test files to associate the tests to MTM test cases.

      • Colin_McCrae's avatar
        Colin_McCrae
        Community Hero

        I did it the other way round.

         

        I have MTM/TFS refs in my tests. And then built myself a set of script extensions which use the MTM/TFS API to update the results of tests accordingly.

         

        (The MTM/TFS API is pretty horrible. And still buggy. Updating runs - which is how it should be done - does not fully work. So I have that part stubbed at the moment and just update and individual case within a suite on a one-by-one basis. Not how it should be used, but until MS fix the API, it's my only option really.)

         

        Auth tokens, URLs, project/suite/test ID are all specified as parameters at the start of, and during, the test run. As some things - like the project and auth token, only need updated once at the start of the run. Suites and cases can be constantly updated as TC runs through the suite.

         

        Seems to work well enough so far. And can be switched off completely if I want to run outside MTM/TFS or on something we don't have in MTM/TFS.