To run TestComplete tests as part of your Bamboo build plan, the following requirements must be met:
You can run TestComplete tests both on local and remote Bamboo agents.
You can run TestComplete tests on agents running as a service or as an application.
An interactive user session must be opened on agents where tests will run. Otherwise, TestComplete tests will not be able to interact with User Interface and will fail.
You can open interactive user sessions:
(If you have TestComplete 14.10 or later.) Automatically, by using the SessionCreator utility that is shipped with TestComplete and TestExecute.
Automatically, by using a third-party tool of your choice.
Manually, by logging in to the computer where your Bamboo agent is running.
TestComplete (or TestExecute) must be installed on your Bamboo agents where you will run tests.
TestComplete (or TestExecute) on your Bamboo agents must have active licenses for all modules you use in your tests.
TestComplete (TestExecute) on your Bamboo agent must have all required permissions to run tests.
TestComplete (TestExecute) on your Bamboo agent must have access to test projects to be run.
You can store your test projects to a source control. Configure your build plan to get the needed files from the repository to the needed folder on the agent.
– or –
You can store your test projects to a shared network folder.
To run tests defined in the CrossBrowserTesting manager from Bamboo, the additional requirements must be met:
This approach to running tests in CrossBrowserTesting environments is obsolete starting with TestComplete 14.40. We recommend using the Device Cloud add-on instead. See About Cross-Platform Web Tests for details.
TestComplete must be installed on your Bamboo agents. TestExecute cannot run tests defined in the CrossBrowserTesting manager.
The TestComplete version must be 12.20 or later.
TestComplete on your Bamboo agents must have an active license for the TestComplete Web module.
You must have an active CrossBrowserTesting account.
On your Bamboo agents, provide valid account information for TestComplete to connect to the CrossBrowserTesting cloud.
Log in to your Bamboo agents using the Windows user account under which the tests will be run.
|TestComplete associates the CrossBrowserTesting account with your Windows account. So, it is important that you log in to your Bamboo agents, set the CrossBrowserTesting account in TestComplete, and run the tests later under the same Windows account.|
Open any project suite or create a new one.
In the Project Explorer, locate the CrossBrowserTesting item. Double-click it to open.
Click Sign In or Free Trial and then click Sign In to open the Sign In to Your Account dialog.
In the dialog, enter your CrossBrowserTesting account credentials.
TestComplete will save the credentials and will use them for all project suites you will run under your current Windows account.
To learn more, see Connecting to CrossBrowserTesting.com From TestComplete.