-
Notifications
You must be signed in to change notification settings - Fork 0
/
Test13.test
113 lines (110 loc) · 4.43 KB
/
Test13.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: Test13
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _PsbdYBKFEeeWDM4Q2YTK8w
Runtime-Version: 2.1.0.201606221726
Save-Time: 3/27/17 2:51 AM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
Delete Conditional Breakpoint
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-button "Open Perspective" | get-property selected | equals false | verify-true
get-button "Open Perspective" | click
get-window "Open Perspective" | get-table | get-item Visuflow | get-property selected | equals false | verify-true
with [get-window "Open Perspective"] {
get-table | select Visuflow
get-button OK | click
}
get-menu "Window/Show View/Other..." | click
with [get-window "Show View"] {
with [get-tree] {
select "Visuflow/CFG" | key-type "M2+ARROW_DOWN"
select "Visuflow/CFG" "Visuflow/Results"
key-type "M2+ARROW_DOWN"
select "Visuflow/CFG" "Visuflow/Results" "Visuflow/Unit Inspection View"
}
get-button OK | click
}
get-menu "Window/Show View/Other..." | click
with [get-window "Show View"] {
get-tree | select "General/Project Explorer"
get-button OK | click
}
get-menu "File/Import..." | click
with [get-window Import] {
get-tree | select "General/Existing Projects into Workspace"
get-button "Next >" | click
}
set-dialog-result Folder "C:\\Users\\ram\\Downloads\\TaintProject\\TaintProject"
with [get-window Import] {
get-button "Browse..." | click
get-button Finish | click
}
get-menu "File/Import..." | click
with [get-window Import] {
get-tree | select "General/Existing Projects into Workspace"
get-button "Next >" | click
}
set-dialog-result Folder "C:\\Users\\ram\\Downloads\\visuflow-workspace\\VisuFlowSheet1"
with [get-window Import] {
get-button "Browse..." | click
get-button Finish | click
}
get-button "Link Target Project" | get-property selected | equals false | verify-true
get-button "Link Target Project" | click
with [get-window "Link Analysis and Target Project"] {
get-button "Browse..." | click
with [get-window "Folder Selection"] {
get-tree | select VisuFlowSheet1
get-button OK | click
}
get-button "Browse..." -after [get-label "Choose Target Project:"] | click
with [get-window "Folder Selection"] {
get-tree | select TaintProject
get-button OK | click
}
get-button Apply | click
}
with [get-view "Project Explorer" | get-tree] {
select VisuFlowSheet1 | get-menu "Configure/Disable Jimple Builder" | click
select VisuFlowSheet1 | get-menu "Configure/Enable Jimple Builder" | click
}
get-view CFG | click
get-view "Project Explorer" | get-tree | select "VisuFlowSheet1/src/de.visuflow.ex2/IntraproceduralAnalysis.java"
| double-click
get-editor "IntraproceduralAnalysis.java" | get-left-ruler | get-ruler-column AnnotationColumn | double-click-ruler 33
with [get-editor "IntraproceduralAnalysis.java" | get-canvas -index 1] {
get-menu "Unit Breakpoint Properties" | get-property caption | equals "Unit Breakpoint Properties" | verify-true
get-menu "Unit Breakpoint Properties" | get-property selection | equals false | verify-true
}
with [get-editor "IntraproceduralAnalysis.java" | get-left-ruler] {
get-ruler-column AnnotationColumn | click-ruler -line 33 -button Right
get-menu "Unit Breakpoint Properties" | click
}
with [get-window "Unit Breakpoint Properties" | get-editbox
-after [get-label "Selected the unit to suspend on by clicking on a line below:"]] {
get-property containMenu | equals false | verify-true
get-property "isTextSelected()" | equals false | verify-true
}
with [get-window "Unit Breakpoint Properties"] {
get-editbox -after [get-label "Selected the unit to suspend on by clicking on a line below:"] | set-text-offset 14 4
get-button OK | click
}
with [get-editor "IntraproceduralAnalysis.java" | get-left-ruler | get-ruler-column AnnotationColumn] {
hover-ruler -line 33
double-click-ruler 33
}
with [get-window "Confirm Conditional Breakpoint Delete" | get-button OK] {
get-property caption | equals OK | verify-true
get-property selected | equals false | verify-true
}
get-window "Confirm Conditional Breakpoint Delete" | get-button OK | click
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--