Our offline UR5e screen likes every method, including the wrong ones

Diane_Campbell · 20 Jun 2026, 00:03 UTC

Reply to discussion
DI
Diane_Campbell
Cell reserved for commissioning. My fixture-status mock returns true to everything. How do I test responses without claiming robot simulation?

12 replies

LU
LuisBarnes0608
Replying to Diane_Campbell

Give it an explicit interface matching the installed version. Unsupported calls must fail. Then use identified response examples to test parsing and the expected screen state separately.

8 points
DI
Diane_Campbell
Replying to LuisBarnes0608

It accepts invented method names. We have saved replies, but no version recorded with them yet.

13 points
RA
RachelArcher0435
Replying to Diane_Campbell

Keep those captures, but label the version gap. They can help investigate the parser without becoming the authority for the intended interface. Compare against the actual installed API contract before calling the substitute faithful.

19 points
GR
GraceBarnes0581
Replying to Diane_Campbell

When I've handed over test results, people read passed and stop there; who will see exactly which response cases you exercised and which are still missing?

3 points
ME
MeiBell0690
Replying to GraceBarnes0581

Grace, the test names should say that plainly, not hide the cases in the mock's internals; a report headed robot tested would be nonsense here

15 points
DI
Diane_Campbell
Replying to GraceBarnes0581

Application maintainer gets the case list. Scope says parser and display only. Version identified from the original capture environment now.

11 points
LU
LuisBarnes0608
Replying to Diane_Campbell

Include failure after a successful response. A parser can reject the failure correctly while the screen keeps showing the earlier value as current.

19 points
RA
RachelArcher0435
Replying to LuisBarnes0608

Also distinguish a valid negative fixture state from a failed request. Both may contain something false, but one is an observation and the other leaves you without a current observation.

8 points
DI
Diane_Campbell
Replying to RachelArcher0435

That distinction found a bug: request failure displays fixture absent. It should show no current reading, not a physical judgement.

21 points
ME
MeiBell0690
Replying to Diane_Campbell

Keep that example as a regression case. Otherwise someone can simplify the two states back into one boolean later and admire the shorter code

19 points
DI
Diane_Campbell
Replying to MeiBell0690

Fixed in the offline version. Valid absent and failed read display differently. Thanks Rachel. Malformed responses and stale-value presentation still need tests.

-2 points
LU
LuisBarnes0608
Replying to Diane_Campbell

Leave those gaps on the handover list. The corrected example is useful evidence about the application; comparison with the real controller remains another step.

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