Home / Blog / Note

The shared-device test for shift-based e-learning

A module that works on your laptop proves nothing about the terminal at the plant gate. Run seven functional checks with two dummy learners on the real device before launch.

The shared-device test for shift-based e-learning
Representational image.

The 14:00 shift walks in and the outgoing operator is still on the terminal. He closes the browser, picks up his bag, and leaves. The next man taps the desktop shortcut and the course opens at screen nine of fourteen with a quiz answer already filled in. The name in the top right corner is not his.

Nobody calls this a security incident. It is an acceptance failure, predictable from the day the module was signed off on a designer’s laptop in Bengaluru.

The demo machine is the one machine that never has this problem

Every e-learning build gets tested on a device with exactly one user: the person testing it. Fresh browser profile. No bookmark bar. No previous session. No second shift. Under those conditions almost everything passes, because the failure modes that matter come from the absence of those conditions.

Then the module goes to a plant gate, a hospital ward station, or a factory training room with five machines and 200 people. One browser, one Windows login, often one kiosk account, and a roster that expects 200 separate learner records out the other end. The device is shared. The account is not. That mismatch is where the trouble lives.

So the question before launch is narrow: on this terminal, in this browser, with this kiosk setup, does the software keep two learners apart and keep an interrupted attempt intact? That is a functional acceptance test, and it takes ninety minutes.

What this is, and what it is not

Acceptance testing checks a system against agreed criteria so someone can decide whether to accept it. The exercise is the same here: write the criteria down, run the steps, record actual against expected, get a named person to sign.

It is not penetration testing. You are not trying to defeat authentication or find a way past the login. You use the credentials you were given, the way real learners will use them, and check whether the software behaves. If a learner can reach another learner’s record by editing a URL parameter, write it down and hand it to whoever owns security. Do not hunt for it, and do not call a passing functional test a security assurance.

It is also not the question a pilot answers, which is whether five people who do the job can complete the task the module claims to enable. That is a different instrument with a different sample size, set out in the e-learning pilot that proves nothing. This test asks only whether the plumbing holds in a shared room.

Why shared terminals leak, in plain mechanics

The session outlives the person. A course launched in a tab is tied to a learner record by the launch itself. In cmi5 the launch URL carries the learner identifier and a registration, and the session runs from launch to termination. Leave that tab open, or let the browser restore it at start-up, and the next person at the keyboard works inside the previous learner’s session. The launch token was minted for someone else.

The exit status decides whether progress is kept. SCORM content tells the LMS why it closed. In 1.2 the course sets cmi.core.exit to suspend if it expects to be resumed; in 2004 it sets cmi.exit and asks for a suspend. Leave that blank or set it to logout, and the specification says the session data is not available on relaunch. Some platforms infer completion instead. A course that closes correctly on its own Quit button, but not when the learner closes the browser window, looks perfect in the demo and loses the attempt in the plant.

The API object can be found in the wrong place. SCORM content does not get handed a connection. It searches, walking up the parent and opener window chains until it finds the object named API or API_1484_11. A second course window left open from an earlier session sits in that chain. That is why testing one window at a time tells you so little.

A fourth failure only shows on long modules. Progress sits in one string, cmi.suspend_data, capped at 4,096 characters in SCORM 1.2 and 64,000 in 2004 third and fourth edition. Over the cap, most platforms do not return an error. They truncate, often silently, and the learner finds out a shift later when the course restarts from page one.

The seven checks, and the pass rule

Write the pass rule before you touch the terminal, and get the business owner to sign it. Our default: all seven checks pass, or the module does not go live at that site. Two failures is not a 71 per cent launch.

You need two approved dummy learners, created the way real learners are, ideally through the same roster import. Call them A and B. They must be real records you can delete afterwards, not preview mode or admin impersonation, because preview bypasses the enrolment path you are testing.

# Check What you do Pass looks like
1 Cold launch Log in as A on the terminal, open the course from the shortcut a learner would use A’s correct name, A’s correct enrolment, course starts at the beginning
2 Hard interrupt Get to a known point (say question 6 of 14), close the browser with the window control, not the course’s Quit button Nothing crashes, no error dialog left on screen
3 Resume Log in as A again on the same terminal Same point, same answers, attempt still open and incomplete in the admin report
4 Three exits Repeat the interrupt using the course Quit, the LMS logout, and the operating system sign-out, one at a time All three end the session cleanly; none leaves a live session visible in the LMS
5 Switch Log in as B on the same terminal, open the course B’s name, B’s enrolment, starts at the beginning, no trace of A
6 Cross-credit Complete or score as B, then return as A A’s record unchanged; B’s score not written to A, and A’s completion not credited to B
7 Walk-away Leave A mid-module, lock the screen or close the lid, let B start a fresh session ten minutes later B’s session is B’s; A’s attempt is still resumable afterwards

