blob: 78cca96b83d90048be99e869c8a0d6169d88522a [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _A2HhML-8EeO668you7X_bw,_LOMGYGrvEeK_JdLra2Bk5A
Element-Name: ts016_tc005_match_engine_configuration_reset_to_default
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _NWDZoL8tEeO668you7X_bw
Runtime-Version: 2.0.0.201506120617
Save-Time: 9/30/15 5:46 PM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
This test must validate the "Restore Defaults" feature in the "Engines" preference page.
1. Restore defaults parameter
2. Checks that the configuration of the default match engine has been reseted to default
3. Checks that all default engines are selected (Match, Equi, Diff, Conflict Detector and req)
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-preferences-menu | click
get-window Preferences | get-tree | select "EMF Compare/Engines"
get-window Preferences | get-table | select "Default Match engine"
with [get-window Preferences | get-group Configuration] {
get-button "When available: The engine will use some heuristics when identifiers are missing"
| get-property selected | equals false | verify-true
get-button "Only: Objects without identifiers will never be matched." | get-property selected | equals true
| verify-true
get-button "Never: Objects will be matched with some heuristics regardless of having identifiers."
| get-property selected | equals false | verify-true
}
get-window Preferences | get-button "Restore Defaults" | click
get-window Preferences | get-table | select "Default Match engine"
with [get-window Preferences | get-group Configuration] {
get-button "When available: The engine will use some heuristics when identifiers are missing"
| get-property selected | equals true | verify-true
get-button "Only: Objects without identifiers will never be matched." | get-property selected | equals false
| verify-true
get-button "Never: Objects will be matched with some heuristics regardless of having identifiers."
| get-property selected | equals false | verify-true
}
get-window Preferences | get-table | get-item "Default Match engine" | get-property selected | equals true | verify-true
get-window Preferences | get-tab-folder | get-tab-item Difference | click
get-window Preferences | get-table | get-item "Default Difference Engine" | get-property selected | equals true
| verify-true
get-window Preferences | get-tab-folder | get-tab-item Equivalence | click
get-window Preferences | get-table | get-item "Default Equivalence Engine" | get-property selected | equals true
| verify-true
get-window Preferences | get-tab-folder | get-tab-item Requirement | click
get-window Preferences | get-table | get-item "Default Requirement Engine" | get-property selected | equals true
| verify-true
get-window Preferences | get-tab-folder | get-tab-item Conflict | click
get-window Preferences | get-table | get-item "Default Conflict Detector" | get-property selected | equals true
| verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--