| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Context-Type: com.xored.q7.ecl.context |
| Element-Name: No Local Store |
| Element-Type: context |
| Element-Version: 2.0 |
| Id: _IuFcgFpZEeKcnaHGSt8OwA |
| Save-Time: 3/1/13 2:14 PM |
| |
| ------=_.ecl.context-718f04b4-ed39-33e3-af62-0995e4561998 |
| Content-Type: text/ecl |
| Entry-Name: .ecl.context |
| |
| try { |
| get-view "Model Repositories" | get-tree | select "Local EMFStore" | get-menu Login | click |
| } -catch {} |
| try { |
| get-window "Progress Information" |
| } -catch {} |
| try { |
| with [get-window "Progress Information" | get-window "Authentication required"] { |
| get-combo -after [get-label Username] | set-text super |
| get-editbox -after [get-label Password] | set-text super |
| get-button OK | click |
| } |
| } -catch {} |
| try { |
| with [get-view "Model Repositories"] { |
| click |
| with [get-tree] { |
| with[ get-item "Local EMFStore"]{ |
| |
| if -condition [get-property "getExpanded()"] -then |
| { |
| collapse-all |
| } -else { |
| expand-all |
| } |
| get-items | foreach { |
| select-item | get-menu "Delete on server" | click |
| get-window Confirmation | get-button Yes | click |
| } |
| } |
| } |
| } |
| } -catch {} |
| try { |
| get-view "Model Repositories" | get-tree | select "Local EMFStore" | get-menu Logout | click |
| } -catch {} |
| ------=_.ecl.context-718f04b4-ed39-33e3-af62-0995e4561998-- |