-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathDemo.xml
141 lines (141 loc) · 5.78 KB
/
Demo.xml
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?xml version='1.0' encoding='utf-8'?>
<testsuite name="">
<node_order><![CDATA[]]></node_order>
<details><![CDATA[]]></details>
<testsuite name="Demo">
<node_order><![CDATA[0]]></node_order>
<details><![CDATA[]]></details>
<testsuite name="测试集合1">
<node_order><![CDATA[0]]></node_order>
<details><![CDATA[]]></details>
<testcase name="登录case">
<node_order><![CDATA[0]]></node_order>
<externalid><![CDATA[]]></externalid>
<version><![CDATA[1]]></version>
<summary><![CDATA[登录case]]></summary>
<preconditions><![CDATA[前置条件,网络正常]]></preconditions>
<execution_type><![CDATA[1]]></execution_type>
<importance><![CDATA[3]]></importance>
<steps>
<step>
<step_number><![CDATA[1]]></step_number>
<actions><![CDATA[点击登录]]></actions>
<expectedresults><![CDATA[ 跳转到登录页面]]></expectedresults>
<execution_type><![CDATA[1]]></execution_type>
</step>
<step>
<step_number><![CDATA[2]]></step_number>
<actions><![CDATA[输入正确账号密码点击登录 ]]></actions>
<expectedresults><![CDATA[ 登录成功]]></expectedresults>
<execution_type><![CDATA[1]]></execution_type>
</step>
<step>
<step_number><![CDATA[3]]></step_number>
<actions><![CDATA[输入错误账号密码 ]]></actions>
<expectedresults><![CDATA[ 提示错误]]></expectedresults>
<execution_type><![CDATA[1]]></execution_type>
</step>
</steps>
</testcase>
<testcase name="用例描述">
<node_order><![CDATA[1]]></node_order>
<externalid><![CDATA[]]></externalid>
<version><![CDATA[1]]></version>
<summary><![CDATA[用例描述]]></summary>
<preconditions><![CDATA[前置条件]]></preconditions>
<execution_type><![CDATA[1]]></execution_type>
<importance><![CDATA[2]]></importance>
</testcase>
<testcase name="把大象装进冰箱">
<node_order><![CDATA[2]]></node_order>
<externalid><![CDATA[]]></externalid>
<version><![CDATA[1]]></version>
<summary><![CDATA[把大象装进冰箱]]></summary>
<execution_type><![CDATA[1]]></execution_type>
<importance><![CDATA[1]]></importance>
<steps>
<step>
<step_number><![CDATA[1]]></step_number>
<actions><![CDATA[打开冰箱]]></actions>
<execution_type><![CDATA[1]]></execution_type>
</step>
<step>
<step_number><![CDATA[2]]></step_number>
<actions><![CDATA[塞进大象]]></actions>
<execution_type><![CDATA[1]]></execution_type>
</step>
<step>
<step_number><![CDATA[3]]></step_number>
<actions><![CDATA[关上冰箱]]></actions>
<execution_type><![CDATA[1]]></execution_type>
</step>
</steps>
</testcase>
</testsuite>
<testsuite name="Suite2">
<node_order><![CDATA[1]]></node_order>
<details><![CDATA[]]></details>
<testsuite name="little suite">
<node_order><![CDATA[0]]></node_order>
<details><![CDATA[]]></details>
<testcase name="little suite case1 withsstep">
<node_order><![CDATA[0]]></node_order>
<externalid><![CDATA[]]></externalid>
<version><![CDATA[1]]></version>
<summary><![CDATA[little suite case1 withsstep]]></summary>
<execution_type><![CDATA[1]]></execution_type>
<importance><![CDATA[2]]></importance>
<steps>
<step>
<step_number><![CDATA[1]]></step_number>
<actions><![CDATA[step1]]></actions>
<execution_type><![CDATA[1]]></execution_type>
</step>
<step>
<step_number><![CDATA[2]]></step_number>
<actions><![CDATA[step2]]></actions>
<execution_type><![CDATA[1]]></execution_type>
</step>
<step>
<step_number><![CDATA[3]]></step_number>
<actions><![CDATA[step3]]></actions>
<execution_type><![CDATA[1]]></execution_type>
</step>
</steps>
</testcase>
<testcase name="little suite case2">
<node_order><![CDATA[1]]></node_order>
<externalid><![CDATA[]]></externalid>
<version><![CDATA[1]]></version>
<summary><![CDATA[little suite case2]]></summary>
<execution_type><![CDATA[1]]></execution_type>
<importance><![CDATA[1]]></importance>
</testcase>
<testcase name="little suite case3">
<node_order><![CDATA[2]]></node_order>
<externalid><![CDATA[]]></externalid>
<version><![CDATA[1]]></version>
<summary><![CDATA[little suite case3]]></summary>
<execution_type><![CDATA[1]]></execution_type>
<importance><![CDATA[2]]></importance>
</testcase>
</testsuite>
<testcase name="suite2 case001">
<node_order><![CDATA[0]]></node_order>
<externalid><![CDATA[]]></externalid>
<version><![CDATA[1]]></version>
<summary><![CDATA[suite2 case001]]></summary>
<execution_type><![CDATA[1]]></execution_type>
<importance><![CDATA[1]]></importance>
</testcase>
<testcase name="suite2 case002">
<node_order><![CDATA[1]]></node_order>
<externalid><![CDATA[]]></externalid>
<version><![CDATA[1]]></version>
<summary><![CDATA[suite2 case002]]></summary>
<execution_type><![CDATA[1]]></execution_type>
<importance><![CDATA[3]]></importance>
</testcase>
</testsuite>
</testsuite>
</testsuite>