| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _9EiiQIIzEeKQ1rzvYVAqIg,_yC1IUYIzEeKQ1rzvYVAqIg,_UslZELYSEeKdvZsQc40i9Q |
| Element-Name: JFace_TableViewerListeners |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _h_43oLYREeKdvZsQc40i9Q |
| Save-Time: 7/15/13 5:44 PM |
| Testcase-Type: ecl |
| |
| ------=_.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 |
| |
| get-aut Q7MockUp | eval{ |
| |
| with [get-view "Q7 Quality Mockups" | get-tree] { |
| select "jface/tableViewer/CheckBoxCellEditor2" |
| } |
| |
| } |
| |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/TableViewerListeners.sikuli}\" -s"] -ignoreExitCode |
| exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/TableViewerListeners.sikuli}\""]"-s"-ignoreExitCode |
| get-window "Q7 Control Panel.*" | get-button Stop | click |
| get-window "Q7 Control Panel.*" | get-editbox | get-property text |
| | equals "with [get-view \"Q7 Quality Mockups\"] {\n" |
| + " get-tree | select \"jface/tableViewer/CheckBoxCellEditor2\"\n" |
| + " get-group CheckBoxCellEditor2 | get-button \"Create New Person\" | click\n}\n" |
| + "with [get-view \"Q7 Quality Mockups\" | get-group CheckBoxCellEditor2 | get-table] {\n" |
| + " select Name\n" |
| + " get-cell 0 1 | uncheck\n}\n" |
| + "with [get-view \"Q7 Quality Mockups\" | get-group CheckBoxCellEditor2 | get-table] {\n" |
| + " get-cell 0 1 | mouse up -count 1\n" |
| + " select Name | activate-cell-edit -column 2\n" |
| + " get-combo | select \"8 - 12\"\n" |
| + " apply-cell-edit\n" |
| + " select Name | activate-cell-edit\n" |
| + " get-editbox | set-text John\n" |
| + " apply-cell-edit\n" |
| + " select John | activate-cell-edit -column 3\n}\n" |
| + "set-dialog-result Color \"0,0,255\"\n" |
| + "with [get-view \"Q7 Quality Mockups\" | get-group CheckBoxCellEditor2 | get-table] {\n" |
| + " get-button \"...\" | click\n" |
| + " apply-cell-edit\n" |
| + "}" | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |