| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _rr2EEFpSEeKcnaHGSt8OwA,_f3qEUVpSEeKcnaHGSt8OwA,_YQj0cT-VEeK-yuKsz0Lang |
| Element-Name: LinkWithEditor |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _TgrUMUIiEeKQh80wtWssKQ |
| Save-Time: 2/12/13 2:06 PM |
| 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 America" | double-click |
| get-editor "League America" | get-editbox -after [get-label Name] | set-focus |
| get-view "Model Explorer" | get-tree | select "TestProject/League America/Player Jonas" | double-click |
| get-view "Model Explorer" | get-tree | select "TestProject/League America/Player Maximilian" | double-click |
| get-view "Model Explorer" | get-tree | select "TestProject/League Europe" | double-click |
| get-editor "League Europe" | get-editbox -after [get-label Name] | set-focus |
| with [get-view "Model Explorer" | get-tree] { |
| select "TestProject/Tournament Pro/Matchup" | double-click |
| select "TestProject/Tournament Pro/Matchup/Game" | double-click |
| select "TestProject/Tournament Pro/Matchup" |
| } |
| // toggle 'Link with editor' on |
| if [get-button "Link with editor" | get-property selected -raw | bool | not] { |
| get-button "Link with editor" | click |
| } |
| get-view "Model Explorer" | get-tree | select "TestProject/Tournament Pro/Matchup" |
| get-tab-folder -index 1 | get-property activePage | equals Matchup | verify-true |
| get-view "Model Explorer" | get-tree | select "TestProject/League America/Player Maximilian" |
| get-tab-folder -index 1 | get-property activePage | equals "Player Maximilian" | verify-true |
| get-view "Model Explorer" | get-tree | select TestProject | get-menu Delete | click |
| get-window Delete | get-button OK | click |
| get-button "Link with editor" | click |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |