blob: e04eae87fed872311daf8840da664c7e5dbd5419 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _D4Pj4C3lEeSwhO5Nwx0hPg,_Iu0EsS36EeSYRYqCbC6LMQ
Element-Name: ViewEditorMultiEdit
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _1aNe4KerEeijWtYvZtcong
Runtime-Version: 2.2.0.201706152316
Save-Time: 8/24/18 5:10 PM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Project Explorer" | get-tree
| select "org.eclipse.emf.ecp.makeithappen.model.viewmodel/viewmodels/UserGroup.view"
| select "org.eclipse.emf.ecp.makeithappen.model.viewmodel/viewmodels/UserGroup.view" | get-menu
-path "Open With/View Model Editor" | click
with [get-editor "UserGroup.view"] {
with [get-tree] {
select View | get-menu -path Control | click
select View | get-menu -path Control | click
select [get-item -path View | get-item -path Control -index 1] "View/Control"
}
with [get-editbox -after [get-label Name]] {
set-text aaa
key-type "TRAVERSE_TAB_NEXT"
}
}
with [get-editor "UserGroup.view" | get-tree] {
get-item -path "View/aaa" | get-property caption | equals aaa | verify-true
get-item -path View | get-item -path aaa -index 1 | get-property caption | equals aaa | verify-true
}
with [get-editor "UserGroup.view"] {
get-tree | select "View/aaa"
get-editbox -after [get-label Name] | set-text x
get-tree | select "View/aaa" "View/x"
}
get-editor "UserGroup.view" | get-editbox -after [get-label Name] | get-property text | equals "" | verify-true
with [get-editor "UserGroup.view"] {
get-tree | select "View/x"
get-editbox -after [get-label Name] | set-text aaa
get-tree | select [get-item -path View | get-item -path aaa -index 1] "View/aaa"
}
get-editor "UserGroup.view" | get-editbox -after [get-label Name] | get-property text | equals aaa | verify-true
with [get-editor "UserGroup.view"] {
get-combo -after [get-label "Label Alignment*"] | select Top
get-tree | select "View/aaa"
}
get-editor "UserGroup.view" | get-combo -after [get-label "Label Alignment*"] | get-property selection | equals Top
| verify-true
get-editor "UserGroup.view" | get-tree | select [get-item -path View | get-item -path aaa -index 1]
get-editor "UserGroup.view" | get-combo -after [get-label "Label Alignment*"] | get-property selection | equals Top
| verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--