Chrome Patches for TestComplete 9 - Installation Notes

The patch is a .zip archive that contains several files. These files provide support for Chrome version 27.
Support for this version was not included in TestComplete version 9.20.2460 and it is provided as a patch now.

Archive Structure

The archive contains the following files:

Installing the Patch

To install the patch, follow these steps:

  1. Unpack the files from the archive to a temporary folder.

  2. Important: Close TestComplete if it is running, and close Chrome if it is running.

  3. Create a back up copy of the files mentioned in the Archive Structure section.

    To back up the files:

  4. Replace the tcCrHook.dll file in the <TestComplete 9>\Bin\Extensions folder with the tcCrHook.dll file from the temporary folder.

  5. Replace the tcCrExtension.crx file in the following folder —

    On 32-bit operating systems:

    <Program Files>\Common Files\SmartBear\tcCrExtension\ijajcplmpbdhakdpgldhohngcenbgcep\

    On 64-bit operating systems:

    <Program Files (x86)>\Common Files\SmartBear\tcCrExtension\ijajcplmpbdhakdpgldhohngcenbgcep\

    — with the tcCrExtension.crx file from the temporary folder.

  6. If the following folder exists —

    %USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions\ijajcplmpbdhakdpgldhohngcenbgcep\9.20.2460_0\

    — then replace the contentscript.js and tabsUtils.js files from it with the contentscript.js and tabsUtils.js files from the temporary folder.

    Note: If there are several users under whose accounts Chrome is launched on the machine during the testing, the above-mentioned operation should be performed for each user.

Enabling the TestComplete Chrome Extension

By default, Chrome ver. 25 and later disables all third-party extensions. This is done to reduce the number of extensions that affect Chrome’s functionality and performance.

Since TestComplete interacts with Google Chrome via the TestComplete Chrome Extension, the latter is disabled as well. So, in order to perform web testing in Chrome ver. 25 and later, you need to enable the TestComplete Chrome Extension manually.

To enable the extension:

  1. Launch Chrome.
  2. Select Tools | Extensions in Chrome’s main menu, or navigate to the chrome://chrome/extensions/ page.
  3. Locate SmartBear TestComplete Extension in the list and click the Enable check box.

You need to enable the extension only once, after the extension has been installed. After you do this, you can run TestComplete and test web pages displayed in Chrome ver. 27.

Note: If your testing environement is deployed automatically, enabling the extension manually is not an acceptable option. In this case, you can add the TestComplete Chrome Extension to the list of force-installed Chrome extensions. Read about the workaround and its limitations.

If You Use Earlier Patches …

The present patch is cumulative. It contains features that were available in earlier TestComplete patches for Chrome.

You can install the patch over earlier patches (you can simply overwrite the files). The functionality provided by the earlier patch installed on your computer will still be available.

Restoring Chrome Support Modules

To restore the Chrome modules that are provided by the original TestComplete installation, re-install TestComplete or replace the copied files with their backup copies.


© 2013 SmartBear Software. All rights reserved.