1. Open the CrossBrowserTesting Manager
In your project, locate the CrossBrowserTesting node and double-click it. This is where you connect to the CrossBrowserTesting cloud and control test runs in environments:
Note: | If the node is not present in your project, make sure you use TestComplete version 12.2 or later, and the Web plugins are enabled in TestComplete. |
The Tests section of the manager (on the left) contains tests and test items to be run in CrossBrowserTesting environments.
In the Environments section of the manager (on the right), you specify environments where the tests will run.
2. Add a Test to the CrossBrowserTesting Manager
Let’s add a test to the CrossBrowserTesting manager:
-
In the CrossBrowserTesting manager, click Add Test on the toolbar.
-
In the resulting dialog, select Keyword Tests in Test Categories on the left. Then, select the check box next to SimpleTest_Sample in Available Tests on the right.
-
Click OK to confirm the selection and close the dialog.
3. Assign Environments to the Test
Let's add several environments in which the assigned test will run. For example, the following environments:
Operating System | Web Browser | Screen Resolution |
---|---|---|
Windows 7 | The latest supported version of Google Chrome | 1920 × 1080 |
Windows 7 | The latest supported version of Mozilla Firefox | 1600 × 1200 |
To add an environment:
-
Select the added test in the Tests section of the manager.
-
Specify the environment you want to add by selecting the appropriate values from the drop-down lists:
-
Click Add to add the specified environment to the list.
Repeat the steps to add other environments to the list:
The CrossBrowserTesting manager now specifies a test and environments assigned to it.
Now we will show how to connect to CrossBrowserTesting.com to run the test in the environments.
See Also
Running Tests in CrossBrowserTesting Environments - Tutorial
Integration With CrossBrowserTesting.com