| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _qy4DwH_5EeK9FdRInrmHdQ,_DyPzwH_sEeKzh4ksbY4F-Q,_AfBI8IrjEeKFictDEDHejA |
| Element-Name: QS-1967_Recorded script does not distinguish separate editors with the same title |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _0cnA4IVZEeKoJ7PviL-2Dw |
| Save-Time: 7/15/13 5:07 PM |
| Tags: skipExecution |
| 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 Q7Project | get-item JavaProjectWithClass -index 1] | double-click |
| get-editor JavaProjectWithClass | get-button Record | click |
| wait 50 |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args "-r \"C:\\Users\\bamboo\\Documents\\SikuliTests\\SameNamedEditors.sikuli\" -s" -ignoreExitCode |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/SameNamedEditors.sikuli}\" -s"] -ignoreExitCode |
| exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/SameNamedEditors.sikuli}\""]"-s"-ignoreExitCode |
| |
| get-window "Q7 Control Panel.*" | get-button Stop | click |
| get-window "Q7 Control Panel.*" | get-editbox | get-property text |
| | equals "get-button \"Link with Editor\" | click\n" |
| + "get-view \"Package Explorer\" | get-tree | select \"JavaProject/src/\\\\(default package\\\\)/Class1.java\" \n" |
| + " | select \"JavaProject/src/\\\\(default package\\\\)/Class1.java\" | get-menu \"Open With/Text Editor\" | click\n" |
| + "get-editor \"Class1.java\" -type \"Java Editor\" | click\n" |
| + "get-editor \"Class1.java\" -type \"Text Editor\" | click" | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |