03-04-2011 10:50 AM
Hello,
I am learning how to use the UFT in LV 2010, so I created a simple vi in a project, right clicked on the vi and selected Unit test>New test.
The test file was created, and when I go to the test cases, I don't see my neither my inputs nor my outputs, although in the configuration I have Include controls and indicators from connector pane. Also in the test cases I cannot do anything, neither add nor remove inputs or outputs, I can only add test cases.
I included a screenshot of the test cases window.
Thanks
03-07-2011 04:39 PM
Hi Moobe,
Can you post your code or a screen shot of your block diagram to help me troubleshoot your vi?
Thanks!
03-07-2011 04:51 PM
Moobe,
Can you check a couple of things:
1. In the Configuration category, can you make sure that you've correctly selected the VI Under Test?
2. Even though you selected "Include Controls and Indicators from the Connector Pane", you have to make sure you've added them to the VI.
3. In the test cases, try clicking the Update button.
I did a simple unit test with an Add subVI and it worked fine. You will be able to add inputs or outputs, only test cases. The I/O should be added automatically.