| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _qy4DwH_5EeK9FdRInrmHdQ,_DyPzwH_sEeKzh4ksbY4F-Q,_BNeU8IrkEeKFictDEDHejA |
| Element-Name: QS-2199_Clicks on perspective buttons are not recorded |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: http://jira4.xored.com/browse/QS-2199, http://jira4.xored.com/browse/QS-2203 |
| Id: _Sa2TIYSSEeK0gZAoHFUCEg |
| Save-Time: 7/15/13 5:09 PM |
| Testcase-Type: ecl |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa |
| Content-Type: text/plain |
| Entry-Name: .description |
| |
| |
| |
| 1) Clicks on perspective buttons are not recorded |
| 2) Search by text for tool button, if no tooltip available |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| get-view "Q7 Explorer" | get-tree | select "Q7Project/JavaPerspective_EmptyWorkspace" | double-click |
| get-editor "JavaPerspective_EmptyWorkspace" | get-button Record | click |
| wait 50 |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args "-r \"C:\\Users\\bamboo\\Documents\\SikuliTests\\ClickPerspectiveButtons.sikuli\" -s" -ignoreExitCode |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/ClickPerspectiveButtons.sikuli}\" -s"] -ignoreExitCode |
| exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/ClickPerspectiveButtons.sikuli}\""]"-s"-ignoreExitCode |
| get-window "Q7 Control Panel.*" | get-button Stop |
| | click |
| get-window "Q7 Control Panel.*" | get-editbox | get-property text |
| | contains "get-button \"Open Perspective\" | click\n" |
| + "get-window \"Open Perspective\" | get-table | select Debug | double-click\n" |
| + "get-button Java | click\n"| verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |