Integrating TestComplete With Azure DevOps and Team Foundation Server - Key Points

Applies to TestComplete 14.60, last modified on April 22, 2021
This approach to running TestComplete tests with Azure DevOps or Team Foundation Server is obsolete. We do not recommend using it. Starting from version 14.20, to integrate your TestComplete tests into build and release processes you can use the new integration provided by the TestComplete test adapter. To learn more, see Integration With Azure DevOps and Team Foundation Server.

When integrating TestComplete tests into your build and release pipelines managed via Azure DevOps Services (formerly known as VSTS) or Azure DevOps Server or Team Foundation Server, pay attention to the following:

  • When preparing a TestComplete project suite for integration:

    • Store your TestComplete projects in a source control or share the folder that contains your project files.

    • Make sure that TestComplete can access all files required to run tests on the computer where tests will run (a build computer or your lab environment): project files, tested application, files that store input data for data-driven tests and so on.

  • When creating a Visual Studio test project:

    • Make sure that the path to the TestComplete project file that the TestComplete Test Item stores remains valid after the Visual Studio test project is placed in the build drop folder or test agent working folder.

    • In Visual Studio 2010, create a special test list and add the needed TestComplete tests to that list.

    • Add your Visual Studio test project to a source control.

  • When creating team builds, build definitions or pipelines:

    • Use steps or tasks that run Visual Studio tests to run your Visual Studio test project that includes your TestComplete tests. Specify the test list containing the needed tests or .tctest files to run TestComplete tests.

    • Make sure that your build agent or test agents are running as an interactive process (not as a Windows service) so that TestComplete can interact with the desktop and with the tested application UI.

  • When configuring a test plan:

    • Link your TestComplete tests with a test case in your team project.

    • Associate the build or release containing TestComplete tests with your test plan.

  • When deploying reports:

    • Create a Report Server project and specify the appropriate connection parameters for it.

    • The TargetReportFolder property of the created report project must specify the team project name.

    • The TargetServerURL property of the created report project must hold the string http://<your_server_name>/ReportServer, for instance, http://tfs-server/ReportServer.

See Also

(Obsolete) Integration With Azure DevOps and Team Foundation Server via TCTest Item

Highlight search results