Enabling Extensions for Embedded Browser Applications that Use the Classic Agent

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

To test an embedded browser application, enable the Web browser as the primary extension for the application in both the Extension Enabler and in the Silk Test Classic Extensions dialog boxes. For instance, if you are testing an application with DOM controls that are embedded within a .NET application, follow the following instructions to enable extensions.

  1. Click (in Microsoft Windows 7) Start > Programs > Silk > Silk Test > Tools > Extension Enabler or (in Microsoft Windows 10) Start > Silk > Extension Enabler.
  2. Browse to the location of the application executable.
  3. Select the executable file and then click Open.
  4. Click OK.
  5. From the Primary Extension list box, select the DOM extension for the application that you added.
  6. Enable other extensions, such as Java, ActiveX, Accessibility, and .NET, as appropriate. For example, to test a .NET application with embedded Web controls, select a browser in the Primary Extension list box and check the .NET check box for the application within the grid.
  7. Click OK.
  8. Start Silk Test Classic and then choose Options > Extensions. The Extensions dialog box opens.
  9. Click New.
  10. Browse to the location of the application executable.
  11. Select the executable file and then click Open.
  12. Click OK.
  13. From the Primary Extension list box, select the DOM extension for the application that you added.
  14. Enable other extensions, such as Java, ActiveX, Accessibility, and .NET, as appropriate. For example, to test a .NET application with embedded Web controls, select a browser in the Primary Extension list box and check the .NET check box for the application within the grid.
  15. Click OK.
  16. Restart Silk Test Classic.
Note: The IE DOM extension may not detect changes to a web page that occur when JavaScript replaces a set of elements with another set of elements without changing the total number of elements. To force the DOM extension to detect changes in this situation, call the FlushCache() method on the top-level browserchild for the embedded browser. This problem might occur more often for embedded browsers than for browser pages, because Silk Test Classic is not notified of as many browser events for embedded browsers. Also call FlushCache() if you get a Coordinate out of bounds exception when calling a method, for example Click(), on an object that previously had been scrolled into view. The BrowserPage window identifier is not valid when using embedded browsers because the default browser type is '(none)' (NULL).