Integration With Microsoft Visual Studio

Applies to TestComplete 12.60, last modified on September 17, 2018

Microsoft Visual Studio includes tools and technologies for all members of software development teams: project architects, developers, managers and, of course, testers. TestComplete can integrate with these tools giving your Quality Assurance team the ability to:

  • Run unit tests created with Visual Studio as part of your TestComplete projects:

    Run Visual Studio unit tests from TestComplete

    Click the image to enlarge it.

  • Run TestComplete tests directly from your MSBuild projects:

    XML

    <!-- File: MSBUILD.proj -->

    <Project DefaultTargets="Build"
      xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     
      <!-- Declares the task type that will run TestComplete projects--> 
      <UsingTask TaskName="TC12.ExecuteSolution" AssemblyName= "MSBuildTC12Task, Version=1.1.0.0,
    Culture=neutral, PublicKeyToken=e33f56e68d0f845e"/>

     …

    </Project>

  • Integrate TestComplete tests into your Visual Studio test projects and include them in your application's lifecycle managed by Visual Studio and Team Foundation tools:

    Integrate TestComplete tests into Visual Studio test projects

    Click the image to enlarge it.

    • Run TestComplete tests locally in Visual Studio.

    • Run TestComplete tests remotely in Visual Studio by using test controllers and test agents.

    • Plan and manage your TestComplete tests by using test cases and test plans.

    • Run TestComplete tests as part of your Build & Release pipeline.

In other words, you can mix tests created in both products and make your testing flexible and powerful.

Supported Visual Studio Versions

TestComplete 12 can integrate with the following versions of Microsoft Visual Studio:

  • Microsoft Visual Studio 2015–2017 (Community, Enterprise and Professional editions).

  • Microsoft Visual Studio 2013 (Community, Ultimate, Premium, and Professional editions).

  • Microsoft Visual Studio 2010–2012 (Ultimate, Premium, and Professional editions).

Note for Windows 10, Windows 8, Windows 8.1 and Windows Server 2012 users: Currently, TestComplete needs specific preparations to be able to work via COM on Windows 10, Windows 8, Windows 8.1 and Windows Server 2012. Since Visual Studio integration uses TestComplete COM interfaces, you may need to change the privileges of your application or TestComplete in order to be able to run tests. For detailed information on the needed preparations, see the Configuring Manifests on Windows 8 and Later Operating Systems topic of the Working With TestComplete via COM section.

Supported Team Foundation Server Versions

You can run TestComplete tests as part of your build & release pipeline if you use the following Team Foundation Server versions:

  • Team Foundation Server 2010–2018.

  • Team Services.

    Use private agents to run TestComplete tests.

In This Section

Running Visual Studio Unit Tests From TestComplete

Describes how you can run Visual Studio unit tests from TestComplete projects.

Running TestComplete Tests From MSBuild Projects

Explains how to integrate TestComplete projects into MSBuild projects.

Integration With Visual Studio Application Lifecycle Management

Contains information on how to include TestComplete tests in your application's lifecycle managed by Visual Studio and Team Foundation tools.

See Also

Working With TestComplete

Highlight search results