Extending Controls
Last updated
Last updated
QualityMate offers an architecture to extend and personalize the current controls interface functionality or even create a new brand control by defining a new interface.
This feature is for high experienced users with knowledge in UI components and the QualityMate framework.
The first step is to create a dedicate .DLL project by selecting the menu item File -> Add -> New project -> Visual C# -> Class library
. Then select a name ending with the pattern .ControlExtensions
and its directory.
The assembly name needs to end with .ControlExtensions
and needs to have the same output folder as QualityMate. In this way, the extensions DLL will load correctly.
To create a new control, its important to create an interface that will inherit the QualityMate interface IControl.
The following is an example of a control interface.
QualityMate uses metadata attributes to identify the implementation based on the defined CustomTechnology
and control interface.
The following is an example of how to export the required information:
New controls should inherit from the Control class as it contains the core functionality of control interactions.
Interface methods implementation should use Control's ExecuteInteraction method to handle implicit retries.
To load customized controls, you need to specify the user configuration exported technology name.