Enabling Extensions for HTML Applications (HTAs)

This functionality is supported only if you are using the Classic Agent.

You must enable extensions on the host and target machines manually in order to use HTML applications (HTAs).

Before you begin, create a project that uses the Classic Agent.

  1. Click Options > Extensions to open the Extensions dialog box.
  2. Click New to open the Extension Application dialog box.
  3. Click  to navigate to the location of the .hta file that you want to enable. If the file name contains spaces, be sure to enclose the name in quotation marks.
  4. Select the .hta file and then click Open.
  5. Click OK.
  6. In the Primary Extension column next to the .hta application that you just enabled, select Internet Explorer.
  7. Click OK.
  8. Click (in Microsoft Windows 7) Start > Programs > Silk > Silk Test > Tools > Extension Enabler or (in Microsoft Windows 10) Start > Silk > Extension Enabler. (Or use the command line to launch "C:\Progam Files\Silk\SilkTest\Tools\extinst.exe".)
  9. On the Extension Enabler dialog box, click New to open the  Extension Application dialog box.
  10. Click  to navigate to the location of the .hta file that you want to enable. If the file name contains spaces, be sure to enclose the name in quotation marks.
  11. Select the .hta file and then click Open.
  12. Click OK.
  13. In the Primary Extension column next to the .hta application that you just enabled, select Internet Explorer.
  14. Click OK.