-
Notifications
You must be signed in to change notification settings - Fork 0
/
Test24.test
81 lines (78 loc) · 2.66 KB
/
Test24.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
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: Test24
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _FKJ28BhjEeeDmcx1Jt-Dcw
Runtime-Version: 2.1.0.201606221726
Save-Time: 4/3/17 1:48 PM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
Run Jimple Builder
------=_.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
}
get-button "Run Builder" | click
get-view CFG | click
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--