-
Notifications
You must be signed in to change notification settings - Fork 4
/
PopUp Menu Test.test
49 lines (47 loc) · 2.68 KB
/
PopUp Menu Test.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
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _2jXpEHTyEeKQnp4qYEvDRA
Element-Name: PopUp Menu Test
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _viW_IKANEeK6Fo_2xChiPA
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
get-view "Q7 Quality Mockups" | get-tree | select "swt/menu/Menu Test"
with [get-view "Q7 Quality Mockups" | get-group "Menu Test" | get-label "Right-click to launch pop-up menu"] {
get-menu "Item3_Check" | click
get-menu "Item4_Radio" | click
}
with [get-view "Q7 Quality Mockups" | get-group "Menu Test" | get-label "Right-click to launch pop-up menu"] {
get-menu "Item5_Radio" | get-property caption | equals "Item5_Radio" | verify-true
get-menu "Item5_Radio" | get-property selection | equals false | verify-true
get-menu "Item5_Radio" | get-property enablement | equals false | verify-true
get-menu "Item5_Radio" | get-property index | equals 5 | verify-true
get-menu "Item4_Radio" | get-property caption | equals "Item4_Radio" | verify-true
get-menu "Item4_Radio" | get-property selection | equals true | verify-true
get-menu "Item4_Radio" | get-property enablement | equals true | verify-true
get-menu "Item4_Radio" | get-property index | equals 3 | verify-true
get-menu "Item4_Radio" | get-property cascade | equals false | verify-true
get-menu "Item3_Check" | get-property caption | equals "Item3_Check" | verify-true
get-menu "Item3_Check" | get-property selection | equals true | verify-true
get-menu "Item3_Check" | get-property enablement | equals true | verify-true
get-menu "Item3_Check" | get-property index | equals 2 | verify-true
get-menu "Item3_Check" | get-property cascade | equals false | verify-true
get-menu "Item2_Push" | get-property caption | equals "Item2_Push" | verify-true
get-menu "Item2_Push" | get-property selection | equals false | verify-true
get-menu "Item2_Push" | get-property enablement | equals true | verify-true
get-menu "Item2_Push" | get-property index | equals 1 | verify-true
get-menu "Item2_Push" | get-property cascade | equals false | verify-true
get-menu "Item1_Cascade" | get-property caption | equals "Item1_Cascade" | verify-true
get-menu "Item1_Cascade" | get-property selection | equals false | verify-true
get-menu "Item1_Cascade" | get-property enablement | equals true | verify-true
get-menu "Item1_Cascade" | get-property index | equals 0 | verify-true
get-menu "Item1_Cascade" | get-property cascade | equals true | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--