-
Notifications
You must be signed in to change notification settings - Fork 4
/
CheckSameNamedSections.test
34 lines (32 loc) · 1.42 KB
/
CheckSameNamedSections.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _2jXpEHTyEeKQnp4qYEvDRA
Element-Name: CheckSameNamedSections
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _FMCt4KcgEeKonO_dRswN5g
Runtime-Version: 2.5.0.201910250831
Save-Time: 11/7/19 5:42 PM
Tags: eclipse_forms
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Q7 Quality Mockups" | get-tree | select "eclipse/form/FormWithSection"
with [get-view "Q7 Quality Mockups" | get-group FormWithSection] {
with [get-section "Section 2"] {
get-property className | equals "org.eclipse.ui.forms.widgets.Section" | verify-true
get-property "getText()" | equals "Section 2" | verify-true
}
with [get-section "Section 2" -after [get-label "Eclipse Forms API Example"] -index 1] {
get-property className | equals "org.eclipse.ui.forms.widgets.Section" | verify-true
get-property "getText()" | equals "Section 2" | verify-true
}
}
get-view "Q7 Quality Mockups" | get-group FormWithSection | get-section "Section 2" | get-property "getDescription()"
| equals Section2 | verify-true
get-view "Q7 Quality Mockups" | get-group FormWithSection | get-section "Section 2"
-after [get-label "Eclipse Forms API Example"] -index 1 | get-property "getDescription()" | equals "Section2_1"
| verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--