Explore the community Forums Lectora Lectora Questions & Answers test submitting two sets of xAPI statements to LRS

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #433029 Score: 0
    Profile photo of NixTheNext
    NixTheNext
    Member
    LUC16 Attendee
    LUC16
    beginner
    intermediate
    wise owl
    friend finder
    curious george
    contributor
    1 pt
    @NixTheNext

    I have an xAPI-enabled course with a graded test, which has randomly selected pages and a test results page. When the user completes this test, they should be taken to the first page of the course. I’ve selected “The published course will report Test/Survey question interaction to the LRS” in the publish window.

    It’s sending two sets of statements to the LRS – so each time the learner completes the test, there are two “passed” or “failed” statements, and statements for each of the questions are also submitted twice. It looks like the set is being submitted once when the results page loads, and once when the learner clicks OK on the last page.

    I’ve tried to take off the “submit test” action on the OK button on the last page, but then the user is stuck. I can’t add a Go To action that takes the user to the first page of the course because this is not allowed in a test.

    Anyone else have this experience, or have any advice?

    #433063 Score: 0
    Profile photo of tea
    tea
    Member
    beginner
    intermediate
    curious george
    profile
    friend finder
    wise owl
    picture perfect
    contributor
    3 pts
    @tea

    Hi @nixthenext I haven’t seen or heard of this issue, but I’ll see if I can recreate this error. What version of Lectora are you using, and can you provide a copy of your title?

    #433069 Score: 0
    Profile photo of CarlFink
    CarlFink
    Member
    beginner
    intermediate
    contributor
    LUC16 Attendee
    wise owl
    curious george
    advanced
    23 pts
    @CarlFink

    You can open the AWT file in a text editor. It’s just an XML file. If you search for “submittest” you might find there’s a duplicate.

    MAKE A BACKUP OF THE AWT FILE before you make any changes!

    That said, it isn’t too difficult if you’re at all familiar with XML, and I have found several corrupted AWT files in the years I’ve used Lectora, where the only way I was able to fix problems was to remove “unanchored” XML statements that no longer connected to any GUI object in the development environment, but did affect the published course.

    #433135 Score: 0
    Profile photo of NixTheNext
    NixTheNext
    Member
    LUC16 Attendee
    LUC16
    beginner
    intermediate
    wise owl
    friend finder
    curious george
    contributor
    1 pt
    @NixTheNext

    No duplicate submittest actions (but thanks for the tip!)… I think this is a problem with when statements are sent to the LRS and when the test results are calculated. Since this test has a Results page, the results have to be calculated when the last page displays… but then the ‘Done’ button at the end of the test also calculates the results – if the LRS statements are connected to processing the test, that would explain why they’re being sent twice.

    Does anyone else have this experience with a test with results double-submitting xAPI statements?

     

    @tea – I’m using 18.0 – would love to see what happens when you recreate, thank you!

    #433172 Score: 0
    Profile photo of tea
    tea
    Member
    beginner
    intermediate
    curious george
    profile
    friend finder
    wise owl
    picture perfect
    contributor
    3 pts
    @tea

    @nixthenext I tried with a simple title using v18.2.1 and 17.1.8, and I am not noticing the duplicate statements for my questions. I do see a statement saying I passed Test 1, and another saying I passed my title (which I believe is OK), but I only see the questions reported once.

    Would it be possible to get a copy of your title?

    #433196 Score: 0
    Profile photo of CarlFink
    CarlFink
    Member
    beginner
    intermediate
    contributor
    LUC16 Attendee
    wise owl
    curious george
    advanced
    23 pts
    @CarlFink

    You might consider turning on debugging. You can then monitor exactly when score variables are set and sent. As an experiment, you could add an Action to the Done button that changes the score, and see whether that new score is sent to the LMS.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.