1 Multiple fields UI of date input type with mouse events
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Please run this with DRT or WTR.
8 Test following mouse actions:
9 Mouse click to focus each of sub-fields
10 Mouse click on the spin button to update each of sub-fields
12 PASS successfullyParsed is true
15 ==> Focus on the week field.
16 PASS input.value is "2345-W08"
17 PASS input.value is "2345-W09"
18 PASS input.value is "2345-W08"
19 PASS window.getSelection().rangeCount is 0
21 ==> Focus on the year field.
22 PASS input.value is "2346-W08"
23 PASS input.value is "2347-W08"
24 PASS input.value is "2346-W08"
25 PASS window.getSelection().rangeCount is 0
27 ==> Click on a disabled field.
28 PASS input.value is "2346-W08"
30 ==> Click on a read-only field.
31 PASS input.value is "2346-W08"
33 ==> Click on clear button.
34 PASS input.value is "2346-W08"
35 PASS input.value is "2346-W08"
36 PASS input.value is ""