Open topic with navigation
The .NET Add-in Extensibility SDK provides a sample support set to help you learn about .NET Add-in Extensibility. The toolkit support set files are installed in the <UFT .NET Add-in Extensibility SDK installation folder>\samples\WinFormsExtSample folder. You can study the content of these files to gain a better understanding of how to develop your own toolkit support sets.
The sample support set extends UFT support for the SandBar custom .NET Windows Forms control. The custom server provided in this sample is similar to the one you create in Tutorial: Complex Custom .NET Windows Forms Control.
The SandbarSample.sln solution file located in the WinFormsExtSample folder includes a configuration file and a fully implemented custom server that supports the SandBar control. The SandBarCustomServer implementation is provided in C# and in Visual Basic, in separate projects within the solution (SandbarCustomServer and VBSandbarCustomServer). In addition, the SandbarSample solution includes a sample .NET Windows Forms application that uses the SandBar toolbar control (SandbarTestApp).
To learn how extensibility can affect UFT's interaction with custom controls, create and run a UFT GUI test on the sample application before and after deploying the sample toolkit support set to UFT.
To open the SandbarSample solution, use Microsoft Visual Studio 2005 or later.
Before you build the SandbarSample solution, ensure that the following items are installed on your computer:
The UFT .NET Add-in Extensibility SDK
SandBar for .NET 2.0/3.x (can be downloaded from http://www.divil.co.uk/net/download.aspx?product=2&license=5)
After successfully building the SandbarSample solution, deploy the C# or Visual Basic custom server it creates as described in Configuring and Deploying the Support Set.
Before you update the SwfConfig.xml file according to the information in Configuration.xml, consider the following: The Configuration.xml file in the SandbarSample solution is set up to use the DLL generated by the C# project and located in <UFT .NET Add-in Extensibility installation folder>\samples\WinFormsExtSample\Bin.
To use VBCustomSandBarSrv.dll, replace all appearances of
SandbarCustomServer in with
If your DLL file is located in a different location, update the path in the DllName element accordingly.