/
MovingInScale.test
42 lines (40 loc) · 1.37 KB
/
MovingInScale.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
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _2jXpEHTyEeKQnp4qYEvDRA
Element-Name: MovingInScale
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _AAyvsJd3EeKUTbHlS7Hh6Q
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/sliders/Scale Test" | double-click
with [get-group "Scale Test" | get-control Any -index 1] {
click
click
click
}
}
with [get-view "Q7 Quality Mockups" | get-group "Scale Test"] {
get-editbox | get-property text | equals "Moving is executed" | verify-true
get-control Any -index 1 | get-property "getSelection()" | equals 15 | verify-true
}
with [get-view "Q7 Quality Mockups" | get-group "Scale Test" | get-control Any -index 4] {
click
click
}
with [get-view "Q7 Quality Mockups" | get-group "Scale Test"] {
get-editbox -after [get-label "Volume:"] | get-property text | equals "Vol: 10" | verify-true
with [get-control Any -index 4] {
get-property "getMaximum()" | equals 20 | verify-true
get-property "getMinimum()" | equals 0 | verify-true
get-property "getSelection()" | equals 10 | verify-true
}
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--