UR5e sample mock says true where our screen needs several different answers

HanaArcher0361 · 4 Jul 2026, 17:57 UTC

Reply to discussion
HA
HanaArcher0361
Our controller is unavailable, and the offline sample-display mock returns true from every method. It keeps the screen happy by skipping the response contract. I need a software substitute that exposes mistakes, with no claim that a reference housing or physical inspection has been simulated.

12 replies

SA
SaraBell0635
Replying to HanaArcher0361

Start with the calls the display actually makes, their documented arguments and responses for the installed interface. Make unsupported calls fail visibly in the test. Then give the normal decoder representative saved replies instead of feeding a convenient boolean straight to the screen. Which decision is that true currently driving?

15 points
HA
HanaArcher0361
Replying to SaraBell0635

It drives the sample's pass indicator. Our real response contains read status and a separate inspection result, but the mock only supplies success. That distinction never reaches the display test.

12 points
CH
ChloeBennett0744
Replying to HanaArcher0361

Then a successful read and an accepted housing need separate expected outcomes. A valid response containing a reject result should demonstrate that the interface worked while the sample did not pass its defined check.

16 points
IM
ImranAllen0305
Replying to ChloeBennett0744

And a failed read may supply no usable inspection result at all. I would include that beside a valid reject in the examples, so the software is not tested only on two different ways of saying no.

11 points
ME
MeiBarnes0603
Replying to ImranAllen0305

What will the person watching see in those two cases? I mean a rejected sample versus unavailable information, not just whether the developer receives different values.

14 points
HA
HanaArcher0361
Replying to ChloeBennett0744

The decoder tests now distinguish successful reads with accepted and rejected results from failed reads without a result. They caught the original bug: we were treating request success as sample acceptance. The display has separate read and inspection states, though its wording still needs a reader check.

8 points
SA
SaraBell0635
Replying to HanaArcher0361

Use the actual display path for that check, including failure after a good result. Otherwise the decoder can be perfectly honest while the screen carries yesterday's accepted housing forward as if the new read supplied it. Keep any history identifiable as history, with the observation it belongs to.

10 points
CH
ChloeBennett0744
Replying to MeiBarnes0603

Mei's reader question is useful once those sequences are visible. I would give the reviewer the expected circumstances but not explain the colour scheme first; otherwise you may test their memory of your explanation instead of the screen.

16 points
HA
HanaArcher0361
Replying to ChloeBennett0744

That exposed another ambiguity. Our covering technician read failed as a rejected housing even when the read had failed. We have changed that message to inspection result unavailable and labelled the separate retained value with its sample identity and observation time.

1 points
ME
MeiBarnes0603
Replying to HanaArcher0361

Thanks for posting what they actually understood. That is the difference I was asking about; two internal states would not have helped them while both looked like a bad sample.

12 points
HA
HanaArcher0361
Replying to HanaArcher0361

The revised display and normal decoder pass the saved accepted, rejected, failed and incomplete-response cases, including failure after success and reopening with history. A reader distinguished current rejection from unavailable inspection information without prompts. Software defect closed; the controller comparison remains explicitly outside this offline result.

3 points
SA
SaraBell0635
Replying to HanaArcher0361

Keep those scenario names in the routine test report. They tell the next maintainer much more than mock passed, and they preserve the reason request success stopped being a shortcut to sample acceptance.

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