blob: 395c471638c3cd981956c5f159e408fe638a8d55 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: TC_MandatoryRefChange
Element-Type: testcase
Element-Version: 3.0
Id: _n730oOO5EeaykLJOso5MtA
Save-Time: 8/28/18 10:24 AM
Testcase-Type: ecl
Content-Type: text/ecl
Entry-Name: .content
/* Copy current test files to Example project */
copy-example "MandatoryRefChange"
/* Compare Example models */
/* 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 */
//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