| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _SapwEL4pEeOsAoUpt_cnqw,_LOMGYGrvEeK_JdLra2Bk5A,_jRtbsGrtEeK_JdLra2Bk5A |
| Element-Name: ts016_tc024_filters_popup_always_synchronize |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _2RcMMMClEeO8eNTYV1NAnA |
| Q7-Runtime-Version: 1.3.10.201312200736 |
| Save-Time: 4/10/14 4:44 PM |
| Testcase-Type: ecl |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa |
| Content-Type: text/plain |
| Entry-Name: .description |
| |
| This test must validate the filters popup. It test that if the user click on "Yes" and has checked "Do not ask again" the window do not appear anymore and the filters are synchronized. |
| |
| 1. Starts a comparison |
| 2. Deactivates "Identical elements" filters |
| 3. Checks "Do not ask again" and "Yes" |
| 4. Check preferences |
| 5. Close editor |
| 6. Restarts the comparison |
| 7. Checks that "Identical elements" is deactivated |
| 8. Deactivates "Empty resource mappings" |
| 9. Checks preferences |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| with [get-view "Package Explorer" | get-tree] { |
| select "Library/extlibraryLeft.ecore" "Library/extlibraryRight.ecore" |
| get-menu "Compare With/Each Other" | click |
| } |
| get-editor "Compare (\'Library/extlibraryLeft.ecore\' - \'Library/extlibraryRight.ecore\')" | get-button Filters |
| | click -arrow |
| //Click "Yes" and "Do not ask again" |
| get-menu "Identical elements" | click |
| with [get-window "Filters preference"] { |
| get-button "Do not ask me again." | check |
| get-button Yes | click |
| } |
| //Checks preferences |
| get-preferences-menu | click |
| with [get-window Preferences] { |
| get-table | get-item "Identical elements" | get-property checked | equals false | verify-true |
| get-group "Automatic behavior" | get-combo -after [get-label "Synchronize current filter selection:"] |
| | get-property selection | equals always | verify-true |
| } |
| get-window Preferences | get-button OK | click |
| //Closes editor |
| get-editor "Compare (\'Library/extlibraryLeft.ecore\' - \'Library/extlibraryRight.ecore\')" | close |
| //Restarts comparison |
| with [get-view "Package Explorer" | get-tree] { |
| select "Library/extlibraryLeft.ecore" "Library/extlibraryRight.ecore" |
| get-menu "Compare With/Each Other" | click |
| } |
| get-editor "Compare (\'Library/extlibraryLeft.ecore\' - \'Library/extlibraryRight.ecore\')" | get-button Filters |
| | click -arrow |
| //Checks that "Identical elements" filter is deactivated |
| get-menu "Identical elements" | get-property selection | equals false | verify-true |
| |
| get-menu "Empty resource mappings" | click |
| //Checks preferences |
| get-preferences-menu | click |
| get-window Preferences | get-table | get-item "Empty resource mappings" | get-property checked | equals false |
| | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |