Open topic with navigation
You can run an application containing the custom control and analyze the control from a UFT perspective using the .NET Windows Forms Spy, the Keyword View, and the Record option. This enables you to see how UFT recognizes the control without custom support, and helps you to determine what you want to change.
You can use the .NET Windows Forms Spy to help you develop extensibility for .NET Windows Forms controls. The .NET Windows Forms Spy enables you to:
View details about selected .NET Windows Forms controls and their run-time object properties.
See which events cause your application to change (to facilitate record and run extensibility implementation) and how the changes manifest themselves in the control's state.
You access the .NET Windows Forms Spy by choosing Tools > .NET Windows Forms Spy in the main UFT window.
Note: To spy on a .NET Windows Forms application, make sure that the application is running with Full Trust. If the application is not defined to run with Full Trust, you cannot spy on the application's .NET Windows Forms controls with the .NET Windows Forms Spy. For information on defining trust levels for .NET applications, see the relevant Microsoft documentation.
For more information on the .NET Windows Forms Spy, see the Micro Focus Unified Functional Testing Add-ins Guide.
When you plan the support for a specific control, you must ask yourself a series of questions. You can find a list of these questions in Using the .NET Add-in Extensibility Planning Checklist. When you are familiar with the questions and you are designing your own custom support classes, you can use the abbreviated, printable checklist .