Access Web Applications Behind a Firewall

Applies to TestComplete 14.80, last modified on April 13, 2021

When you run a cross-platform web test, TestComplete connects to your Selenium Grid and executes test instructions in specified remote environments. Those environments must have access to your tested web application or website. If your tested web application or website is not available publicly, that is, if it is in your local network or on your local computer, behind a firewall, you have to make it available to those remote environments.

If you use SmartBear Device Cloud to run your cross-platform web tests, you can use a secure tunnel — an encrypted connection between your tested web application location and the device cloud. The SmartBear Device Cloud service will re-route traffic to your tested web application through your computer (from which the test is run).

To make your tested web application available from testing environments, configure your TestComplete project to open a secure tunnel:

The tunnel settings are project-wise. They affect all cross-platform web tests in your project. A secure tunnel you configure in one test, will be used in all other cross-platform web tests that belong to the same project.

  1. Select Tools > Current Project Properties from the TestComplete main menu and then navigate to the Open Applications > Web Testing > CrossBrowserTesting page.

    – or –

    In a keyword test, when configuring the Run Remote Browser operation, click Select another location.

    – or –

    In a script test, open the the Generate Run Code dialog and click Select another location.

  2. On the CrossBrowserTesting page or in the resulting Choose Your Web Application Location dialog, in the The tested application is available drop-down list, select one of the following:

    • Everywhere - Your tested web application is available publicly from any location. No tunnel configuration is required.

    • In a local network - Your tested web application resides in your local network behind a firewall. Select this option to open a secure tunnel between your local network and SmartBear Device Cloud.

    • On a local computer - Your tested web application resides on your local computer. Select this option to open a secure tunnel between your local computer and SmartBear Device Cloud.

      • Tested application directory - Specifies the path to the folder on your local computer where your tested web pages are located. You can enter the path manually or you can click the ellipsis button and browse for the folder in the resulting Browse for Folder dialog.

    • Via proxy - Select this option to command TestComplete to route traffic to your tested web application through a remote proxy server. You may need this to simulate requests sent to your tested web application from a remote location.

      • Proxy server IP address and Proxy server port - Specify the public IP address and port of the remote proxy server you want to use.

      • Proxy server login and Proxy server password - Specify the username and password you use to access the proxy server you want to use.

See Also

How To
About Cross-Platform Web Tests

Highlight search results