| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _rr2EEFpSEeKcnaHGSt8OwA,_f3qEUVpSEeKcnaHGSt8OwA,_YQj0cT-VEeK-yuKsz0Lang |
| Element-Name: DeleteElements |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _0JrbIEIsEeKQh80wtWssKQ |
| Save-Time: 1/29/13 11:53 AM |
| Testcase-Type: ecl |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| get-view "Model Explorer" | get-tree | select "TestProject/League Europe" | double-click |
| with [get-editor "League Europe"] { |
| get-editbox -after [get-label Name] | set-focus |
| get-button -index 0 | click |
| } |
| get-view "Model Explorer" | get-tree | get-item TestProject | get-property childCount | equals 2 | verify-true |
| get-view "Model Explorer" | get-tree | select "TestProject/League America/Player Jonas" | double-click |
| with [get-view "Model Explorer" | get-tree] { |
| select "TestProject/League America/Player Jonas" | get-menu "Delete Model Element" | click |
| select "TestProject/Tournament Pro/Matchup/Game" | double-click |
| } |
| get-editor Game | get-label "(Not Set)" | get-property caption | equals "(Not Set)" | verify-true |
| get-view "Model Explorer" | get-tree | select "TestProject/Tournament Pro" | get-menu "Delete Model Element" | click |
| get-tab-folder -index 1 | get-property tabCount | equals 0 | verify-true |
| |
| get-view "Model Explorer" | get-tree | select TestProject | get-menu Delete | click |
| get-window Delete | get-button Cancel | click |
| get-view "Model Explorer" | get-tree | select "TestProject/League America/Player Maximilian" | double-click |
| get-view "Model Explorer" | get-tree | select "TestProject/League America" | double-click |
| get-editor "League America" | get-editbox -after [get-label Name] | set-focus |
| get-view "Model Explorer" | get-tree | select TestProject | get-menu Delete | click |
| get-window Delete | get-button OK | click |
| get-tab-folder -index 1 | get-property tabCount | equals 0 | verify-true |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |