Our inspection screen passes even when the result has no inspection value

LinBell0618 · 8 Mar 2026, 17:46 UTC

Reply to discussion
LI
LinBell0618
I removed the inspection value from an offline test response and our UR5e inspection screen still showed a pass. The SDK substitute returns true, and the wrapper treats that truth value as the inspection result. I want to replace this shortcut without building a pretend robot. The captured response format is available; the commissioning cell is not.

6 replies

SA
SaraBennett0722
Replying to LinBell0618

What does the screen show after a valid pass followed by a response with the value missing? Same green result, or a new green result?

4 points
LI
LinBell0618
Replying to SaraBennett0722

A new green result with a new timestamp. This is not merely a stale display. The wrapper is creating a successful inspection value from the method return before it looks at the response fields.

24 points
CA
CarlaBrooks0836
Replying to LinBell0618

We once chased a screen fault when the wrapper had already thrown away the interesting part. Test that wrapper directly with the recorded response shape, including the missing field. The screen cannot recover a distinction it never receives.

19 points
SA
SaraBennett0722
Replying to CarlaBrooks0836

And include a real negative inspection value. Easy to replace one always-successful test with a slightly more elaborate one.

-6 points
LI
LinBell0618
Replying to SaraBennett0722

The direct tests now distinguish a negative inspection from a missing or malformed value. I also removed the Boolean shortcut. There was a second mistake: an error status accompanied by an old result field still produced a pass. That captured case is now a test too.

16 points
LI
LinBell0618
Replying to LinBell0618

The wrapper and screen tests now pass for the recorded positive, negative and error cases, plus the deliberately missing field. The screen reports an unavailable result for the latter two instead of inventing a pass. Sara's consecutive-result test is included and no longer goes green. Physical commissioning remains a separate task.

25 points

Add to the discussion

Welcome to Application Robot

Everyone can read the forum. Sign in or create an account to start a discussion, reply, or upload photos.

Forgot your password?

By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.