If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed.
This is a solution I offer to the community where you can have test results from your Lectora elearning project being sent via email without requiring the Email client on the users desktop be used. This will help in the circumstances where the user's computer is not configured for the email client. The email is sent with the answers chosen by the user, the users name, and the score. You can add multitple email to have the test results sent.
I am providing a zipped file with a awt created using Lectora 9 with a dummy test of 10 questions. There is an emailresults.asp file that has the code that will send the test results. Within this file is where you will add the email addresses (See bottom of this file).
This .asp file is added within the Title properties under the "Additional files" tab.
Within the "Final Assessment" test properties, under results, you will also check "Submit test to CGI program", with the method "POST" and submit results to: emailresults.asp. Take a look at the other options checked.
The zipped file has everything needed and is a working example. You will have to open the awt file, publish it, and then test on your server. (Do not test from your desktop. It will not work)
As always, you can ask questions and I will do my best to provide answers.
Thanks for your valuable posts regarding this matter.
We are an SME (no developers here, I'm afraid) and we used Lectora 2005 to develop internal training content for a management system auditing firm. The content is deployed internationally to auditors using various operating systems, laptops, networks, etc. However, the submission of online tests proved to be a real problem. The tests are submitted via email (email results to:xxxx) and Java caused an absolute nightmare. Whilst some auditors can submit without any problem, about 70% of the auditors receive Java Permission errors, and even auditors that can submit the online registration form cannot submit the assessments in some of the modules.
We decided to upgrade to Lectora Inspire, hoping that we can get some kind of support to resolve this. Our ISP is Webonline, using Apache servers with ASP enabled.
I assume CGI is the best solution, but I don't know anything about databases, and the CGI I've done before in Dreamweaver is based on Formmail, which uses different variables than Lectora and quite frankly, I have no idea how to do database integration .
Your solution seems to be the most suitable I've found on the web and in the forums. Unfortunately I haven't been able to make your example work, neither the module I've edited based on your recommendations (asp file with own variables; POST, etc.). The error I keep on receiving is: "Security Error, unable to send request. This course must be loaded from the system that the data is submitted to: access denied (java.net.SocketPermission 196.30.127.5:80 connect,resolve)".
It is a very promissing solution indeed, but I cannot get it to work. I changed the file emailresults.asp to reflect actual and existing e-mailadresses. When I test locally (which of course should not work), I receive a message like "cannot contact emailresults.asp". When testing on the server, I don't receive this message. So I believe the file can be reached. I can start and take the test as normal. However, the e-mail is not being sent, at least: I do not receive it.
Does anyone have more experience with this mechanism? Who can help me out?
Bruce, i got your email but when I upgraded my Yahoo mail, it didn't like the file size and I can't get it. Hum, I wish the Lectora Lounge was still around to get files.
Our LiMS solution does everything you need to send test results through email PLUS it works off of your desktop when viewing the course thru the browser locally PLUS it works seamlessly with Lectora.
When the student is done with the test it emails the results to whomever you want to receive them - identifying the course, the student and their status (pass/fail).
Take a look at the attached for an example of an actual email (client name blacked out)
You get the Text of the question
You get the text of the correct response (empty IF ENTRY FIELD)
You get the response of the student FOR EACH ATTEMPT
You get pass/fail for each question
You get pass/fail for the test
PLUS you get access to the application itself.
You get to see how long it took the student to answer EACH question on EACH attempt
You get to see how each student performed against the class average
You get to see what questions on each test were most challenging
You get to see if the student changed their answer before they submitted their response