| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _qy4DwH_5EeK9FdRInrmHdQ,_DyPzwH_sEeKzh4ksbY4F-Q,_UHf2UIrhEeKFictDEDHejA |
| Element-Name: QS-101_Tesla records actions I did not perform |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: http://jira4.xored.com/browse/QS-101 |
| Id: _mAuVcISxEeKoJ7PviL-2Dw |
| Save-Time: 8/5/13 2:04 PM |
| Testcase-Type: ecl |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa |
| Content-Type: text/plain |
| Entry-Name: .description |
| |
| Creating new Ecore model: |
| |
| with [get-view "Package Explorer" | get-tree] { |
| get-item p | select |
| get-menu "New/Other..." | click |
| } |
| with [get-window New] { |
| get-tree | after [get-label "Wizards:"] | get-item "Eclipse Modeling Framework/Ecore Model" | select |
| get-button "Next >" | click |
| get-combo | after [get-label "Model Object"] | set-text EPackage // I did not set text to a combo and there's no combos on this page at all |
| get-button Finish | click |
| } |
| ------=_.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 [get-item Q7Project | get-item GeneralProjectWithFoldersAndFiles -index 1] |
| | double-click |
| get-editor GeneralProjectWithFoldersAndFiles | get-button Record | click |
| |
| wait 50 |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args "-r \"C:\\Users\\bamboo\\Documents\\SikuliTests\\CreateNewEcoreModel.sikuli\" -s" -ignoreExitCode |
| //exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/CreateNewEcoreModel.sikuli}\" -s"] -ignoreExitCode |
| exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/CreateNewEcoreModel.sikuli}\""]"-s"-ignoreExitCode |
| wait 100 |
| |
| get-window "Q7 Control Panel.*" | get-button Stop |
| | click |
| get-window "Q7 Control Panel.*" | get-editbox |
| | get-property text | equals "get-eclipse-window | key-type \"M1+n\"\n" |
| + "with [get-window New] {\n" |
| + " get-editbox -after [get-label \"Wizards:\"] | set-text ecore\n" |
| + " get-tree | select \"Eclipse Modeling Framework/Ecore Model\"\n" |
| + " get-button \"Next >\" | click\n" |
| + " get-tree | select MyProject\n" |
| + " get-button Finish | click\n" |
| + "}" | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |