I had an entire test created in TestStand that used the String Value Test step type extensively. A labVIEW VI was called and the test step looked at a String output to determine whether the step should pass or fail. This worked well, however...
After the test creation was complete, the VI that was being called was modified to include an additional boolean output parameter that indicated a special situation where the test should fail. So, all of the test steps had to be converted from a String Value test type to a Pass/Fail test type (which evaluated an expression comparing the original strings and also whether the additional boolean output was true or false.
Since there wasn't really much difference between the two types, I expected this to be rather trivial. Instead, I had to re-create every step in the entire test (that this affected, of which there were hundreds) because there doesn't appear to be a way to change a String Value test to a Pass/Fail test.
If there was a way to simply switch to a different type of validation (such as from a String Value test to a Numeric or Pass/Fail test), then you wouldn't have to re-create the step name, VI selection (and variable setup), pre-conditions, post-conditions, post actions, additional results, comments, step settings, etc. This was quite a lot of work for what seemed to be such a simple thing!
I've been frustrated by this before as this situation occurs on regular basis (although usually only a step or two at a time), but this latest episode required almost a complete test rewrite.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.