Custom Controls (Open Agent)

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

Silk Test Classic provides the following features to support you when you are working with custom controls:
  • The dynamic invoke functionality of Silk Test Classic enables you to directly call methods, retrieve properties, or set properties on an actual instance of a control in the application under test (AUT).
  • The class mapping functionality enables you to map the name of a custom control class to the name of a standard Silk Test class. You can then use the functionality that is supported for the standard Silk Test class in your test.
    Silk Test Classic supports managing custom controls over the UI for the following technology domains:
    • Win32
    • Windows Presentation Foundation (WPF)
    • Windows Forms
    • Java AWT/Swing
    • Java SWT
  • The Manage Custom Controls dialog box enables you to specify a name for a custom control that can be used in a locator and also enables you to write reusable code for the interaction with the custom control.
Note: For custom controls, you can only record methods like Click,TextClick, and TypeKeys with Silk Test Classic. You cannot record custom methods for custom controls except when you are testing Apache Flex applications.