Review Link or Lectora Reset for testing

If this already exist please let me know since I would love to start using it today.

undefined

Having built several actions and variables to control the flow of the course I only know of deleting browser cookies and data to be able to reset the course and try each action to make sure they work as intended as well as all in-conjunction with each other. However the process of exiting the course and clearing bowser is tedious.

Is there a feature that simple lets me rest the whole session/course as if I'm starting over without having to exit the course and clear browser information?

Discussion (13)

Try to add the following method in a run javascript action following the action on Stan's button above to reset variables:

undefined

While it does not remove any cache, (true) tells the page to reload from the server. (False) would reload the page from cache.

Let us know if this works for you.

How about using a Chrome Incognito window?

In short I'm have multiple places that allow branching and have variables to track what user selected and where to send them. I also have bookmarking that will allow them to return to where they left off. Additionally, I utilizing the TOC to inform user where they are at in main menu.

Since I multiple branching I want to make sure that each path works correctly. To make sure that this works without flaws I need to ensure that I'm coming into the course as if it were the first time. The only way I found to completely wipe the information is to clear all browser history. Which also results in being logged out of ReviewLink. This process while not hard does get a little tedious doing it multiple times when making sure each path works and then having to check again after correcting bugs.

The reset variables does reset some, but I can tell its not reseting all of them since the TOC will still show I completed certain sections.With not knowing what is truly being reset or not, impedes me being able to properly troubleshoot bugs when I'm not sure if everything was totally reset.

When something goes wrong, I identify the issue and proceed to correct the glitch and retest. Without reseting everything, if the new fix does not work, I'm unsure if it was just the fact that the data was not cleared or was the new fix ineffective.

undefined

I even tried publishing a new version of the course on ReviewLink but the browser still recognizes the same data and applies it to the new version.

For example I have mycourse (1) <--- it has errors and I correct them and republish to reviewlink as mycourse (2).

Mycourse (2) will load but the browser remembers that data from mycourse (1). So even though I never launched mycourse (2), it will load and have to TOC and other settings remembered as if I did but they were from mycourse (1).

undefined

Whew... thats a lot to try to explain.

Thanks for the suggestion but upon trying that, I found that it does not reset bookmarking.

Wow, I have no idea why that keeps happening. Try again.

Add: window.location.reload(true); in a run JavaScript action after the action to reset variables as Stan suggested above.

This should reload the page form the server without using any stored cache.

undefined

undefined

Maybe I'm not understanding what you mean by bookmarking; are you referring to the functionality that lets you pick up where you left off after you exit and restart a course? If so, why do you need to reset that if you're not exiting the course?

"Well that broke the course", funny.

Here's what I suggest. First, don't test on ReviewLink at this point; wait until you need other reviewers.

Since you are wiping everything to enter like its the first time, you are not utilizing bookmarking. You can duplicate the lesson, just to test, without SCORM. AICC_Lesson_Location contains the bookmark.

Place the lesson in a (preferably) local server or online to test using a browser set to private (incognito mode/whatever) as was suggested earlier. When utilizing private mode keep in mind that all open private windows share the same session. You must close all the private browser windows to end the current session which will dump the current cookies and other session data.

undefined

Try adding a button to the AU called "Reset Course". Set the button's action to Reset All Variables and see if that doesn't do the trick. (Just to be sure to hide the button before publishing the course.)

undefined

True, my solution would still require exiting and re-starting the course. So would the idea below of using a Chrome Incognito window; without exiting the course, that won't have any effect on bookmarks.

I haven't tried this, but I would think that additional actions on the "Reset Course" button I suggested could reset the completion status of each page.

There are several features in Lectora that may help:

1. Reset all variables

This action resets all questions and all form elements, i.e. it resets reserved variables, it does not reset user-defined variables.

2. Modify variables

User-defined variables can only be reset by modifying them to their initial value. When actively modifying the variables the browser should not remember their previous values.

3. Completion status

You can reset the completion status completely with one action:

Action: Set completion status

Target: The target menu displays the full course structure. Select the first item, i.e. the whole title

Status: Not started

In the title options you can uncheck "Retain completion status between sessions" to also reset the completion status when the window is closed.

I'd create an action group with all actions to do these steps and run it on the first page. You don't even have to delete this action group before you finally deliver the title, just remove the action to run it. If you uncheck "Prompt the user to navigate to last viewed page" in the publishing options, Lectora won't set the AICC_Lesson_Location. You can modify that variable to be empty as well.

Tim

I am also curious about bookmarking in ReviewLink. I've had reviewers comment that they were not prompted by the bookmark. However, the Title Options for the published course are set to Retain Variables between Sessions.

Not remembering if bookmarking is functional in ReviewLink, I suggested this be tested in the end-user environment (on the LMS). However, in reading this string, I gather that bookmarking SHOULD work in ReviewLink. Is that correct?

Also - I thought that maybe I missed something during publish when I read your last comment (@Tim). I am on Lectora Inspire 17 and I do not see any option to uncheck ("Prompt the user to navigate to last viewed page") in the publishing options.

Am I missing something?

Thank you!

Christine

undefined

The "bookmarking" is done by directing the user to the URL saved in the Scorm variable "cmi.core.lesson_location", so it's a Scorm / LMS feature. If you publish to ReviewLink the option doesn't exist, because this is (I think) "Publish to HTML" with "Create a ZIP" checked and the option to directly upload to ReviewLink.

ReviewLink supports Scorm output, so you could try to publish to Scorm and upload the Scorm ZIP to ReviewLink, from ReviewLink. I've never tried what ReviewLink makes with Scorm files, it would be nice if you let us know the results.

Tim

Discussions have been disabled for this post