Tuesday 29 December 2015

Making HP UFT/QTP compatible with Chrome - Manually installing UFT add-on over Chrome browser



First and foremost  step we have to follow to make UFT compatible with Chrome is to check Browser support matrix. Please refer the link to check compatibility Link

Sometimes though Chrome version falls in support matrix list, UFT couldn't identify objects. 
There could be 2 reasons. 
1. Any left over UFT Add-ons available from previous versions
2.UFT installation not done properly and hence no UFT add-on installed on Chrome browser.
In both cases below solution works. Please refer this.

The steps to manually install Web Add-in Agent for Chrome are:
  
  1. Locate the Agent.crx to install.

    Note: If installing default version offered by presently installed QuickTest Professional (QTP) / Unified Functional Testing (UFT), search under <QTP/UFT>\bin\Chrome

    For Example: C:\Program Files (x86)\HP\Unified Functional Testing\bin\Chrome 
  2. Create a copy of the Agent.crx file you see in the above folder and rename the copied file extension to Agent.zip (Keep the copied file in the same folder as the Agent.crx file) 
  3. Extract Agent.zip to a folder called Agent 
  4. Verify that the above steps ran correctly 
    1. Your <UFT_INSTALLATION_FOLDER>\bin\Chrome folder should now look like:
       
    2. The folder <UFT_INSTALLATION_FOLDER>\bin\Chrome\Agent should include the following file/directory:
      1. Agent [Directory]
      2. Manifest.json 
  5. Start Chrome
  6. Access the Extensions listing:
    1. Navigate to the URL: chrome://extensions

      Or...
    2. Go to Chrome menu (ALT+F) > Tools > Extensions 
  7. (Important) If there is already a present QuickTest Professional (QTP) / Unified Functional Testing (UFT) Agent extension remove it
    Restart Chrome
  8. Ensure Agent is not listed under "Extensions"
  9. Enable Developer Mode by checking the “Developer Mode” option in the Extensions page
  10. Click on the “Load unpacked extension” button. 
  11. In the “Browse For Folder” dialog, select the folder <UFT_INSTALLATION_FOLDER>\bin\Chrome\Agent (same folder that was created in Step 3)  
  12. Confirm the new extension by clicking the “Add” button in the “Confirm New Extension” dialog
  13. You should now see the Unified Functional Testing Agent extension in the Chrome Extensions list
     
  14. Restart Chrome (This step is very important!)
Note: If you encounter a popup after starting Chrome, make sure you click on Cancel (or you can simply ignore it). Do NOT click on Disable.

3 comments:

  1. just linked this article on my Facebook account. it’s a very interesting article for all.

    123 HP Wireless

    ReplyDelete

  2. It is really very helpful for us and I have gathered some important information from this blog.

    123.hp.com

    ReplyDelete
  3. I have done exactly as you mentioned, but its not working. Extension is installed but not opening(working)

    ReplyDelete