xowf::test_item::Answer_manager method countdown_timer (public)
<instance of xowf::test_item::Answer_manager> countdown_timer \ -target_time target_time -id id [ -audio_alarm on|off ] \ [ -audio_alarm_cookie audio_alarm_cookie ] \ [ -audio_alarm_times audio_alarm_times ]
Defined in packages/xowf/tcl/test-item-procs.tcl
Accepted formats for target_time, determined by JavaScript ISO 8601, e.g. YYYY-MM-DDTHH:mm:ss.sss" Set current time based on host time instead of new Date().getTime() to avoid surprises, in cases, the time at the client browser is set incorrectly.
- Switches:
- -target_time
(required)- -id
(required)- -audio_alarm
(boolean) (defaults to"true"
) (optional)- -audio_alarm_cookie
(defaults to"incass_exam_audio_alarm"
) (optional)- -audio_alarm_times
(defaults to"60,30,20,10,5,2"
) (optional)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_test_items