Jump to content

UI Testing

Recommended Posts

Hi Dan,


We do use VI Tester to test UIs at JKI. For example, we have some support VIs that simulate mouse clicks on controls for pressing buttons and closing dialogs that might pop-up during the running of code.


We don't have any short-term plans for record and playback features.


I should also note that it's usually a good practice to encapsulate application logic into testable subVIs. This reduces (but does not eliminate) the need for UI testing.



Share this post

Link to post
Share on other sites
I was wondering if there any plans to implement UI testing into VI tester.


Here is a blog about a tool NI is considering


UI Testing


How do you guys test UIs?


We actually have some small utilities internally for UI Testing and have thought about integrating them better with VI Tester publicly, but we don't really address UI Testing use cases the way the tool you were looking at does right now.


Our current method for UI testing involves getting control references to UI elements we want to test and then using Windows API calls to emulate mouse clicks, etc. Its not very elegant yet, which is why we haven't tried to share it too much. At most we have enough material for a blog post at some point.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.