| SCORM Content Debugger |
|
|
|
| Written by Alexis ISAAC | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Monday, 19 September 2005 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Track all communications between your lesson and the LMS, and simulate the answers given by the LMS.
<!--StartFragment --> When you develop a lesson in SCORM to debug you have to install it on a LMS and test with a limited cases. With this tool you can simulate the answers given by the LMS and check when and wich action is launched. If you want to debug the html page currently displayed in Internet Explorer you just have to press a button in the toolbar. It will create an ActiveX in the page wich will fake the SCORM API. In certain cases (when the page starts the function "findAPI" when it loads for instance) you don't have the time to press the button, the "findAPI" function fail too quickly. In such case you can add the following code in you page to activate the debugger. <!--StartFragment --> <OBJECT classid="clsid:AA71CBFC-D137-4FA0-B9D0-6308A5F4BD5B" id="API" width="100" height="24" style="position : absolute; left : 0; top : 0"> </OBJECT> <SCRIPT LANGUAGE="JavaScript"> window.API=API; </SCRIPT>
Javascript version :A javascript implementation of the SCORM Debugger. +--------------------------------------------------------------------------+ | SCORM Debugger javascript edition | +--------------------------------------------------------------------------+ 1. Purpose This script is used to debug a SCORM content. Whenever the content calls a SCORM command on the API the debugger ask you what to answer. It also logs all calls to the API. 2. Usage The debugger and the content must be on a local or network drive (could work through http protocol but not tested). You must edit the "const.js" file and set the "contentURL" variable to the path to your content. You can also change the "logMode" variable to log into a window a frame or turn off logging. To debug your content open "launcher.html" with your browser. When the content will call a function on the API a dialog box will ask you what to answer. Copyright 2004 Alexis ISAAC
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||