uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
percentage correct applet

Knowledge Base Lobby : uTest Support Conference : General Questions
Aug-21-18 12:55 AM EST
Original Message
percentage correct applet
Author rich on 12-21-2002 at 17:43 (EST)
i am using utest to create tests for an insurance school that i work for. i have a question about an applet that i feel would be helpful, but don't know how to create it. please help.

The applet is basically a percentage correct applet. it appears at the top or bottom of the test sheet and tells you what the percentage of correct answers for the entire test is. if the next button applet is used, then the percentage would change with every new question, if another applet is used, then the percentage could be given either during the test, or after the test is completed (as part of the answer sheet).

please let me know if something like this can be done, ans where to look for it. any and all help is greatly appreciated.


Table Of Contents
  RE: percentage correct applet Bill Weiner, 2002-12-24 07:27:09 (1)

Messages In This Discussion
         1. RE: percentage correct applet
        Author Bill Weiner on 12-24-2002 at 07:27 (EST)
Unfortunately, uTest is really not setup to handle that at this time, but it could technically be done with the use of uTest's JavaScript API.

What you would need to do is write a JavaScript function that gets called via the page's "onLoad" call and which utilizes uTest's "getAnswer()" JavaScript API function to iterate through all answers and determine the percent correct. In fact, it may not be that difficult to do... just a simple "for" statement... however, it would have to be specific to the answers on your specific test.

Refer to the uTest Programmer's Guide for more information about writing JavaScripts that interface with uTest:

If you do try this and you need any assistance, just let me know.

© 2003 Microburst Technologies, Inc.