-
Notifications
You must be signed in to change notification settings - Fork 4
/
SelectionInDropDownToolbar.test
35 lines (33 loc) · 1.34 KB
/
SelectionInDropDownToolbar.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
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _2jXpEHTyEeKQnp4qYEvDRA
Element-Name: SelectionInDropDownToolbar
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _SfSNUKAUEeKUTbHlS7Hh6Q
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/toolbar/ToolBarWithDropDown Test"
with [get-group "ToolBarWithDropDown Test"] {
get-button -index 0 | click -arrow
get-control Any -index 0 | get-menu "Item 2" | click
}
}
get-view "Q7 Quality Mockups" | get-group "ToolBarWithDropDown Test" | get-editbox | get-property text
| equals "Item 2" | verify-true
with [get-view "Q7 Quality Mockups" | get-group "ToolBarWithDropDown Test"] {
get-button -index 0 | click -arrow
get-control Any -index 0 | get-menu "Item 5" | click
}
get-view "Q7 Quality Mockups" | get-group "ToolBarWithDropDown Test" | get-editbox | get-property text
| equals "Item 5" | verify-true
get-view "Q7 Quality Mockups" | get-group "ToolBarWithDropDown Test" | get-button -index 0
| get-property "getParent().getItems().ToolItem[0].getStyle()" | equals "[DROP_DOWN]" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--