| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Contexts: _SapwEL4pEeOsAoUpt_cnqw,_LOMGYGrvEeK_JdLra2Bk5A |
| Element-Name: ts016_tc026_post_processors_preference_page_modify_post_processors |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _taYtIMC_EeO8eNTYV1NAnA |
| Runtime-Version: 2.0.0.201506120617 |
| Save-Time: 3/21/16 10:57 AM |
| Testcase-Type: ecl |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa |
| Content-Type: text/plain |
| Entry-Name: .description |
| |
| This test must validate that post processor can be disabled from the preference page |
| |
| 1. Opens preference page |
| 2. Disables all post processors |
| 3. Close and open the preference page |
| 4. Checks the preferences |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| get-preferences-menu | click |
| with [get-window Preferences] { |
| get-tree | select "EMF Compare/Post Processors" |
| with [get-table] { |
| get-item "EGit Post Processor" | uncheck |
| get-item "UML Post Processor" | uncheck |
| get-item "Opaque Element Change Processor" | uncheck |
| get-item "Stereotyped element change post processor" | uncheck |
| get-item "Diagram Post processor" | uncheck |
| get-item "Ignore Papyrus Di-files Post-Processor" | uncheck |
| get-item "Papyrus Diagram Post-Processor" | uncheck |
| } |
| get-button OK | click |
| } |
| get-preferences-menu | click |
| with [get-window Preferences | get-table] { |
| get-property "getItems().TableItem[0].getChecked()" | equals false | verify-true |
| get-property "getItems().TableItem[1].getChecked()" | equals false | verify-true |
| get-property "getItems().TableItem[2].getChecked()" | equals false | verify-true |
| get-property "getItems().TableItem[3].getChecked()" | equals false | verify-true |
| get-property "getItems().TableItem[4].getChecked()" | equals false | verify-true |
| get-property "getItems().TableItem[5].getChecked()" | equals false | verify-true |
| get-property "getItems().TableItem[5].getChecked()" | equals false | verify-true |
| get-property "getItems().TableItem[6].getChecked()" | equals false | verify-true |
| } |
| get-window Preferences | get-button OK | click |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |