Documentation

Looking for something in particular?

Test Builder Not Working Correctly

If you’ve recently installed Provar and are having trouble using the Test Builder (e.g., after right-clicking on objects, the Add to Test Case option doesn’t display), it can be related to a Chrome browser compatibility issue.

You can quickly check to see if your Chrome Extension is causing the issue by looking at the top right-hand corner of your Chrome browser. If you don’t see a small Provar icon (which indicates that you have the Provar extension working correctly), you can take the steps below to fix this issue.

This issue occurs more commonly in work environments with advanced network security restrictions. To fix this issue, you must manually download the most up-to-date version of the Provar extension. Here’s how!

Before starting, double check that the Provar Chrome extension has been white-listed.

You may need to contact your system administrator for assistance.

How Do I Get the Extension ID?

Please see the Chrome web store link for the Provar release to get the Extension ID. This link is available against the relevant Provar release in the Provar Success Portal. The Extension ID is a 32-character string at the end of the Chrome web store link.

Above: View of the Extension ID in the Chrome web store link of a Provar release.

Option 1

Load from Chrome Store

1. Exit the Provar desktop application:
Ensure that no Chrome drivers are running on your machine. To verify, open the Task Manager/Activity Monitor and end tasks associated with chromedriver.exe.

2. Delete the Provar extension from all Chrome browsers on your local machine:
You can do this by opening Chrome, clicking the “more” icon in the upper-right (three vertical dots), clicking More Tools, Extensions, and then selecting Remove.

3. Navigate to the Provar Installation Folder:
Open provar.ini file in a text editor with administrator privileges.
Add this line to the end of the provar.ini file in the Provar installation directory:

-Dcom.provar.tooling.chrome.extensionId=ahcaopmmbcfojipcghpceejhghaepadp

You can skip step-3 if you don’t have administrator privileges.

4. Go to your Provar Workspace folder:
This is usually located at %USER_HOME%/Provar/Workspaces/
Delete .chromeProfiles folder from this directory (may require admin privileges). You’ll need this folder again, so leave it open.

5. Launch Provar Automation:
Run any test case with Test Builder.

6. Open a new tab in Chrome:
Add the latest Provar extension in the browser. You can download this from the Chrome Web Store link for the Provar release, which can be found in the Provar Success Portal.

Stop the session from Test Builder.

7. Return to the Workspace/.chromeProfiles folder:
Go back to the folder from step 4.
Copy the profile0 folder and paste it into this folder. Repeat this to have a minimum of 5 additional profile folders and override each profile folder with profile0 by renaming the copies (profile1, profile2, etc).

8. Relaunch Provar:
Open this same workspace/project. Run any test case using Test Builder, and you should see the Provar extension icon at the top right of the Chrome browser. Right clicking on any page elements should provide an option to Add to Test Case.

Option 2

Load from Provar Installation Directory

1. Exit the Provar desktop application:
Ensure that no Chrome drivers are running on your machine. To verify, open the Task Manager/Activity Monitor and end tasks associated with chromedriver.exe.

2. Delete the Provar extension from all Chrome browsers on your local machine:
You can do this by opening Chrome, clicking the “more” icon in the upper-right (three vertical dots), clicking More Tools, Extensions, and then selecting Remove.

3. Navigate to the Provar Installation Folder:
Open provar.ini file in a text editor with administrator privileges.
Add this line to the end of the provar.ini file in the Provar installation directory where the Extension ID matches the value mentioned above.

-Dcom.provar.tooling.chrome.extensionId=ahcaopmmbcfojipcghpceejhghaepadp

You can skip step-3 if you don’t have administrator privileges.

4. Go to your Provar Workspace folder:
This is usually located at %USER_HOME%/Provar/<Workspace_name>/
Delete .chromeProfiles folder from this directory (may require admin privileges). You’ll need this folder again, so leave it open.

5. Launch Provar Automation:
Trigger Chrome launch via Test Builder with any Provar test case and wait for the browser window to open.

6. Access Chrome Extensions Page:
In the opened Chrome browser, go to: chrome://extensions/

7. Enable Developer Mode:
Toggle the Developer mode switch in the top-right corner.

8. Load Unpacked Extension:
Click the “Load unpacked” button.

9. Select Extension Folder:
In the file dialog, navigate to the plugin path in your installation folder,
\provar\plugins\com.provar.chrome.seleniumExtension_*\target\build\app\ where the * is the version number.
Click “Select Folder” (choose the app folder directly). The extension should now be installed.

Stop your Test Builder session.

10. Re-run Your Test Case:
Re-execute the test case.
If a Chrome alert appears (e.g., “Load of unpacked extension is disabled by your Administrator”), click “OK” to continue.


Feedback

Was this article helpful for you?

1 people found this article helpful.

Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top