WPF Extensibility solution

The WPF Extensibility solution provides a public API which you can use to override TestArchitect’s built-in actions.

Overriding TestArchitect’s built-in actions by using WPF Extensibility involves two steps:

  1. Create an extension.
  2. Create a handler which will:
    • extend a specific kind of handler base. For instance, TelerikTableHandler : TATableHandlerBase, and

    • override the GetControlSupportLevel (Object obj) method to define the supported control and the level of priority.

      Notes: 
      • We only need to override the necessary methods. The rest of the methods are inherited from the base handler. On the base handler side, each method is responsible for getting the best handler which extends this base handler and implements the method. The best handler has the highest level of support.
      • The NetAgent.sln solution is provided to work with WPF Extensibility. You can find the solution at the following location: <installation path>/LogiGear/TestArchitect/samples/Extensions/WPF/WpfExtensionSample.

Creating an extension
Create a project which works as a new extension.

Creating a handler
Now create a class which works as a extension handler.

Building the solution
Build the DLL for the Extension project so that TestArchitect can load the extension.

Applying customized action
You have customized the built-in action get list item count to work with Telerik’s list box control. Now, you will apply that customized action.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400