Support for WinForms class mapping

TestArchitect 8.3 enhances Windows Forms (WinForms) class mapping to allow WinForms controls to be mapped to TestArchitect’s set of TA classes. Note that these TA classes support the full range of TestArchitect built-in actions, affording your tests more power and flexibility.

If you have captured WinForms controls in versions of TestArchitect prior to 8.3, your automated tests will continue to run normally in those versions. When running tests under TestArchitect versions 8.3 or later, if you haven’t updated your mappings, the following automation warning appears in your test results: On Windows Forms AUTs, the algorithm to map user-defined and built-in TA classes has been enhanced. This causes your previously-captured interface elements to be obsolete. Please use “WinForms improvement command-line tool” to upgrade your current class mapping.

Important:

To update your legacy WinForms project’s class mappings:

  1. Run the WinForms command line tool to obtain the new WinForms class mapping file. (Learn more.)

  2. Once you have obtained the file, open it using any text editor, then select and copy all text lines.

  3. For the given interface of your active TestArchitect project(s), update its $Class Maps interface entity.

    1. Open the $Class Maps interface entity, and check it out.

    2. Place the cell pointer at the first column of an empty row below the last line.

    3. Paste the copied lines.

Now you may run automated tests normally with new WinForms class mapping.


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