Featured Categories
-
Lectora®
Lectora® is the most trusted authoring tool in the world. Rock out your creativity! Author courses any way you like. Lectora adheres to best practices for Accessibility and Web Content Accessibility Guidelines (WCAG), offers responsive authoring for eLearning, and publishes to any LMS (Learning Management System).
-
CenarioVR®
Experience virtual reality through CenarioVR®, our training and virtual reality (VR) authoring software that allows you to create immersive learning in minutes! No coding required!
-
Rockstar Learning Platform®
Our Rockstar Learning Platform® has all the features you’ll love. Help your employees be better at their jobs, more valuable to your company, and most effective in servicing your customers.
-
The Training Arcade®
Level up your learner engagement with the Training Arcade®! The Training Arcade is a library of fun, mobile-ready, casual games that can be rapidly customized with your content to create effective gaming!
-
ELB Learning Content
Did you know that our AssetLibrary™ has over 120 million engaging, interactive, and awe-inspiring templates and assets to help you become an eLearning Rockstar®?
test submitting two sets of xAPI statements to LRS

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?
Comments
-
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?0
-
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.0 -
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!0 -
@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?0 -
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.0
Categories
- 35.9K All Categories
- 110 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 27 ELB Learning Content
- 27 ELB Learning Content Discussions
- 343 CenarioVR®
- 204 CenarioVR Discussions
- 139 CenarioVR Feature Requests
- 44 Rockstar Learning Platform®
- 41 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 48 ReviewLink®
- 48 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 938 All Things eLearning
- 39 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products