MacroAssert
MacroAssert is a free, open-source tool that allows the user to create sequences of highly configurable steps that can be used to test user interfaces. The goal is to provide an intuitive tool for creating reliable UI tests that are agnostic to changes in display scale, monitor resolution, and front panel control positions.
Features
- No-code framework: tests are configured through a GUI and are stored as INI files, meaning no LabVIEW experience is needed to create tests
- Mouse actions can be configured to be relative to a front panel control or window, in either pixels or percent
- Keyboard actions have support for Ctrl, Alt, and Shift modifiers
- Support for various other actions, such as maximizing and minimizing windows and waiting until a set time of day
- Long list of assertions that can be used, such as verifying front panel control values, verifying the frontmost window name, verifying that a window is fully on-screen, and many more
- Ability to connect remotely to a runtime application to run tests on it
- Ability to generate HTML reports of results
Requirements
- LabVIEW 2020 or newer
- Windows 10 or newer
- VI Package Manager
Getting started
- Download and install the latest version of the tool. It can be found by searching for it on VI Package Manager. It can also be found on vipm.io and in the Releases section of the repository.
- After being installed, it is integrated into the LabVIEW development environment and can be launched by clicking Tools → Redhawk → MacroAssert in any LabVIEW window.
Support
At the time of writing, this project is actively maintained. If you find a bug or have a suggestion for an improvement, create an issue on GitHub.
Contributing
If you find this tool useful, please consider starring the VIPM package and Github repository to show your support. If you would like to contribute directly, fork the develop branch of the repository and open a pull request.