TAO 3.3 is released. Check out the announcement here - https://forum.taotesting.com/discussion/593/tao-community-edition-3-3-released#latest
Timer
Hi, how to see in the console how much time is spent on the question
Hi, how to see in the console how much time is spent on the question
We use cookies on our website to support technical features that enhance your user experience. Cookie Policy Privacy Policy
×
Comments
Instructions for this can be found here - https://userguide.taotesting.com/3.2/tests/tests-settings.html
Thanks,
Amy
You did not understand me, when a student passes the test, he click the next question, you can display data in the console.
For example: the console.log(this.getTestRunner().getTestContext());
Have any code, to show me how much time is spent the question
for example console.log(this.getTestRunner().getTestContext().getCurrentItem().getSeconds());
That functionality is not currently available to that level. Any contributions would be welcome for that feature.
Thanks,
Amy
ok, Thanks
Сould you tell me which function on php answers how much time has passed on the server?
Thanks
Does this have to happen in PHP?
Tao supports the QTI Result format, and you can retrieve the results via rest interface (see s) or via the user interface by going to the "Results" tab -> "Download".
In here you will find the variable duration:
that's not what i need, how much time is left on the server until the end of the test in realtime where it is calculated
In that case you can find an example of how to retrieve the remaining time here: https://github.com/oat-sa/extension-tao-proctoring/blob/master/model/execution/DeliveryExecutionManagerService.php#L102