Record the browser version, and any kiosk or deep-freeze software, since both change the answer. Then pull the admin report for A and B. A screen that looked right but wrote the wrong row is still a fail.

A worked example

Figures below are illustrative, not a client result.

A twelve-site FMCG distributor has 340 field and warehouse staff sharing nine terminals across three depots. The module runs 35 minutes with two knowledge checks, and the build passes on the vendor’s laptop, the L&D manager’s laptop and the client’s test environment.

Ninety minutes on terminal one turns up two defects. Resume fails after a hard browser close, because the course only sets cmi.exit on its own Quit button. And a restored tab from the previous evening resumes under the earlier learner’s registration, which the vendor reproduces in four minutes.

Both are fixed in five working days. Re-test at all three depots, seven checks pass. Total cost: one L&D coordinator, one site HR person, two dummy accounts, four and a half hours on the floor, and one argument that would otherwise have happened in week six with 340 people enrolled.

The counterfactual is the interesting part. Without this test, the same two defects surface as a support ticket in week two, a claim that “the system lost my progress”, an argument about whether the LMS or the content is at fault, and a re-enrolment exercise for anyone whose attempt closed as complete. The fix is the same. The cost is not.

Do this before the launch date, not after

Book one terminal at the largest site for ninety minutes. Get two dummy accounts created through the roster import. Print the seven checks with a column for actual and a column for evidence. Put the site HR lead and one person from the vendor on the call, and have the vendor watch the failure rather than read about it.

Then decide, in the room, who signs. Sign-off belongs to the business owner of the training, not L&D and not the vendor, because they field the 6am call when a shift cannot get past the login screen.

If you commission modules rather than build them, put these seven checks in the statement of work as acceptance criteria and hold the final payment against them. The roster arithmetic that decides when people can sit at that terminal is a separate problem, covered in a rollout calendar is a roster problem. If you want the module and the terminal tested together, our e-learning practice runs this as a paid exercise, and the delivery team can sit it alongside the roster plan.

The honest limit

This test proves the session mechanics work on the device you tested, that day, in that browser, with those two accounts. It proves nothing about whether the module teaches anything, and it will not catch a roster file that enrols people into the wrong department.

It also goes stale. A browser update, an LMS upgrade, a change to the kiosk image or a new single sign-on policy can each break it, and none of those triggers a re-test unless somebody owns it. Write the trigger into the launch note: any change to the terminal image, browser, LMS version or authentication route means the seven checks run again.

And keep the scope honest. This is one instrument in a set. If the auditor asks for evidence of access control, a signed sheet with seven ticks is not the document they want.

Monday

Open the module on the terminal in the room where the night shift will use it. Log in as A. Close the browser at question six. Log in as B. If B sees anything of A, you have found your launch blocker in four minutes, and you have five weeks more than the version of this story where you find it in week two.

Sources

  • ADL, SCORM 2004 3rd Edition Run-Time Environment specification: https://upload.aura-software.com/files/20191008081839-de8fbb595231f8557780f59e3a0ae316f2a2abbf/SCORM_RunTimeEnv.pdf
  • Rustici Software, SCORM Run-Time Environment overview: https://scorm.com/scorm-explained/technical-scorm/run-time/
  • SCORM Central, suspend data limits: https://scormcentral.com/resources/suspend-data-limits
  • Philip Hutchison on cmi.exit: https://pipwerks.com/cmicoreexit-cmiexit
  • AICC, cmi5 conceptual overview: https://aicc.github.io/CMI-5_Spec_Current/flows/cmi5-overview.html
  • ISTQB, acceptance testing: https://istqb-glossary.page/acceptance-testing
Keep reading
AI training

An AI policy fails where there is no route to yes

People do not ignore AI rules out of carelessness. They hit a task with a deadline and no route to a decision. Build one approval path per real use, and teach the request.

E-learning

When to retire a mandatory learning module

Renewal is a calendar action, retirement is a decision. Map every mandatory module to a live obligation and a named owner, archive the rest, and keep the completion records.

Want this applied inside your organisation?

Talk to us