.NET Silverlight Add-in - Quick Reference

You can use the UFT Silverlight Add-in to test user-interface objects (controls) in Silverlight applications.

The following tables summarize basic information about the Silverlight Add-in and how it relates to some commonly-used aspects of UFT.


Add-in Type

This is a Web-based add-in. Much of its functionality is the same as other Web-based add-ins.

This add-in is installed as a sub add-in of the .NET Add-in.

Supported Environments

For details on supported Silverlight environments, see the .NET Add-insection of the Unified Functional Testing Product Availability Matrix.

Important Information

  • To work with the Silverlight Add-in, your Silverlight application must be initialized with the EnableHtmlAccess property value set to 'True'. For details, see http://msdn.microsoft.com/en-us/library/cc838264.aspx

  • Registering Microsoft sllauncher.exe. You can use the UFT Silverlight Add-in to test Silverlight out-of-browser applications. To do this you must register the Microsoft sllauncher.exe as a browser control. This executable is located in the Silverlight installation folder, for example, %ProgramFiles%\Microsoft Silverlight. You can do this using the UFT Register Browser Control Utility, which is available from Start > All Programs > HPE Software > HPEUnified Functional Testing > Tools > Register New Browser Control. or <UFT installation folder>\bin\SettingNewBrowserControlApplication.exe.

    Note: For details on accessing UFT and UFT tools and files in Windows 8.X or higher and Windows Server 2012, see Accessing UFT in Windows 8.X or Higher Operating Systems.

Test Object Methods and Properties

The Silverlight Add-in provides test objects, methods, and properties that can be used when testing objects in Silverlight applications. For details, see the Silverlight section of the UFT Object Model Reference for GUI Testing.

Extending the Silverlight Add-in

Silverlight Add-in extensibility enables you to develop support for testing third-party and custom Silverlight controls that are not supported out-of-the-box by the UFT Silverlight Add-in.

Troubleshooting and Limitations

Known Issues - Silverlight Add-in.


Opening Your Application

You must open UFT before opening your Silverlight application.

Add-in Dependencies

The Web Add-in must be loaded.


To work with the Silverlight Add-in, .NET FrameWork 3.0 or later must be installed on your computer.


Configuration Options

Use the Web pane.
(Make sure that a GUI test is open and select Tools > Options > GUI Testing tab > Web > General node.)

Record and Run Settings

Use the Web tab.

Test Settings

Use the Web pane.
(File > Settings > Web node)

Custom Active Screen Capture Settings

Use the Web section.
(Tools > Options > GUI Testing tab > Active Screen node > Custom Level)

Application Area Additional Settings

Use the Web pane.
In the application area, select Additional Settings > Web in the sidebar.