| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _g1CYYY-hEeK_GsTYGlxpVQ,_ilbtEI-jEeK_GsTYGlxpVQ,_C5JFEJFREeKB3JYeMlqZeA |
| Element-Name: QS-357_Key press recording should be platform independant. |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _kC6XwJFQEeKB3JYeMlqZeA |
| Save-Time: 7/15/13 5:59 PM |
| Testcase-Type: ecl |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| get-view "Q7 Explorer" | get-tree | select "Vozone/TextFile" | double-click |
| get-editor TextFile | get-button Record | click |
| |
| get-aut Vozone|eval{ |
| |
| get-editor file1 | get-text-viewer | set-caret-pos 1 1 |
| |
| } |
| |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/CtrlAltShift.sikuli}\" -s"] -ignoreExitCode |
| exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/CtrlAltShift.sikuli}\""]"-s"-ignoreExitCode |
| |
| with [get-window "Q7 Control Panel.*"] { |
| get-button Stop | click |
| } |
| get-window "Q7 Control Panel.*" | get-editbox | get-property text |
| | equals "with [get-editor file1 | get-text-viewer] {\n" |
| + " key-type \"M1+ARROW_RIGHT\"\n" |
| + " key-type \"M3+ARROW_RIGHT\"\n" |
| + " type-text \"♠\"\n" |
| + " key-type \"M2+ARROW_RIGHT\"\n" |
| + "}" | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |