From version 14.4, you can use TestComplete to create cross-platform web tests. Tests can be created in a local browser such as Chrome, Firefox, Edge, or Internet Explorer and then run in a wide range of web browsers and platforms (such as Safari, Linux, Unix, macOS, mobile Android and iOS) in a remote device cloud or a local Selenium Grid.
Creating cross-platform web tests
You create cross-platform web tests on a local computer where TestComplete is installed. For detailed information, please see the TestComplete documentation.
Running cross-platform web tests
When you run a cross-platform web test, the test engine will connect to the Device Cloud (CrossBrowserTesting) or your local Selenium Grid, command it to launch the needed web browsers, execute test commands there and then collects test results.
Requirements
-
An active license for one of the following:
- For sequential test runs - Device Cloud.
- For parallel test runs - Device Cloud Parallel.
-
To run tests in various browsers and on various devices, you must have Selenium Grid that manages them. It can be:
-
SmartBear device cloud solution — CrossBrowserTesting.com.
-
A private hub with Selenium Grid configured on your local computer or on a remote computer in your network. To learn more about installing and configuring Selenium Grid, see selenium.dev.
-
-
Your Selenium Grid must be accessible from the computer where TestExecute is installed.
Sequential test runs
When a test is being executed, an entire user session is taken over to simulate actions over UI elements. As a result, only one test can run at a given point in time. If your test suite has multiple tests, they run sequentially, one after the other.
You run the cross-platform web tests the same way you run any other test created with TestComplete. You can do it:
-
Manually, from the TestExecute context menu.
-
Automatically, by using the TestExecute command line or by using any suitable third-party task management or scheduling tool.
Parallel test runs
Running your tests in parallel, however, reduces the overall testing time and resource cost. To run tests in parallel, you can use a test runner tool for TestComplete tests that allows several instances of it to run on a workstation at the same time. The tool does not require a user session to be open.
Currently, running tests in parallel from the GUI is not supported. You manage the test runs as follows:
-
From TestComplete by using the
Parallel
runtime object. -
By using its command line.
-
From your CI/CD system, for example, Jenkins or Azure DevOps.
To learn more about parallel test runs, see:
Running Cross-Platform Web Tests in Parallel
Try for free
If you are interested in trying running tests in parallel, download the installer and start a free trial on our website: