Determining Information Related to Your Custom Controls

Decide which controls this support set will support.

Before you begin planning support for custom .NET Windows Forms controls, make sure you have full access to the controls and understand their behavior.

You must have an application in which you can view the controls in action.

You must also be able to view the source that implements them. You do not need to modify any of a custom control's sources to support it in UFT One, but you do need to be familiar with them.

When planning custom support for a specific type of control, carefully consider how you want UFT One to recognize controls of this type—what type of test object you want to represent the controls in UFT One GUI tests, which test object methods you want to use, and so on. Make these decisions based on the business processes that might be tested using this type of control and operations that users are expected to perform on these controls:

  • Make sure you know the methods the control supports, what properties it has, the events for which you can listen, and so on.

  • Identify existing test object classes whose functionality is similar to that of the custom .NET Windows Forms controls.

  • Decide what methods need to be written or modified for supporting the controls.

For more information, see Analyzing the Custom Controls.