-
Notifications
You must be signed in to change notification settings - Fork 3
/
LaunchShortcutDebug.test
71 lines (69 loc) · 3.09 KB
/
LaunchShortcutDebug.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _d8d2kKyFEeqylZAj0d4Xnw,_rNkUAMEwEeqjcPTfvO5d8Q
Element-Name: LaunchShortcutDebug
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _azpG8MEqEeqjcPTfvO5d8Q
Runtime-Version: 2.5.4.202210020716
Save-Time: 4/18/24, 3:42 PM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Package Explorer" | get-tree | select test | get-menu -path "New/Other..." | click -metaKeys ""
with [get-window "Select a wizard"] {
get-tree | select "General/Folder"
get-button "Next >" | click -metaKeys ""
}
with [get-window "New Folder"] {
get-editbox -after [get-label "Folder name:"] | set-text generated
get-button Finish | click -metaKeys ""
}
get-view "Package Explorer" | get-tree | select "test/src/test/test.mtl" | get-menu
-path "Debug As/1 Debug Acceleo 4 generation" | click -metaKeys ""
with [get-window "Debug Configurations"] {
get-editbox -after [get-label "Create, manage, and run configurations"] | get-property text
| equals "Select a model file." | verify-true
get-group "Module file:" | get-editbox | get-property text | equals "/test/src/test/test.mtl" | verify-true
}
with [get-window "Debug Configurations"] {
get-group "Model file:" | get-button "Browse..." | click -metaKeys ""
get-window "Select the model file" | get-table | select "test.xmi - test" | double-click
}
get-window "Debug Configurations" | get-group "Model file:" | get-editbox | get-property text | equals "/test/test.xmi"
| verify-true
get-window "Debug Configurations" | get-editbox -after [get-label "Create, manage, and run configurations"]
| get-property text | equals "Select a destination folder." | verify-true
with [get-window "Debug Configurations"] {
get-group "Destination folder:" | get-button "Browse..." | click -metaKeys ""
with [get-window "Select the destination folder"] {
get-tree | select "test/generated"
get-button OK | click -metaKeys ""
}
}
with [get-window "Debug Configurations"] {
get-editbox -after [get-label "Create, manage, and run configurations"] | get-property text
| equals "Run and Debug Acceleo 4 generation" | verify-true
get-group "Destination folder:" | get-editbox | get-property text | equals "/test/generated" | verify-true
}
with [get-window "Debug Configurations"] {
get-button Apply | click -metaKeys ""
get-button Debug | click -metaKeys ""
}
get-view "Package Explorer" | get-tree | select "test/src/test/test.mtl" | get-menu
-path "Debug As/Debug Configurations..." | click -metaKeys ""
with [get-window "Debug Configurations"] {
get-tree | select "Acceleo 4/test.mtl" | get-menu -path Delete | click -metaKeys ""
get-window "Confirm Launch Configuration Deletion" | get-button Delete | click -metaKeys ""
get-button Close | click -metaKeys ""
}
with [get-view Debug] {
click
get-tree | select "<unknown>" | key-type Del
}
with [get-window "Terminate and Remove"] {
get-button Yes | click -metaKeys ""
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--