/
TableViewer_CheckBoxCellEditor.test
42 lines (40 loc) · 1.54 KB
/
TableViewer_CheckBoxCellEditor.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: TableViewer_CheckBoxCellEditor
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _BEs2QaV5EeKpM48N8tRBYw
Runtime-Version: 1.5.6.qualifier
Save-Time: 4/1/15 12:04 PM
Tags: jface
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 "jface/tableViewer/CheckBoxCellEditor2"
get-group CheckBoxCellEditor2 | get-button "Create New Person" | click
}
with [get-view "Q7 Quality Mockups" | get-group CheckBoxCellEditor2 | get-table] {
select Name
get-cell 0 1 | uncheck
}
with [get-view "Q7 Quality Mockups" | get-group CheckBoxCellEditor2 | get-table] {
//get-cell 0 1 | mouse down -with Left -count 1
get-cell 0 1 | check
//get-cell 0 1 | mouse down -with Left -count 1
}
with [get-view "Q7 Quality Mockups" | get-group CheckBoxCellEditor2 | get-table] {
get-item Name | get-property columns -index 0 | equals Name | verify-true
get-item Name | get-property columns -index 1 | equals true | verify-true
get-item Name | get-property columns -index 2 | equals 0 | verify-true
get-item Name | get-property columns -index 3 | equals "RGB {255, 0, 0}" | verify-true
}
with [get-view "Q7 Quality Mockups" | get-group CheckBoxCellEditor2 | get-table] {
select Name | activate-cell-edit -column 2
get-combo | select "8 - 12"
apply-cell-edit
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--