02-26-2024 10:14 AM
When running a test sequence in Operator mode, if a step fails for "Error, visa[...]" or "Error, LabView[...]", the test will exit and in the test result file UUT Result shows the error. However we send the result to our own database and it is showing these as a TEST_PASS, the data is coming from "FileGlobals.TestResult".
My Main Sequence Cleanup is as follows.
Any help greatly appreciated.
02-28-2024 03:21 AM
What is your error handling strategy? Terminate on error?
02-28-2024 03:48 AM
I have three levels of login setup, with operator mode when this happened they only had the option to terminate on error.
02-29-2024 12:06 AM
Can you describe, how the FileGlobal Value is logged into the database?
02-29-2024 01:57 AM
At the end of main sequence the following cleanup is run...
I then have a PostUUT sequence that calls an executable, the exe sends the test result file to our database along with the result from Cleanup - str(FileGlobals.TestResult) which will be either TEST_PASS, TEST_WARN, or TEST_FAIL.
03-01-2024 12:40 AM
If you are sure, the data is passed correctly from TestStand to the executable, the issue can probably be found somewhere between the exe and the database.
Is there any conversion involved form string to enum? Maybe sth goes wrong there
03-11-2024 03:01 AM
Thanks for your response, but I am sure it is happening prior to this as all that happens in this step is the test status is retrieved from TestStand and passed to the database, the test status is set during the cleanup. I believe it is being incorrectly set when a test is terminated.
03-11-2024 03:17 AM
When trying to debug this, make sure to have SeqEdit configured correctly