blob: c3d9a8a78037fcec2359de028e191051d1799916 [file] [log] [blame]
--- Q7 testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _9EiiQIIzEeKQ1rzvYVAqIg,_yC1IUYIzEeKQ1rzvYVAqIg,_JavfYLCWEeKCjKn9LC8fDA
Element-Name: SWT_ComboBox Edit Value
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _2ZajgLCVEeKCjKn9LC8fDA
Save-Time: 7/15/13 5:50 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 "swt/combobox/ComboBox Test"
}
}
//exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/ComboboxEdit.sikuli}\" -s"] -ignoreExitCode
exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/ComboboxEdit.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 \"swt/combobox/ComboBox Test\"\n"
+ " get-group \"ComboBox Test\" | get-combo -after [get-label \"Editable ComboBox\"] | set-text \"New Value\"\n"
+ "}" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--