Pre-Test/Post-Test Framework

Attached is a sample .story file with a Pre-Test/Post-Test framework.  This framework allows for you to have a user experience where the learner can opt out of content by passing the pre-test or allow the user to take the course and then be presented a post-test.  The great thing is that the course tracking is still based upon a single test.  The framework uses the same test for both modes.  Additionally, business rules are embedded that allow the user to only take the course post-test 3 times. 

The triggers and user variables can be a bit tricky to explain, but if you look at the Story View you can see the basic building blocks that drive the experience.  Button states are also impacted by the values of the user variables and I have placed references on the Master Slides so that you can see the variable values at all times.

Below is an overview video to help you better understand how the framework works.  Good luck and feel free to modify and use.

Overview Video

19 Replies
Cindy Shaver

Hi Drew. I have a question about one of the buttons in slide 2.2 (content 2). What was the reason for adding a 'Next' button instead of re-using the 'Close Review' button. I can see that the Next button is used after someone passes the post test at 100% and reviews the material. Just can't understand the reason for not using the 'Close Review' button. Can you explain? I'm probably missing something, but can't figure it out. Thanks much.

Ruchika Setia

Hi Drew,

Thank you so much for sharing this solution. I was really looking for something like this. Although, when I am implementing this with CSOD (my LMS),  - when I pass, this works fine; but when i fail this scenario after consuming my 3 attempts, the course does not pass a status = "failed"; my status still remains "in progress". The way I would like it to function is that the status of the course in LMS turns to failed if the user fails his 3 attempts. Any help is much appreciated! Thanks again!

Drew Pruitt

Hello Team,

It has been a few years since I posted this framework, but I know once I used it in a true production project at work, I did add a javascript scorm call under certain conditions to set LMS status. I would have to do some digging to find that solution, but I will see what I can find.

******* CONFIDENTIALITY NOTICE *******

This e-mail message and all attachments transmitted with it may contain legally privileged and confidential information intended solely for the use of the addressee. If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message from your system. Thank you.

Ruchika Setia

Thank you Drew. I also figured that with this solution, if user does not accept the bookmarking upon re-entering the course, all the course variables are reset - making this solution not usable in my case, unless I create a separate code to override the usual bookmarking code. So, I am deciding to do this through our LMS, rather than from within the course.

Anyways, I would still like to thank you for your great solution, I learned a lot about how i can do things differently in Storyline. 

Drew Pruitt

Again I slept since I built this, but I believe variables in Storyline hold their values between sessions.

******* CONFIDENTIALITY NOTICE *******

This e-mail message and all attachments transmitted with it may contain legally privileged and confidential information intended solely for the use of the addressee. If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message from your system. Thank you.

Cindy Shaver

Hi Ruchika,

  I sent a pm but didn't get a response.  I think I found a way to make it work, but that was 6 months ago so can't remember how. The file was extremely helpful for what we needed and I used the base to build a whole new set of Health & Safety self-paced training. I ended up making a few revisions to get it working with our requirements, which were a bit different in spots.