I need help simulating button clicks in Vision window unit tests using the Python unittest library. How can I programmatically trigger a button click event and verify the expected behavior?
Some possibilities:
https://forum.inductiveautomation.com/search?q=java.awt.Robot%20order%3Alatest
In general though... Put as much business logic as you can in project library scripts. Accept plain native types as inputs. Then it's easy to test without relying on GUI state.
2 Likes