blob: 3d6ce8eec86ccbb2e8c8bb1908fe4f350db164ff [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: TC_InterReferencedAdditionsMandatory
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _NC530OOdEeaykLJOso5MtA
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 "InterReferencedAdditionsMandatory"
/* Compare Example models */
compare-examples-for-impact-analysis
/* Cancel merging */
with [get-editor "Compare ('Ex1' - 'Ex2')"] {
get-tree | select "Root (5)/Node N1"
get-button "Apply deletion on the left" | click
}
check-changes "Required" "Node N1/Deletion"
check-changes "Implied" "Referencing Node RN1/Deletion"
check-changes "Implied" "Referencing Node RN2/Deletion"
check-changes "Implied" "Referencing Node RN3/Deletion"
check-changes "Implied" "Referencing Node RN4/Deletion"
get-window "Merge Operation" | get-button Cancel | click
get-editor "Compare ('Ex1' - 'Ex2')" | get-tree | get-property itemCount | equals 1 | verify-true
/* Merge some of changes */
with [get-editor "Compare ('Ex1' - 'Ex2')"] {
get-tree | select "Root (5)/Referencing Node RN4"
get-button "Apply changes to the right" | click
}
check-changes "Required" "Referencing Node RN4/Addition into Root \\(via 'content'\\)"
check-changes "Implied" "Node N1/Addition into Root \\(via 'content'\\)"
check-changes "Implied" "Referencing Node RN1/Addition into Root \\(via 'content'\\)"
check-changes "Implied" "Referencing Node RN2/Addition into Root \\(via 'content'\\)"
check-changes "Implied" "Referencing Node RN3/Addition into Root \\(via 'content'\\)"
get-window "Merge Operation" | get-button OK | click
get-editor "Compare ('Ex1' - 'Ex2')" | get-tree | get-property itemCount | equals 0 | verify-true
/* 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--