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?
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.