blob: beb9a43e93445ac5f10763e8c4c6b62d32b3f514 [file] [log] [blame]
--- Q7 testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _9EiiQIIzEeKQ1rzvYVAqIg,_yC1IUYIzEeKQ1rzvYVAqIg,__xSFcO3YEeKG2fzTSHW0uw
Element-Name: QS-2633
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: __s0uIe3WEeKG2fzTSHW0uw
Save-Time: 7/16/13 12:34 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" | double-click
get-group CheckBoxCellEditor2 | get-button "Create New Person" | click
}
}
exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/QS-2633.sikuli}\""]"-s"-ignoreExitCode
get-window "Q7 Control Panel.*" | get-button Stop | click
get-window "Q7 Control Panel.*" | get-text-viewer | get-property "getText()"
| equals "with [get-view \"Q7 Quality Mockups\"] {\n"
+ " get-tree | select \"jface/tableViewer/CheckBoxCellEditor2\" | double-click\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"
+ "get-view \"Q7 Quality Mockups\" | get-group CheckBoxCellEditor2 | get-table | get-cell 0 1 | mouse up -count 1\n"
+ "with [get-view \"Q7 Quality Mockups\" | get-group CheckBoxCellEditor2 | get-table] {\n"
+ " select Name\n"
+ " get-cell 0 1 | check\n}\n"
+ "get-view \"Q7 Quality Mockups\" | get-group CheckBoxCellEditor2 | get-table | get-cell 0 1 | mouse up -count 1"
| verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--