How to re-enable/ (install) blocked Tosca Automation Extension in Chrome
You have installed the extension for Google Chrome through a notification from Tosca Commander, through the Chrome extension store, or manually with the extension file that are provided with the Tosca Commander installation (typically found in the default path of C:\Program Files (x86)\TRICENTIS\Tosca Testsuite\Resources\ChromeExtension).
Although the installation was successful, the extension gets disabled everytime you open the browser.
You have tried all sorts of ways to interact with the slider to enable the Tosca Chrome Extension, but nothing works. You need to install this extension, but either your machine cannot connect to the internet or has restrictions that would prevent you from installing the extension through conventional methods.
Google Chrome by default has started preventing users from installing extensions from any other place except the official Chrome Web Store. The primary reason why Google made these changes is security: they want to protect their users from potentially malicious extensions that were installed manually outside of the Web Store.
Despite our extension existing in the Chrome Store, Google Chrome still identifies our extension as potentially unsafe and blocks it.
There is a workaround to installing the Tosca Chrome Extension manually and without the need to connect online. Follow the steps below to install the Chrome Extension manually:
Precondition 1: You are using a Google Account in Chrome, where your data will be synchronized regularly. If so, please deactivate the option "Synchronize all" and ensure that the Tosca Chrome Extension will not be synchronized:
- Open Chrome.
- At the top right, click "..." and then “Settings”.
- At the top, under "People," click “Sync”
- Turn off our extension from sync
Precondition 2: Remove the disabled Tosca Chrome Extension if it is still listed in your list of extensions.
- Open the Google Chrome browser and type the following in the address bar: chrome://extensions
- Look for the Tosca Chrome Extension and remove it by clicking on "Remove".
- Open the Windows File Explorer and navigate to the location where the Tosca Chrome Extension files are provided with the Tosca Commander installation. By default this path should be C:\Program Files (x86)\TRICENTIS\Tosca Testsuite\Resources\ChromeExtension
- Create a new folder where you have read and write permissions. This is very important as the next step will fail if you attempt to perform operations with lacking permissions.
- Extract the contents of the TOSCAChromeAutomation.crx file into the folder you created in step 2 with any application that can interact with with archives such as 7-zip or WinRAR.
- Open up Google Chrome and navigate to your extensions by using the following address: chrome://extensions
- Enable "Developer Mode".
- Select the option "Load unpacked" to install Chrome Extensions manually.
- Navigate and select the folder where you have extracted the TOSCAChromeAutomation.crx file created in step 2 and then click "OK". An example screenshot of the actions to perform are shown below:
If all the steps were performed correctly, you should be able to see that the Chrome Extension was installed and is properly enabled. Do not also forget to click on "Details" and enable the settings for "Allow access for file URLs" and "Collect errors".