Failed to load the extension in Google Chrome while recording
When you select the Chrome browser to record a Web UI test in HCL DevOps Test Hub (Test Hub), you might get the Failed to load extension message.
Resolution
You must install the DevOps Test browser extension for Chrome that is available on the Chrome Web Store at DevOps Test Chrome extension.
- Variable name: DEVOPS_TEST_CHROME_PROFILE_NAME
- Variable value: <profile_name>
- Open Google Chrome.
- Switch to the Chrome profile for which you want to add the extension by clicking the
profile on the toolbar. On a Mac system, you must run the following command
to create a new temporary profile by cloning the existing profile:
- mkdir -p "$HOME/Library/Application Support/devops-test-runtime/chrome-temp-profile" && cp -R "$HOME/Library/Application Support/Google/Chrome/Default" "$HOME/Library/Application Support/devops-test-runtime/chrome-temp-profile/"
And then open Chrome with the cloned profile.
- Go to the Chrome
Web
Store.
The extensions page is displayed.
- Click Add to Chrome.
The Add "DevOps Test"? dialog is displayed.
- Click Add extension.
A confirmation message is displayed.
- Close all the Chrome browsers.
Additionally, you can check and terminate any active browser processes in the background.
- Open Test Hub in the Edge or Firefox browser.
- Record a test by choosing the Chrome browser from the Browser drop-down list.