| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _9EiiQIIzEeKQ1rzvYVAqIg,_yC1IUYIzEeKQ1rzvYVAqIg,_SWZS0IrmEeKFictDEDHejA |
| Element-Name: QS-2167_DateTime picker in pop-up window |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: http://jira4.xored.com/browse/QS-2167 |
| Id: __w3X4IIuEeKinvTtsw86yA |
| Save-Time: 7/15/13 5:46 PM |
| Testcase-Type: ecl |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa |
| Content-Type: text/plain |
| Entry-Name: .description |
| |
| I see two problems here: |
| |
| 1. We do not record DefaultSelection (double-click) for DateTime widget, but we should. |
| |
| 2. Lack of pop-up window deactivation processing. |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| get-view "Q7 Explorer" | get-tree | select "Q7ProjectMockUp/Test" | double-click |
| get-editor Test | get-button Record | click |
| |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args "-r \"C:\\Users\\bamboo\\Documents\\SikuliTests\\DateTimePicker.sikuli\" -s" -ignoreExitCode |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/DateTimePicker.sikuli}\" -s"] -ignoreExitCode |
| exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/DateTimePicker.sikuli}\""]"-s"-ignoreExitCode |
| get-window "Q7 Control Panel.*" | get-button Stop | click |
| |
| get-window "Q7 Control Panel.*" | get-editbox | get-property text |
| | contains "with [get-view \"Q7 Quality Mockups\"] {\n" |
| + " get-tree | select \"issues/QS-2167 - DateTime picker in pop-up window\"\n" |
| + " get-group \"QS-2167 - DateTime picker in pop-up window\" | get-editbox | click-text 11\n}\n" |
| + "get-window \"Pick a Date\" | get-date-time | set-value" | verify-true |
| |
| |
| get-window "Q7 Control Panel - Test (Q7ProjectMockUp) - Q7MockUp" | get-editbox | get-property text |
| | contains "get-view \"Q7 Quality Mockups\" | get-group \"QS-2167 - DateTime picker in pop-up window\" | get-editbox \n" |
| + " | set-text" | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |