RunCrossBrowserTesting Method

Applies to TestComplete 14.60, last modified on April 22, 2021
This method is obsolete. See the Remarks section below.

Description

Use the RunCrossBrowserTesting method to run tests assigned to CrossBrowserTesting environments in your project suite. The method does not pause the program execution until the execution of all enabled tests in all enabled environments in your project suite is over. The method returns immediately after the test run starts. If the method cannot initiate the test run, an error occurs. You can handle it using the means of the scripting language you use (see Handling Exceptions in Scripts).

Declaration

IntegrationObj.RunCrossBrowserTesting()

IntegrationObj An expression, variable or parameter that specifies a reference to an Integration object
Result None

Applies To

The method is applied to the following object:

Result Value

None.

Remarks

Running tests in Windows-based environments provided by CrossBrowserTesting.com by using the CrossBrowserTesting manager in TestComplete is obsolete. Starting from TestComplete version 14.40 and by using the Device Cloud add-on, you can create cross-platform web tests and run them in all environments that CrossBrowserTesting.com provides (including headless environments and those that are not supported by TestComplete directly, like Mac OS). To learn how to do it, see About Cross-Platform Web Tests.

TestComplete must have access to CrossBrowserTesting. See Connecting to CrossBrowserTesting.com From TestComplete.

Your TestComplete project suite must have CrossBrowserTesting environments configured and tests assigned to them. See Running Tests in CrossBrowserTesting Environments.

Call this method only if TestComplete is not running any tests. Else, an error will occur. To check whether TestComplete is running tests, use the IsRunning property.

The RunCrossBrowserTesting method returns immediately after the test run has started or if it has failed to start. The method does not pause the program execution until the test run is over. To wait until the test run finishes, you can call the IsRunning property in a loop. See Working With TestComplete via COM - Overview for more information.

See Also

Working With TestComplete via COM - Overview
Integration With CrossBrowserTesting.com
Halt Method
Stop Method
GetLastResultDescription Method

Highlight search results