-
Notifications
You must be signed in to change notification settings - Fork 4
/
CComboTest.test
51 lines (49 loc) · 1.98 KB
/
CComboTest.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _2jXpEHTyEeKQnp4qYEvDRA
Element-Name: CComboTest
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _xe5w0JIWEeKfYL913WzMiQ
Runtime-Version: 1.5.6.qualifier
Save-Time: 4/1/15 12:04 PM
Tags: swt
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
with [get-view "Q7 Quality Mockups"] {
get-tree | select "swt/ccombo/CCombo Test" | double-click
get-group "CCombo Test" | get-combo -after [get-label "Editable CCombo"] | select Three
}
with [get-view "Q7 Quality Mockups" | get-group "CCombo Test" | get-combo -after [get-label "Editable CCombo"]] {
get-property selection | equals Three | verify-true
get-property values -index 0 | equals One | verify-true
get-property values -index 1 | equals Two | verify-true
get-property values -index 2 | equals Three | verify-true
}
with [get-view "Q7 Quality Mockups" | get-group "CCombo Test" | get-combo -after [get-label "Editable CCombo"]] {
key-type Up -times 2
select Two
key-type Up -times 2
select One
key-type Enter -times 2
}
with [get-view "Q7 Quality Mockups" | get-group "CCombo Test" | get-combo -after [get-label "Editable CCombo"]] {
get-property selection | equals One | verify-true
get-property values -index 0 | equals One | verify-true
get-property values -index 1 | equals Two | verify-true
get-property values -index 2 | equals Three | verify-true
}
with [get-view "Q7 Quality Mockups" | get-group "CCombo Test" | get-combo -after [get-label "Editable CCombo"]] {
key-type Down -times 2
select Two
key-type Enter -times 2
}
with [get-view "Q7 Quality Mockups" | get-group "CCombo Test" | get-combo -after [get-label "Editable CCombo"]] {
get-property enablement | equals true | verify-true
get-property selection | equals Two | verify-true
get-property readOnly | equals false | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--