本地安装UFT插件到Chrome

来源:互联网 发布:燕十八的php讲的怎么样 编辑:程序博客网 时间:2024/06/06 06:54
How to manually install the Web Add-in Agent for Google Chrome browser?
Solution
  1. Remove existing agent on Chrome (if any).
  2. Locate CRX.
  3. (Old versions) Extract CRX.
  4. Install CRX on Chrome.
  5. Confirm Agent installation.
    1. Clicking the “Add” button in the “Confirm New Extension” dialog.
      image text
    2. Unified Functional Testing Agent extension should be visible from in the Chrome Extensions list (chrome://extensions/).
      image text

      Note: If you encounter any popup (either related to the extension or Developer Mode) after starting Chrome, make sure you click on Cancel(or you can simply ignore it). Do NOT click on Disable.

  6. Restart Chrome (This step is very important!).

Remove existing agent on Chrome (if any)

  1. Start Chrome
  2. Access the Extensions listing:
  3. Navigate to the URL: chrome://extensions

    Or...

  4. Go to Chrome menu (ALT+F) > Tools > Extensions.

  5. Remove any present QuickTest Professional (QTP) / Unified Functional Testing (UFT) Agent extension (click the gargabe icon).
    image text

  6. Restart Chrome.
  7. Ensure Agent is not listed under "Extensions".

Locate CRX.

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

QTP/UFT

Version

Chrome Versions

Path

QTP11.00Supported versionsOffline: <QTP>\bin\Chrome\Agent.CRXUFT11.50 - 
11.53 P 2
Supported versionsOffline: <UFT>\bin\Chrome\Agent.CRXUFT12.00Supported versionsOffline: <UFT>\bin\Chrome\Agent.CRXUFT

11.53 P 2.1 (*)
11.53 P 3+

31 and later

Offline: <UFT>\bin\Chrome\Agent.CRX
Online: 
gigfohmibpfkgmbngbmjacnmjkheedlb

UFT12.01+31 and laterOffline: <UFT>\bin\Chrome\Agent.CRX
Online: 
jjkpkaoeaicepkfjgeeopfcfpdgblbdcUFT

11.53 P 2.1 (*)
11.53 P 3+

30 and earlier

Offline: <UFT>\bin\Chrome\AgentLegacy.CRX

UFT12.01+30 and earlier

Offline: <UFT>\bin\Chrome\AgentLegacy.CRX 

Notes:

  • The "P" on UFT 11.53 P 2 represents "Patch".
  • UFT 11.53 Patch 2.1 is UFT 11.50 + UFT_00044 + UFT_00068 + UFTWEB_0001.
  • The "+" sign, represents core/patch versions afterwards, if any.
  • "Online"/"Offline" terms, represent if Chrome machine has access to Google Store or not.

Extract CRX

  • UFT 11.53 Patch 2 + Browser Cert Patch, UFT 11.53 Patch 3, UFT 12.01 and later, with Chrome 31 and later

    This is already extracted under <UFT>\bin\Chrome\Extension.

  • QTP11, UFT 11.50 - 11.53 Patch 2 and UFT 12.00, with its supported Chrome version
    1. 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).

    2. Extract Agent.zip to a folder called "Agent". Note: If any error while extracting, use 3rd party agents such as 7zip, WinRar or WinZip.

    3. Verify that the above steps ran correctly.

    4. Your <UFT>\bin\Chrome folder should now look like:
      image text 

    5. The folder <UFT_INSTALLATION_FOLDER>\bin\Chrome should include the following file/directory:
      • Agent [Directory].
      • Manifest.json.

Install CRX on Chrome

Use either of below methods, according to respective QTP/UFT/Chrome versions:

QTP/UFT

Chrome Versions

Install method

QTP11
UFT 11.50 - 11.53 Patch 2
UFT 12.00
All supported versionsMethod CUFT 11.53 P 2.1, P 3+
UFT 12.01+
31 and later

Method A, B, C

UFT 11.53 P 2.1, P 3+
UFT 12.01+
30 and earlier

Method B

Methods:

  1. Google Store:
    1. Access\Navigate to Google Store source link (see "Online" path for respective UFT/Chrome version).
    2. Click "Free" (or "Install") option on upper right corner of displayed screen.

  2. Drag & Drop CRX.
    1. Drag respective Agent.CRX file (see "Locate CRX" section above).
    2. Navigate to the URL: chrome://extensions.
    3. Drop dragged CRX on Chrome Extension page.

  3. Load unpacked extension.
    1. Navigate to the URL: chrome://extensions.
    2. Enable Developer Mode by checking the “Developer Mode” option in the Extensions page.
      image text
    3. Click on the “Load unpacked extension” button.
      image text 

    4. In the “Browse For Folder” dialog, select desired folder according to steps from "Extract CRX" section (see above).

      For example: <UFT>\bin\Chrome\Agent
      image text
0 1
原创粉丝点击