Silk4NET provides the following features to support you when you are working with custom controls:
- The
dynamic invoke functionality of
Silk4NET 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.
Silk4NET supports managing custom controls over the UI for the following technology domains:
- Win32
- Windows Presentation Foundation (WPF)
- Windows Forms
- Java AWT/Swing
- Java SWT
- You can add code to the AUT to test custom controls.
- 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
Silk4NET. You cannot record custom methods for custom controls except when you are testing
Apache Flex applications.