Skip to content
ThomasPRZilliox edited this page Feb 25, 2024 · 3 revisions

While LabVIEW remains a formidable programming language, it lags behind its competitors, particularly in areas such as Continuous Integration/Continuous Deployment (CI/CD) and Quality Assurance (QA) tools.

The objective of this project is to fill a crucial gap by developing a robust test framework for User Interface (UI) testing. Although LabVIEW is frequently utilized for hardware communication and testing purposes, it's not uncommon to encounter larger applications developed within its environment. Hence, establishing a reliable UI testing framework within LabVIEW can greatly enhance its utility for broader software development purposes.

How to install it?

LabVIEW

On the LabVIEW side, you will need to install the package "LabVIEW UI Testing" (link to come when validated by VIPM). Once this is done you will have the following VI added to your function palette:

LabVIEW function palette

Simply add it to your top VI. It will take care to start the UI test daemon and shut it down automatically when your application stops.

Python

Run the following command on your CLI (or venv) to add the package to your Python environment:

pip install lv-ui-testing

The Framework

The framework is developed in a way that any language could communicate to the User Interface daemon. Presently, it exclusively supports Python, enabling the creation of test scripts using the pyTest framework.

The different methods can be found in the Python support page.

Some examples are available on the example page.

Clone this wiki locally