| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _g1CYYY-hEeK_GsTYGlxpVQ,_ilbtEI-jEeK_GsTYGlxpVQ,_uC0BUJFOEeKB3JYeMlqZeA |
| Element-Name: QS-285_Q7 can't set value to GEF activity cell editor. |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _fPoWUJFNEeKB3JYeMlqZeA |
| Save-Time: 7/15/13 5:58 PM |
| Testcase-Type: ecl |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| get-view "Q7 Explorer" | get-tree | select [get-item Vozone | get-item ForEach -index 1] | double-click |
| get-editor ForEach | get-button Record | click |
| |
| get-aut Vozone | eval{ |
| |
| with [get-editor SO5] { |
| get-section Operations | get-table | select "operation\\(\\)" |
| get-section "Operation Properties" | get-button "Open Process Editor" | click |
| with [get-diagram | get-edit-part -className ProcessEditPart | get-edit-part -name ForEach1 | get-edit-part |
| -text newVar3] { |
| mouse-move 5 11 button1 -height 21 -width 55 |
| mouse-press 5 11 button1 -height 21 -width 55 |
| mouse-release 5 11 button1 524288 -height 21 -width 55 |
| mouse-move 0 10 -height 21 -width 55 |
| } |
| } |
| } |
| |
| |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/SelectVar.sikuli}\" -s"] -ignoreExitCode |
| exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/SelectVar.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-editor SO5] {\n" |
| + " get-section Operations | get-table | select \"operation\\\\(\\\\)\"\n" |
| + " get-section \"Operation Properties\" | get-button \"Open Process Editor\" | click\n" |
| + " with [get-diagram | get-edit-part -className ProcessEditPart | get-edit-part -name ForEach1 | get-edit-part \n" |
| + " -text newVar3] {\n" |
| + " mouse-move 5 11 button1 -height 21 -width 55\n" |
| + " mouse-press 5 11 button1 -height 21 -width 55\n" |
| + " mouse-release 5 11 button1 524288 -height 21 -width 55\n" |
| + " mouse-move 0 10 -height 21 -width 55\n" |
| + " }\n" |
| + " with [get-text-viewer] {\n" |
| + " key-type \"M1+SPACE\"\n" |
| + " key-type Down -times 2\n" |
| + " key-type Enter\n" |
| + " }\n" |
| + "}" | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |