Recently I have had several people ask me in different settings about how to do unit testing for UI components or how to do Integration testing that involves User interaction.
I have done in the past some hacks for this using VI Server.
Has anyone tried other tools?
I just found this toolkig in NI Labs for LabVIEW UI Automation: https://decibel.ni.com/content/docs/DOC-29991 Has anybody tried it? what was your experience?
A few years back there was a LabVIEW plug-in for Ranorex that was on the Tools Network. We took quite a bit of time and evaluated the functionality, and were about to purchase the whole thing when it was pulled due to lack of interest.
I will definitely check this NILabs tool out, this area is something that is very hard to test and is so important to get right.
To perform GUI testing there are several tools to choose from, both free and commercial. Currently we have been trying out a tool called JAutomate, which is a third generation capture and replay test tool for GUI testing, which seems very promising. At the moment we use it to test the GUI but it works as well for test of for example the installer.
Personally I prefer to use a test tool that is not part of the development environment for system tests of the program. Unit tests are a very good way to test the functionality of the vi before running the GUI tests.