Specifying Bamboo Agents to Run TestComplete Tests

Applies to TestComplete 15.65, last modified on July 17, 2024

To run TestComplete tests on your Bamboo agents, you must have TestComplete (or TestExecute) installed on those agents. If you have multiple agents, specify requirements for your jobs to run your TestComplete tests on the needed agents:

1. Define Custom Capabilities for Your Agents

For Bamboo agents that have TestComplete (TestExecute) installed, add a custom capability that will specify that those agents can run TestComplete tests:

  1. In Bamboo, click and then click Overview:

    Running TestComplete tests from Bamboo: Configuing Bamboo agents
  2. Click Build Resources > Agents in the tree list on the left.

  3. To add a custom capability to a local agent, click Build Resources > Server Capabilities in the list on the left.

    To add a custom capability to remote agents, click Remote Agents, and then click Shared Remote Capabilities.

  4. Scroll the capability list to the Add Capability section at the bottom and create a custom capability that will specify whether TestComplete (or TestExecute) is installed on the agent:

    In the Add capability section, select Custom from the Capability type drop-down list.

    In the Key and Value text boxes, enter the needed capability key and value.

    Running TestComplete tests from Bamboo: Creating custom capabilities

    Click Add to add the capability.

2. Add Requirements for Jobs That Run TestComplete Tests

Configure your jobs that execute TestComplete tests to run only on agents that have TestComplete (TestExecute) installed:

  1. In Bamboo, click Build > All build plans.

  2. Select your build plan and click Configure plan.

  3. Switch to the Stages tabbed page of your plan and click the job that you want to run your TestComplete tests.

  4. Switch to the Requirements page of the job.

  5. In the Required capability drop-down list, select your created custom capability:

    In the condition drop-down list, select the needed condition.

    Enter the needed value.

    Running TestComplete tests from Bamboo: Required Capabilities

    Click Add.

See Also

Integration With Bamboo

Highlight search results