| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _g1CYYY-hEeK_GsTYGlxpVQ,_ilbtEI-jEeK_GsTYGlxpVQ,_ePaD4JFXEeKB3JYeMlqZeA |
| Element-Name: QS-651_Q7 doesn't record DateTime values selection |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _Z7YMYI-2EeK_GsTYGlxpVQ |
| Save-Time: 7/15/13 6:01 PM |
| Tags: skipExecution |
| Testcase-Type: ecl |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| get-view "Q7 Explorer" | get-tree | select "Vozone/DateTime" | double-click |
| get-editor DateTime | get-button Record | click |
| |
| get-aut Vozone | eval{ |
| |
| with [get-editor SO6] { |
| with [get-palette] { |
| get-palette-entry "Note Attachment" | mouse-move 71 22 -height 23 -width 135 |
| get-palette-entry "Instance Reference" | mouse-move 59 18 -height 23 -width 135 |
| } |
| get-section Operations | get-table | select "operation\\(\\)" |
| get-section "Operation Properties" | get-button Run | click |
| } |
| get-window "Perspective Switch" | get-button OK | click |
| with [get-view "Input Data" | get-tree] { |
| select "SO6/attribute \\(datetime\\)" | activate-cell-edit -column 2 |
| get-button "..." | click |
| } |
| } |
| |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/Calendar.sikuli}\" -s"] -ignoreExitCode |
| exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/Calendar.sikuli}\""]"-s"-ignoreExitCode |
| |
| get-window "Q7 Control Panel.*" | get-button Stop | click |
| |
| |
| |
| get-window "Q7 Control Panel - DateTime (Vozone) - Vozone" | get-editbox | get-property text |
| | equals "with [get-editor SO6] {\n" |
| + " with [get-palette] {\n" |
| + " get-palette-entry \"Note Attachment\" | mouse-move 71 22 -height 23 -width 135\n" |
| + " get-palette-entry \"Instance Reference\" | mouse-move 59 18 -height 23 -width 135\n" |
| + " }\n" |
| + " get-section Operations | get-table | select \"operation\\\\(\\\\)\"\n" |
| + " get-section \"Operation Properties\" | get-button Run | click\n}\n" |
| + "get-window \"Perspective Switch\" | get-button OK | click\n" |
| + "with [get-view \"Input Data\" | get-tree] {\n" |
| + " select \"SO6/attribute \\\\(datetime\\\\)\" | activate-cell-edit -column 2\n" |
| + " cancel-cell-edit\n" |
| + " select \"SO6/attribute \\\\(datetime\\\\)\" | activate-cell-edit -column 2\n" |
| + " get-button \"...\" | click\n}\n" |
| + "with [get-window \"Enter Date and time\"] {\n" |
| + " with [get-date-time] {\n" |
| + " key-type Down\n" |
| + " set-value \"2013/4/26 0:0:0\"\n" |
| + " }\n" |
| + " get-button OK | click\n}\n" |
| + "get-view \"Input Data\" | get-tree | apply-cell-edit" | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |