-
Notifications
You must be signed in to change notification settings - Fork 4
/
PressOnSimpleMessageBox.test
51 lines (49 loc) · 2.72 KB
/
PressOnSimpleMessageBox.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: PressOnSimpleMessageBox
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _oKQsQJ0EEeKUTbHlS7Hh6Q
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/messageBox/MessageBox Test"
set-dialog-result MessageBox 32
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-button "Simple Message Box Without Title" | click
set-dialog-result MessageBox 32
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-button "Simple Message Box Without Title" | click
set-dialog-result MessageBox 32
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-button "Message With Question" | click
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-editbox | get-property text | equals "Press OK"
| verify-true
set-dialog-result MessageBox 256
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-button "Message With Question" | click
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-editbox | get-property text | equals "Press Cancel"
| verify-true
set-dialog-result MessageBox 512
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-button "Message Box with RETRY Button" | click
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-editbox | get-property text | equals "Press ABORT"
| verify-true
set-dialog-result MessageBox 1024
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-button "Message Box with RETRY Button" | click
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-editbox | get-property text | equals "Press RETRY"
| verify-true
set-dialog-result MessageBox 2048
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-button "Message Box with RETRY Button" | click
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-editbox | get-property text | equals "Press IGNORE"
| verify-true
set-dialog-result MessageBox 64
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-button "Message Box with YES/NO Buttons" | click
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-editbox | get-property text | equals "Press YES"
| verify-true
set-dialog-result MessageBox 128
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-button "Message Box with YES/NO Buttons" | click
get-view "Q7 Quality Mockups" | get-group "MessageBox Test" | get-editbox | get-property text | equals "Press NO"
| verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--