blob: 395c471638c3cd981956c5f159e408fe638a8d55 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: TC_MandatoryRefChange
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _n730oOO5EeaykLJOso5MtA
Runtime-Version: 2.3.0.201805302312
Save-Time: 8/28/18 10:24 AM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
/* Copy current test files to Example project */
copy-example "MandatoryRefChange"
/* Compare Example models */
compare-examples-for-impact-analysis
/* Merging */
with [get-editor "Compare ('Ex1' - 'Ex2')"] {
get-tree | select "Root (3)/Node C (1)"
get-table -after [get-label "Details of the Node"] -index 2 | select "Edge Z (in Root)"
get-button "Apply deletion on the right" | click
}
check-changes "Required" "Node C/Reference 'incoming': deletion of Edge Z"
check-changes "Implied" "Edge Z/Reference 'target': addition of Node B"
check-changes "Implied" "Edge Z/Reference 'target': deletion of Node C"
check-changes "Implied" "Node B/Reference 'incoming': addition of Edge Z"
get-window "Merge Operation" | get-button OK | click
/* Check persistency */
check-persistency
//get-window Compare | get-property "getChildren().Control[1].getText()" | equals "There are no differences between the selected inputs." | verify-true
get-window Compare | get-button OK | click
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--