| | Script » | 1 | waitForLoad(1);  | | | 2 |   | | | 3 | // NOTE! ensure that your testing target has same locale settings as your recording machine  | | | 4 |   | | | 5 | // i-tree,DIV  | | | 6 | click('0,PID_SFeatureBrowser: Main Tree',[0,1,0,1,2,0,0], 'left');  | | | 7 |   | | | 8 | // i-datefield,DIV  | | | 9 | click('0,PID_SInlineDateField',[0,1,4,2,0], 'left');  | | | 10 |   | | | 11 | // i-datefield,DIV  | | | 12 | assert('0,PID_SInlineDateField',[0,1,4,2], 'equals', 'TD(){SPAN( c:i-datefield-calendarpanel-day i-datefield-calendarpanel-day-selected){11}}');  | Equals assert OK! | | 13 |   | | | 14 | // i-datefield,DIV  | | | 15 | assert('0,PID_SDayResolutionDateField',[0], 'equals', 'INPUT( v:22.2.1998 c:i-textfield)');  | Equals assert OK! | | 16 |   | | | 17 | // i-datefield,DIV  | | | 18 | assert('0,PID_SMinuteResolutionDateField',[0], 'equals', 'INPUT( v:22.2.1998 13:14 c:i-textfield)');  | Equals assert OK! | | 19 |   | | | 20 | // i-datefield,DIV  | | | 21 | click('0,PID_SDayResolutionDateField',[1], 'left');  | | | 22 |   | | | 23 | // i-datefield-calendarpanel,TABLE  | | | 24 | click('0,PID_TOOLKIT_POPUPCAL',[1,5,1,0], 'left');  | | | 25 |   | | | 26 | // i-datefield,DIV  | | | 27 | assert('0,PID_SDayResolutionDateField',[0], 'equals', 'INPUT( v:17.2.1998 c:i-textfield)');  | Equals assert OK! | | 28 |   | | | 29 | // i-datefield,DIV  | | | 30 | click('0,PID_SMinuteResolutionDateField',[1], 'left');  | | | 31 |   | | | 32 | // i-datefield-calendarpanel,TABLE  | | | 33 | click('0,PID_TOOLKIT_POPUPCAL',[1,2,6,0], 'left');  | | | 34 |   | | | 35 | // i-datefield-calendarpanel,TABLE  | | | 36 | click('0,PID_TOOLKIT_POPUPCAL',[1,8,0,0,0], 'left');  | | | 37 | // i-datefield-calendarpanel,TABLE  | | | 38 | change('0,PID_TOOLKIT_POPUPCAL',[1,8,0,0,0],'14');  | | | 39 |   | | | 40 | // i-datefield-calendarpanel,TABLE  | | | 41 | click('0,PID_TOOLKIT_POPUPCAL',[1,8,0,0,0,14], 'left');  | | | 42 |   | | | 43 | // i-textfield i-textfield-focus,INPUT  | | | 44 | click('0,PID_SBasicTextField',undefined, 'left');  | | | 45 | // i-textfield,INPUT  | | | 46 | change('0,PID_SBasicTextField',undefined,'aaa');  | | | 47 | // i-datefield,DIV  | | | 48 | change('0,PID_SYearResolutionDateField',[0],'2000');  | | | 49 |   | | | 50 | // i-datefield,DIV  | | | 51 | assert('0,PID_SMinuteResolutionDateField',[0], 'equals', 'INPUT( v:1.2.1998 14:14 c:i-textfield)');  | Equals assert OK! | | 52 |   | | | 53 | // i-datefield,DIV  | | | 54 | assert('0,PID_SYearResolutionDateField',[0], 'equals', 'INPUT( v:2000 c:i-textfield)');  | Equals assert OK! | | 55 |   | | | 56 | // i-tree,DIV  | | | 57 | click('0,PID_SFeatureBrowser: Main Tree',[0,1,0,1,2,0,0], 'left');  | | | 58 |   | | | 59 | // i-tree,DIV  | | | 60 | click('0,PID_SFeatureBrowser: Main Tree',[0,1,0,1,1,0,0], 'left');  | | | 61 |   | | | 62 | // i-tree,DIV  | | | 63 | click('0,PID_SFeatureBrowser: Main Tree',[0,1,0,1,2,0,0], 'left');  | | | 64 |   | | | 65 | // i-datefield,DIV  | | | 66 | assert('0,PID_SDayResolutionDateField',[0], 'equals', 'INPUT( v:17.2.1998 c:i-textfield)');  | Equals assert OK! | | 67 |   | | | 68 | // i-datefield,DIV  | | | 69 | assert('0,PID_SMinuteResolutionDateField',[0], 'equals', 'INPUT( v:1.2.1998 14:14 c:i-textfield)');  | Equals assert OK! | |