Forum Discussion

JessicaPace-ac8's avatar
JessicaPace-ac8
Community Member
2 months ago

Learner needs to take assessment in one sitting

Hi! Is there a way to force a learner to complete an assessment built in Storyline in 1 sitting? We don't want folks to hop out, resume/start again after they've seen the questions.

I've set a timer for the assessment, but folks can still leave and resume it. Support suggested setting a True/False variable to True when the browser is closed, so I can choose the trigger action Complete Course as Incomplete/Failed when the variable changes if it is True.

Have other folks tried this or anything else?

8 Replies

  • Hi JessicaPace-ac8​ I'd need to know a little bit more about the process to refine this, but this method will ensure that the user is marked as "failed" if they exit the quiz early. The question I have for you is "How does your LMS handle a failed status". For example, does it then prevent the user from being able to access the content again? If not, we would also need to build script into the course to prevent a user re-attempting an quiz that has been failed. If the LMS prevents access of failed content, you should be ok with the following method. If not, we need to add a bit more to this.

    1. Firstly, create a Storyline True/False variable called quizActive and have it's default value set to False.
    2. Create a trigger that sets the quizActive variable to True on any navigation that takes the user to the quiz. This might be the Next button.

      Alternatively, you can just add the trigger to the Question Master Slide to cover all bases.

      Ensure the trigger that sets the variable is above the "Jump to slide" trigger to ensure it executes before the slide navigates.

    3. Create a trigger on the results slide that sets the quizActive variable back to False on Timeline start

    4. Finally, we need to add some JavaScript that will update the lesson status if the user exits the quiz mid-way through. Execute the following JavaScript on timeline start of the MASTER SLIDE.


      window.addEventListener('beforeunload', function (e) {
        if(getVar('quizActive') === true) SetFailed();
      });

    I've attached an example that includes this functionality at the bottom of this post.

    Finally, but importantly, if you are building your content to WCAG or 508 for accessibility, ensure that your provide a means for students to extend their time (2.2.1 Timing Adjustable).

  • The big question is can you lock the LMS to only one attempt? If not all of this will fail

    • SamHill's avatar
      SamHill
      Super Hero

      That's right, but it will be possible to check the lesson status on launch and direct the user to a specific slide of the lesson status = failed.

  • There are many ways to detect if someone has re-entered content, but since leaving usually involves closing the browser window, it seems you're kind of getting at test *proctor software that locks down the interface for the user. Let me know if I'm misunderstanding your question.

      • AndrewBlemings-'s avatar
        AndrewBlemings-
        Community Member

        I can't confess to knowing any, but I noticed a typo in my comment if you were Googling. I meant to say test proctor, not test proxy. Hopefully that helps narrow it down.