When are Questions & Test Result xAPI Statements sent to LRS?

In an xAPI title, I think question & test results are sent to the LRS when the "Process Test/Survey" action fires - is this correct? If not, when are those statements fired?

(ever have one of those problems you know has a simple, obvious answer, but your brain refuses to allow it to surface to your consciousness?)

I have a compliance test with 100% passing score required. People need to be able to take the test multiple times, but I also want to collect their attempts via xAPI each time. Also... I want everything to happen on one page. How should I set this up?

~~~~~~~~~~~~

In my current (failing) attempt, I have all of the questions on one page and a button with a "process all questions on this page" action. On each question, the success action is show text box ("correct") and the failure action is show button (review this section). Each question is set to 1 max attempt (because I want to capture each test attempt in xAPI). There is also a "reset test" button, which appears if the test score is <100% (when the 'process all questions' button is clicked). I've tried a couple different approaches with the reset button:

  1. action > Process Test, 'on failure' action is to navigate to a page outside of test which has 2 on show actions: 'reset test', then 'go to test'. (The questions don't reset with this one)
  2. action > Process Test, 'on failure' action is to navigate to 1st page in test, action on show of 1st page of test is "reset test". (This results in an error where tincanfunctions.js isn't found??)

undefined

Discussion (2)

So, I fixed the course by re-establishing method 1 above, I don't know why it was failing before but I'll chock it up to a working-too-fast error. I'd still love confirmation as to when statements are sent to the LRS if someone can clarify.

...would also love to understand the logic behind making the only test completion options navigation choices? It's clunky to require navigation where you're trying to mimic a SPA look/feel...

I think question undefined

Discussions have been disabled for this post