Jump to content

Queries regarding JKI VI Tester.


Yash B

Recommended Posts

Hi,
I am new to JKI VI tester so need help with the problem am facing.

1. Does JKI VI Tester supports testing multiple data sets within 1 test harness which has "VI Under Test"?(Refer a and b below)
2. How can we implement the concept of "Global and Local SetUp" and "Global and Local TearDown" in JKI VI Tester? (JKI VI Tester provide prebuild setUp.vi and tearDown.vi)              

Attached .zip file has JKIVITesterTestCase.lvproj which has 5 VIs.
    1.Add.vi (VI under Test)
    2.setUp.vi
    3.tearDown.vi
    4.testAdditionAPIOutsideForLoop.vi
    5.testAdditionAPIInsideForLoop.vi
    
a. testAdditionAPIOutsideForLoop.vi("passIfEqual.vi" API is outside for loop)
    In this VI I have provided array of input constants as test scenarios to the "passIfEqual.vi" and comparing it against expected array of constants.
    If input array equals output array result is passed.
    If one of the test fails, GUI provides output as <Array>  != <Array>.
    
    Question: How can I get detailed report in JKI VI Tester GUI with passed and failed data sets?

image.png.20a7315c8f8d5c1ba9225cedd864b639.png

b.testAdditionAPIInsideForLoop.vi("passIfEqual.vi" API is inside for loop)
    In this VI single data set from array of constant is provided as input to "passIfEqual.vi" comparing it against expected constant value.
    If two of the data sets fails, GUI provides the overall result fail mentioning values just for 1st data set
    
    Question: How can we get report mentioning the fail condition for both the data sets?

image.png.d25e6dc400b119b0f136850e26fc9a40.png
   

VITesterTestCase.zip

Edited by Yash B
Link to comment
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.

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

Loading...
×
×
  • Create New...

Important Information

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