Prepare Test Agents to Run TestComplete Tests

Applies to TestComplete 14.70, last modified on April 22, 2021

Before you run your TestComplete tests as part of a build or release pipeline managed by Azure DevOps or Team Foundation Server, make sure that your test agents meet the following requirements:

Use self-hosted (private) agents to run TestComplete tests. Running TestComplete tests on Microsoft-hosted agents is not supported.
  • Make sure that your agent is running as an interactive process. Running TestComplete tests on agents running as a service is not supported.

  • An interactive user session must be opened on your test agent. You can open the session manually, or, if you use Team Foundation Server 2018 or later, you can configure your agent to run with the auto-logon enabled to open the session automatically when it starts. You enable the auto-logon when you configure your agent. To learn about configuring agents, see docs.microsoft.com/en-us/azure/devops/pipelines/agents/.

  • Your test agents must have Visual Studio or Visual Studio Test Platform installed. As an alternative, you can use the Visual Studio Test Platform installer task to install Visual Studio Test Platform on your agents during the build run or release deployment.

  • Your test agents must have TestComplete (or TestExecute) installed.

  • If your test agents are running under Windows 8–8.1, Windows 10, or Windows Server 2012, make sure that TestComplete (or TestExecute) is properly prepared and has all the necessary privileges. See Working With TestComplete via COM - Overview.

  • Make sure that your TestComplete test projects once copied to a remote agent are able to access all files required to run tests. For example, if your test reads test data from an external file, make sure that file is accessible from your test agents.

See Also

Integration With Azure DevOps and Team Foundation Server via TestComplete Test Adapter
Integration With Azure DevOps and Team Foundation Server - Requirements

Highlight search results