Commit b914c976a9235a54ab05f6349a5a0d714faa78de

Authored by Administrator
1 parent c98c375e

init

src/test/java/demo/firstDemo.java renamed to src/test/java/swing/SwingMain.java
1   -package demo;
  1 +package swing;
2 2  
3 3 import java.awt.EventQueue;
4 4  
... ... @@ -65,7 +65,7 @@ import javax.swing.border.LineBorder;
65 65 * @author Administrator
66 66 *图形化
67 67 */
68   -public class firstDemo {
  68 +public class SwingMain {
69 69  
70 70 private JFrame frmvBy;
71 71 private JTextField supplierName;
... ... @@ -83,7 +83,7 @@ public class firstDemo {
83 83 EventQueue.invokeLater(new Runnable() {
84 84 public void run() {
85 85 try {
86   - firstDemo window = new firstDemo();
  86 + SwingMain window = new SwingMain();
87 87 window.frmvBy.setVisible(true);
88 88 } catch (Exception e) {
89 89 e.printStackTrace();
... ... @@ -95,7 +95,7 @@ public class firstDemo {
95 95 /**
96 96 * Create the application.
97 97 */
98   - public firstDemo() {
  98 + public SwingMain() {
99 99 initialize();
100 100  
101 101 }
... ... @@ -113,7 +113,7 @@ public class firstDemo {
113 113 frmvBy = new JFrame("ESSA自动化测试工具v1.0.0");
114 114 frmvBy.getContentPane().setBackground(UIManager.getColor("Button.background"));
115 115 frmvBy.setTitle("ESSA自动化测试工具v1.0.1");
116   - frmvBy.setIconImage(Toolkit.getDefaultToolkit().getImage(firstDemo.class.getResource("/demo/icon2.png")));
  116 + frmvBy.setIconImage(Toolkit.getDefaultToolkit().getImage(SwingMain.class.getResource("/swing/icon.png")));
117 117 frmvBy.getContentPane().setEnabled(false);
118 118 frmvBy.setResizable(false);
119 119 frmvBy.setBackground(UIManager.getColor("Button.background"));
... ...
src/test/java/demo/icon2.png renamed to src/test/java/swing/icon.png

15.6 KB

test-output/emailable-report.html
... ... @@ -8,14 +8,12 @@
8 8 <body>
9 9 <table>
10 10 <tr><th>Test</th><th># Passed</th><th># Skipped</th><th># Failed</th><th>Time (ms)</th><th>Included Groups</th><th>Excluded Groups</th></tr>
11   -<tr><th colspan="7">提交PO</th></tr>
12   -<tr><td><a href="#t0">sendPO</a></td><td class="num">4</td><td class="num">0</td><td class="num">0</td><td class="num">99,569</td><td></td><td></td></tr>
  11 +<tr><th colspan="7">成品询价</th></tr>
  12 +<tr><td><a href="#t0">productInquiry</a></td><td class="num">2</td><td class="num">0</td><td class="num">0</td><td class="num">60,225</td><td></td><td></td></tr>
13 13 </table>
14   -<table id='summary'><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">提交PO</th></tr></tbody><tbody id="t0"><tr><th colspan="4">sendPO &#8212; passed</th></tr><tr class="passedeven"><td rowspan="1">com.buyer.testSuite.TestAddToCart</td><td><a href="#m0">addSku</a></td><td rowspan="1">1535963243569</td><td rowspan="1">12739</td></tr><tr class="passedodd"><td rowspan="2">com.buyer.testSuite.TestSendPO</td><td><a href="#m1">conslidation</a></td><td rowspan="1">1535963290476</td><td rowspan="1">29695</td></tr><tr class="passedodd"><td><a href="#m2">sendPO</a></td><td rowspan="1">1535963320172</td><td rowspan="1">12651</td></tr><tr class="passedeven"><td rowspan="1">com.essa.testSuite.TestProductInquiry</td><td><a href="#m3">productInquiry</a></td><td rowspan="1">1535963265590</td><td rowspan="1">15888</td></tr></tbody>
  14 +<table id='summary'><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">成品询价</th></tr></tbody><tbody id="t0"><tr><th colspan="4">productInquiry &#8212; passed</th></tr><tr class="passedeven"><td rowspan="1">com.buyer.testSuite.TestAddToCart</td><td><a href="#m0">keywordToCart</a></td><td rowspan="1">1536029721587</td><td rowspan="1">23097</td></tr><tr class="passedodd"><td rowspan="1">com.essa.testSuite.TestProductInquiry</td><td><a href="#m1">productInquiry</a></td><td rowspan="1">1536029753288</td><td rowspan="1">18216</td></tr></tbody>
15 15 </table>
16   -<h2>sendPO</h2><h3 id="m0">com.buyer.testSuite.TestAddToCart#addSku</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
17   -<h3 id="m1">com.buyer.testSuite.TestSendPO#conslidation</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
18   -<h3 id="m2">com.buyer.testSuite.TestSendPO#sendPO</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
19   -<h3 id="m3">com.essa.testSuite.TestProductInquiry#productInquiry</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
  16 +<h2>productInquiry</h2><h3 id="m0">com.buyer.testSuite.TestAddToCart#keywordToCart</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
  17 +<h3 id="m1">com.essa.testSuite.TestProductInquiry#productInquiry</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p>
20 18 </body>
21 19 </html>
... ...
test-output/index.html
... ... @@ -37,8 +37,8 @@
37 37 <div class="suite">
38 38 <div class="rounded-window">
39 39 <div class="suite-header light-rounded-window-top">
40   - <a href="#" panel-name="suite-提交PO" class="navigator-link">
41   - <span class="suite-name border-passed">提交PO</span>
  40 + <a href="#" panel-name="suite-成品询价" class="navigator-link">
  41 + <span class="suite-name border-passed">成品询价</span>
42 42 </a> <!-- navigator-link -->
43 43 </div> <!-- suite-header light-rounded-window-top -->
44 44 <div class="navigator-suite-content">
... ... @@ -48,37 +48,37 @@
48 48 <div class="suite-section-content">
49 49 <ul>
50 50 <li>
51   - <a href="#" panel-name="test-xml-提交PO" class="navigator-link ">
52   - <span>D:\workspace\demo\resources\suites\sendPO.xml</span>
  51 + <a href="#" panel-name="test-xml-成品询价" class="navigator-link ">
  52 + <span>D:\workspace\demo\resources\suites\productInquiry.xml</span>
53 53 </a> <!-- navigator-link -->
54 54 </li>
55 55 <li>
56   - <a href="#" panel-name="testlist-提交PO" class="navigator-link ">
  56 + <a href="#" panel-name="testlist-成品询价" class="navigator-link ">
57 57 <span class="test-stats">1 test</span>
58 58 </a> <!-- navigator-link -->
59 59 </li>
60 60 <li>
61   - <a href="#" panel-name="group-提交PO" class="navigator-link ">
  61 + <a href="#" panel-name="group-成品询价" class="navigator-link ">
62 62 <span>0 groups</span>
63 63 </a> <!-- navigator-link -->
64 64 </li>
65 65 <li>
66   - <a href="#" panel-name="times-提交PO" class="navigator-link ">
  66 + <a href="#" panel-name="times-成品询价" class="navigator-link ">
67 67 <span>Times</span>
68 68 </a> <!-- navigator-link -->
69 69 </li>
70 70 <li>
71   - <a href="#" panel-name="reporter-提交PO" class="navigator-link ">
  71 + <a href="#" panel-name="reporter-成品询价" class="navigator-link ">
72 72 <span>Reporter output</span>
73 73 </a> <!-- navigator-link -->
74 74 </li>
75 75 <li>
76   - <a href="#" panel-name="ignored-methods-提交PO" class="navigator-link ">
  76 + <a href="#" panel-name="ignored-methods-成品询价" class="navigator-link ">
77 77 <span>Ignored methods</span>
78 78 </a> <!-- navigator-link -->
79 79 </li>
80 80 <li>
81   - <a href="#" panel-name="chronological-提交PO" class="navigator-link ">
  81 + <a href="#" panel-name="chronological-成品询价" class="navigator-link ">
82 82 <span>Chronological view</span>
83 83 </a> <!-- navigator-link -->
84 84 </li>
... ... @@ -91,36 +91,26 @@
91 91 <div class="suite-section-content">
92 92 <ul>
93 93 <li>
94   - <span class="method-stats">4 methods, 4 passed</span>
  94 + <span class="method-stats">2 methods, 2 passed</span>
95 95 </li>
96 96 <li>
97 97 <span class="method-list-title passed">Passed methods</span>
98 98 <span class="show-or-hide-methods passed">
99   - <a href="#" panel-name="suite-提交PO" class="hide-methods passed suite-提交PO"> (hide)</a> <!-- hide-methods passed suite-提交PO -->
100   - <a href="#" panel-name="suite-提交PO" class="show-methods passed suite-提交PO"> (show)</a> <!-- show-methods passed suite-提交PO -->
  99 + <a href="#" panel-name="suite-成品询价" class="hide-methods passed suite-成品询价"> (hide)</a> <!-- hide-methods passed suite-成品询价 -->
  100 + <a href="#" panel-name="suite-成品询价" class="show-methods passed suite-成品询价"> (show)</a> <!-- show-methods passed suite-成品询价 -->
101 101 </span>
102   - <div class="method-list-content passed suite-提交PO">
  102 + <div class="method-list-content passed suite-成品询价">
103 103 <span>
104 104 <img src="passed.png" width="3%"/>
105   - <a href="#" panel-name="suite-提交PO" title="com.buyer.testSuite.TestAddToCart" class="method navigator-link" hash-for-method="addSku">addSku</a> <!-- method navigator-link -->
  105 + <a href="#" panel-name="suite-成品询价" title="com.buyer.testSuite.TestAddToCart" class="method navigator-link" hash-for-method="keywordToCart">keywordToCart</a> <!-- method navigator-link -->
106 106 </span>
107 107 <br/>
108 108 <span>
109 109 <img src="passed.png" width="3%"/>
110   - <a href="#" panel-name="suite-提交PO" title="com.buyer.testSuite.TestSendPO" class="method navigator-link" hash-for-method="conslidation">conslidation</a> <!-- method navigator-link -->
  110 + <a href="#" panel-name="suite-成品询价" title="com.essa.testSuite.TestProductInquiry" class="method navigator-link" hash-for-method="productInquiry">productInquiry</a> <!-- method navigator-link -->
111 111 </span>
112 112 <br/>
113   - <span>
114   - <img src="passed.png" width="3%"/>
115   - <a href="#" panel-name="suite-提交PO" title="com.essa.testSuite.TestProductInquiry" class="method navigator-link" hash-for-method="productInquiry">productInquiry</a> <!-- method navigator-link -->
116   - </span>
117   - <br/>
118   - <span>
119   - <img src="passed.png" width="3%"/>
120   - <a href="#" panel-name="suite-提交PO" title="com.buyer.testSuite.TestSendPO" class="method navigator-link" hash-for-method="sendPO">sendPO</a> <!-- method navigator-link -->
121   - </span>
122   - <br/>
123   - </div> <!-- method-list-content passed suite-提交PO -->
  113 + </div> <!-- method-list-content passed suite-成品询价 -->
124 114 </li>
125 115 </ul>
126 116 </div> <!-- suite-section-content -->
... ... @@ -131,34 +121,25 @@
131 121 </div> <!-- navigator-root -->
132 122 <div class="wrapper">
133 123 <div class="main-panel-root">
134   - <div panel-name="suite-提交PO" class="panel 提交PO">
135   - <div class="suite-提交PO-class-passed">
  124 + <div panel-name="suite-成品询价" class="panel 成品询价">
  125 + <div class="suite-成品询价-class-passed">
136 126 <div class="main-panel-header rounded-window-top">
137 127 <img src="passed.png"/>
138   - <span class="class-name">com.buyer.testSuite.TestSendPO</span>
  128 + <span class="class-name">com.buyer.testSuite.TestAddToCart</span>
139 129 </div> <!-- main-panel-header rounded-window-top -->
140 130 <div class="main-panel-content rounded-window-bottom">
141 131 <div class="method">
142 132 <div class="method-content">
143   - <a name="conslidation">
144   - </a> <!-- conslidation -->
145   - <span class="method-name">conslidation</span>
146   - <em>
147   -(开始拼柜) </em>
148   - </div> <!-- method-content -->
149   - </div> <!-- method -->
150   - <div class="method">
151   - <div class="method-content">
152   - <a name="sendPO">
153   - </a> <!-- sendPO -->
154   - <span class="method-name">sendPO</span>
  133 + <a name="keywordToCart">
  134 + </a> <!-- keywordToCart -->
  135 + <span class="method-name">keywordToCart</span>
155 136 <em>
156   -(设置贴纸唛头,提交PO) </em>
  137 +(关键字搜索,并将sku加入购物车) </em>
157 138 </div> <!-- method-content -->
158 139 </div> <!-- method -->
159 140 </div> <!-- main-panel-content rounded-window-bottom -->
160   - </div> <!-- suite-提交PO-class-passed -->
161   - <div class="suite-提交PO-class-passed">
  141 + </div> <!-- suite-成品询价-class-passed -->
  142 + <div class="suite-成品询价-class-passed">
162 143 <div class="main-panel-header rounded-window-top">
163 144 <img src="passed.png"/>
164 145 <span class="class-name">com.essa.testSuite.TestProductInquiry</span>
... ... @@ -174,39 +155,22 @@
174 155 </div> <!-- method-content -->
175 156 </div> <!-- method -->
176 157 </div> <!-- main-panel-content rounded-window-bottom -->
177   - </div> <!-- suite-提交PO-class-passed -->
178   - <div class="suite-提交PO-class-passed">
179   - <div class="main-panel-header rounded-window-top">
180   - <img src="passed.png"/>
181   - <span class="class-name">com.buyer.testSuite.TestAddToCart</span>
182   - </div> <!-- main-panel-header rounded-window-top -->
183   - <div class="main-panel-content rounded-window-bottom">
184   - <div class="method">
185   - <div class="method-content">
186   - <a name="addSku">
187   - </a> <!-- addSku -->
188   - <span class="method-name">addSku</span>
189   - <em>
190   -(将sku加入购物车) </em>
191   - </div> <!-- method-content -->
192   - </div> <!-- method -->
193   - </div> <!-- main-panel-content rounded-window-bottom -->
194   - </div> <!-- suite-提交PO-class-passed -->
195   - </div> <!-- panel 提交PO -->
196   - <div panel-name="test-xml-提交PO" class="panel">
  158 + </div> <!-- suite-成品询价-class-passed -->
  159 + </div> <!-- panel 成品询价 -->
  160 + <div panel-name="test-xml-成品询价" class="panel">
197 161 <div class="main-panel-header rounded-window-top">
198   - <span class="header-content">D:\workspace\demo\resources\suites\sendPO.xml</span>
  162 + <span class="header-content">D:\workspace\demo\resources\suites\productInquiry.xml</span>
199 163 </div> <!-- main-panel-header rounded-window-top -->
200 164 <div class="main-panel-content rounded-window-bottom">
201 165 <pre>
202 166 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
203 167 &lt;!DOCTYPE suite SYSTEM &quot;http://testng.org/testng-1.0.dtd&quot;&gt;
204   -&lt;suite name=&quot;提交PO&quot; guice-stage=&quot;DEVELOPMENT&quot;&gt;
205   - &lt;test thread-count=&quot;5&quot; name=&quot;sendPO&quot;&gt;
  168 +&lt;suite name=&quot;成品询价&quot; guice-stage=&quot;DEVELOPMENT&quot;&gt;
  169 + &lt;test thread-count=&quot;5&quot; name=&quot;productInquiry&quot;&gt;
206 170 &lt;classes&gt;
207 171 &lt;class name=&quot;com.buyer.testSuite.TestAddToCart&quot;&gt;
208 172 &lt;methods&gt;
209   - &lt;include name=&quot;addSku&quot;/&gt;
  173 + &lt;include name=&quot;keywordToCart&quot;/&gt;
210 174 &lt;/methods&gt;
211 175 &lt;/class&gt; &lt;!-- com.buyer.testSuite.TestAddToCart --&gt;
212 176 &lt;class name=&quot;com.essa.testSuite.TestProductInquiry&quot;&gt;
... ... @@ -214,86 +178,72 @@
214 178 &lt;include name=&quot;productInquiry&quot;/&gt;
215 179 &lt;/methods&gt;
216 180 &lt;/class&gt; &lt;!-- com.essa.testSuite.TestProductInquiry --&gt;
217   - &lt;class name=&quot;com.buyer.testSuite.TestSendPO&quot;&gt;
218   - &lt;methods&gt;
219   - &lt;include name=&quot;conslidation&quot;/&gt;
220   - &lt;include name=&quot;sendPO&quot;/&gt;
221   - &lt;/methods&gt;
222   - &lt;/class&gt; &lt;!-- com.buyer.testSuite.TestSendPO --&gt;
223 181 &lt;/classes&gt;
224   - &lt;/test&gt; &lt;!-- sendPO --&gt;
225   -&lt;/suite&gt; &lt;!-- 提交PO --&gt;
  182 + &lt;/test&gt; &lt;!-- productInquiry --&gt;
  183 +&lt;/suite&gt; &lt;!-- 成品询价 --&gt;
226 184 </pre>
227 185 </div> <!-- main-panel-content rounded-window-bottom -->
228 186 </div> <!-- panel -->
229   - <div panel-name="testlist-提交PO" class="panel">
  187 + <div panel-name="testlist-成品询价" class="panel">
230 188 <div class="main-panel-header rounded-window-top">
231   - <span class="header-content">Tests for 提交PO</span>
  189 + <span class="header-content">Tests for 成品询价</span>
232 190 </div> <!-- main-panel-header rounded-window-top -->
233 191 <div class="main-panel-content rounded-window-bottom">
234 192 <ul>
235 193 <li>
236   - <span class="test-name">sendPO (3 classes)</span>
  194 + <span class="test-name">productInquiry (2 classes)</span>
237 195 </li>
238 196 </ul>
239 197 </div> <!-- main-panel-content rounded-window-bottom -->
240 198 </div> <!-- panel -->
241   - <div panel-name="group-提交PO" class="panel">
  199 + <div panel-name="group-成品询价" class="panel">
242 200 <div class="main-panel-header rounded-window-top">
243   - <span class="header-content">Groups for 提交PO</span>
  201 + <span class="header-content">Groups for 成品询价</span>
244 202 </div> <!-- main-panel-header rounded-window-top -->
245 203 <div class="main-panel-content rounded-window-bottom">
246 204 </div> <!-- main-panel-content rounded-window-bottom -->
247 205 </div> <!-- panel -->
248   - <div panel-name="times-提交PO" class="panel">
  206 + <div panel-name="times-成品询价" class="panel">
249 207 <div class="main-panel-header rounded-window-top">
250   - <span class="header-content">Times for 提交PO</span>
  208 + <span class="header-content">Times for 成品询价</span>
251 209 </div> <!-- main-panel-header rounded-window-top -->
252 210 <div class="main-panel-content rounded-window-bottom">
253 211 <div class="times-div">
254 212 <script type="text/javascript">
255   -suiteTableInitFunctions.push('tableData_提交PO');
256   -function tableData_提交PO() {
  213 +suiteTableInitFunctions.push('tableData_成品询价');
  214 +function tableData_成品询价() {
257 215 var data = new google.visualization.DataTable();
258 216 data.addColumn('number', 'Number');
259 217 data.addColumn('string', 'Method');
260 218 data.addColumn('string', 'Class');
261 219 data.addColumn('number', 'Time (ms)');
262   -data.addRows(4);
  220 +data.addRows(2);
263 221 data.setCell(0, 0, 0)
264   -data.setCell(0, 1, 'conslidation')
265   -data.setCell(0, 2, 'com.buyer.testSuite.TestSendPO')
266   -data.setCell(0, 3, 29695);
  222 +data.setCell(0, 1, 'keywordToCart')
  223 +data.setCell(0, 2, 'com.buyer.testSuite.TestAddToCart')
  224 +data.setCell(0, 3, 23097);
267 225 data.setCell(1, 0, 1)
268 226 data.setCell(1, 1, 'productInquiry')
269 227 data.setCell(1, 2, 'com.essa.testSuite.TestProductInquiry')
270   -data.setCell(1, 3, 15888);
271   -data.setCell(2, 0, 2)
272   -data.setCell(2, 1, 'addSku')
273   -data.setCell(2, 2, 'com.buyer.testSuite.TestAddToCart')
274   -data.setCell(2, 3, 12739);
275   -data.setCell(3, 0, 3)
276   -data.setCell(3, 1, 'sendPO')
277   -data.setCell(3, 2, 'com.buyer.testSuite.TestSendPO')
278   -data.setCell(3, 3, 12651);
279   -window.suiteTableData['提交PO']= { tableData: data, tableDiv: 'times-div-提交PO'}
  228 +data.setCell(1, 3, 18216);
  229 +window.suiteTableData['成品询价']= { tableData: data, tableDiv: 'times-div-成品询价'}
280 230 return data;
281 231 }
282 232 </script>
283   - <span class="suite-total-time">Total running time: 1 minutes</span>
284   - <div id="times-div-提交PO">
285   - </div> <!-- times-div-提交PO -->
  233 + <span class="suite-total-time">Total running time: 41 seconds</span>
  234 + <div id="times-div-成品询价">
  235 + </div> <!-- times-div-成品询价 -->
286 236 </div> <!-- times-div -->
287 237 </div> <!-- main-panel-content rounded-window-bottom -->
288 238 </div> <!-- panel -->
289   - <div panel-name="reporter-提交PO" class="panel">
  239 + <div panel-name="reporter-成品询价" class="panel">
290 240 <div class="main-panel-header rounded-window-top">
291   - <span class="header-content">Reporter output for 提交PO</span>
  241 + <span class="header-content">Reporter output for 成品询价</span>
292 242 </div> <!-- main-panel-header rounded-window-top -->
293 243 <div class="main-panel-content rounded-window-bottom">
294 244 </div> <!-- main-panel-content rounded-window-bottom -->
295 245 </div> <!-- panel -->
296   - <div panel-name="ignored-methods-提交PO" class="panel">
  246 + <div panel-name="ignored-methods-成品询价" class="panel">
297 247 <div class="main-panel-header rounded-window-top">
298 248 <span class="header-content">1 ignored method</span>
299 249 </div> <!-- main-panel-header rounded-window-top -->
... ... @@ -301,13 +251,13 @@ return data;
301 251 <div class="ignored-class-div">
302 252 <span class="ignored-class-name">com.buyer.testSuite.TestAddToCart</span>
303 253 <div class="ignored-methods-div">
304   - <span class="ignored-method-name">keywordToCart</span>
  254 + <span class="ignored-method-name">addSku</span>
305 255 <br/>
306 256 </div> <!-- ignored-methods-div -->
307 257 </div> <!-- ignored-class-div -->
308 258 </div> <!-- main-panel-content rounded-window-bottom -->
309 259 </div> <!-- panel -->
310   - <div panel-name="chronological-提交PO" class="panel">
  260 + <div panel-name="chronological-成品询价" class="panel">
311 261 <div class="main-panel-header rounded-window-top">
312 262 <span class="header-content">Methods in chronological order</span>
313 263 </div> <!-- main-panel-header rounded-window-top -->
... ... @@ -319,46 +269,27 @@ return data;
319 269 <span class="method-start">0 ms</span>
320 270 </div> <!-- configuration-class before -->
321 271 <div class="test-method">
322   - <span class="method-name">addSku</span>
323   - <span class="method-start">9513 ms</span>
  272 + <span class="method-name">keywordToCart</span>
  273 + <span class="method-start">9520 ms</span>
324 274 </div> <!-- test-method -->
325 275 <div class="configuration-class after">
326 276 <span class="method-name">tearDown</span>
327   - <span class="method-start">22254 ms</span>
  277 + <span class="method-start">32618 ms</span>
328 278 </div> <!-- configuration-class after -->
329 279 </div> <!-- chronological-class -->
330 280 <div class="chronological-class">
331 281 <div class="chronological-class-name">com.essa.testSuite.TestProductInquiry</div> <!-- chronological-class-name -->
332 282 <div class="configuration-class before">
333 283 <span class="method-name">setUp</span>
334   - <span class="method-start">23031 ms</span>
  284 + <span class="method-start">33381 ms</span>
335 285 </div> <!-- configuration-class before -->
336 286 <div class="test-method">
337 287 <span class="method-name">productInquiry</span>
338   - <span class="method-start">31534 ms</span>
339   - </div> <!-- test-method -->
340   - <div class="configuration-class after">
341   - <span class="method-name">tearDown</span>
342   - <span class="method-start">47422 ms</span>
343   - </div> <!-- configuration-class after -->
344   - </div> <!-- chronological-class -->
345   - <div class="chronological-class">
346   - <div class="chronological-class-name">com.buyer.testSuite.TestSendPO</div> <!-- chronological-class-name -->
347   - <div class="configuration-class before">
348   - <span class="method-name">setUp</span>
349   - <span class="method-start">48238 ms</span>
350   - </div> <!-- configuration-class before -->
351   - <div class="test-method">
352   - <span class="method-name">conslidation</span>
353   - <span class="method-start">56420 ms</span>
354   - </div> <!-- test-method -->
355   - <div class="test-method">
356   - <span class="method-name">sendPO</span>
357   - <span class="method-start">86116 ms</span>
  288 + <span class="method-start">41221 ms</span>
358 289 </div> <!-- test-method -->
359 290 <div class="configuration-class after">
360 291 <span class="method-name">tearDown</span>
361   - <span class="method-start">98767 ms</span>
  292 + <span class="method-start">59438 ms</span>
362 293 </div> <!-- configuration-class after -->
363 294 </div> <!-- main-panel-content rounded-window-bottom -->
364 295 </div> <!-- panel -->
... ...
test-output/junitreports/TEST-com.buyer.testSuite.TestAddToCart.xml
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <!-- Generated by org.testng.reporters.JUnitReportReporter -->
3   -<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="com.buyer.testSuite.TestAddToCart" time="12.739" errors="0" timestamp="03 9月 2018 08:28:53 GMT" skipped="0">
4   - <testcase classname="com.buyer.testSuite.TestAddToCart" name="addSku" time="12.739"/>
  3 +<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="com.buyer.testSuite.TestAddToCart" time="23.097" errors="0" timestamp="04 9月 2018 02:56:12 GMT" skipped="0">
  4 + <testcase classname="com.buyer.testSuite.TestAddToCart" name="keywordToCart" time="23.097"/>
5 5 </testsuite> <!-- com.buyer.testSuite.TestAddToCart -->
... ...
test-output/junitreports/TEST-com.essa.testSuite.TestProductInquiry.xml
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <!-- Generated by org.testng.reporters.JUnitReportReporter -->
3   -<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="com.essa.testSuite.TestProductInquiry" time="15.888" errors="0" timestamp="03 9月 2018 08:28:53 GMT" skipped="0">
4   - <testcase classname="com.essa.testSuite.TestProductInquiry" name="productInquiry" time="15.888"/>
  3 +<testsuite hostname="A4O1M5DMPNJ0AZF" failures="0" tests="1" name="com.essa.testSuite.TestProductInquiry" time="18.216" errors="0" timestamp="04 9月 2018 02:56:12 GMT" skipped="0">
  4 + <testcase classname="com.essa.testSuite.TestProductInquiry" name="productInquiry" time="18.216"/>
5 5 </testsuite> <!-- com.essa.testSuite.TestProductInquiry -->
... ...
test-output/old/index.html
... ... @@ -4,6 +4,6 @@
4 4 </head><body>
5 5 <h2><p align='center'>Test results</p></h2>
6 6 <table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
7   -<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>4</em></td><td><em>0</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
8   -<tr align='center' class='invocation-passed'><td><a href='提交PO/index.html'>提交PO</a></td>
9   -<td>4</td><td>0</td><td>0</td><td><a href='提交PO/testng.xml.html'>Link</a></td></tr></table></body></html>
  7 +<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>2</em></td><td><em>0</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
  8 +<tr align='center' class='invocation-passed'><td><a href='成品询价/index.html'>成品询价</a></td>
  9 +<td>2</td><td>0</td><td>0</td><td><a href='成品询价/testng.xml.html'>Link</a></td></tr></table></body></html>
... ...
test-output/old/成品询价/methods-alphabetical.html
1 1 <h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>成品询价</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
2 2 <table border="1">
3 3 <tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
4   -<tr bgcolor="98ed7a"> <td>18/08/31 18:32:55</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]">keywordToCart</td>
  4 +<tr bgcolor="cb6f9a"> <td>18/09/04 10:55:21</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1f2f0f50]">keywordToCart</td>
5 5 <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
6   -<tr bgcolor="70629e"> <td>18/08/31 18:33:27</td> <td>31840</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]">productInquiry</td>
  6 +<tr bgcolor="79726b"> <td>18/09/04 10:55:53</td> <td>31701</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@7346ae3e]">productInquiry</td>
7 7 <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
8   -<tr bgcolor="98ed7a"> <td>18/08/31 18:32:45</td> <td>-10237</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]">&gt;&gt;setUp</td>
  8 +<tr bgcolor="cb6f9a"> <td>18/09/04 10:55:12</td> <td>-9511</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1f2f0f50]">&gt;&gt;setUp</td>
9 9 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
10   -<tr bgcolor="70629e"> <td>18/08/31 18:33:17</td> <td>22252</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]">&gt;&gt;setUp</td>
  10 +<tr bgcolor="79726b"> <td>18/09/04 10:55:45</td> <td>23862</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@7346ae3e]">&gt;&gt;setUp</td>
11 11 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
12   -<tr bgcolor="98ed7a"> <td>18/08/31 18:33:16</td> <td>21459</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]">&lt;&lt;tearDown</td>
  12 +<tr bgcolor="cb6f9a"> <td>18/09/04 10:55:44</td> <td>23099</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1f2f0f50]">&lt;&lt;tearDown</td>
13 13 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
14   -<tr bgcolor="70629e"> <td>18/08/31 18:33:45</td> <td>50079</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestProductInquiry.tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]">&lt;&lt;tearDown</td>
  14 +<tr bgcolor="79726b"> <td>18/09/04 10:56:11</td> <td>49918</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestProductInquiry.tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@7346ae3e]">&lt;&lt;tearDown</td>
15 15 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
16 16 </table>
... ...
test-output/old/成品询价/methods.html
1 1 <h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>成品询价</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
2 2 <table border="1">
3 3 <tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
4   -<tr bgcolor="98ed7a"> <td>18/08/31 18:32:45</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]">&gt;&gt;setUp</td>
  4 +<tr bgcolor="cb6f9a"> <td>18/09/04 10:55:12</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestAddToCart.setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1f2f0f50]">&gt;&gt;setUp</td>
5 5 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
6   -<tr bgcolor="98ed7a"> <td>18/08/31 18:32:55</td> <td>10237</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]">keywordToCart</td>
  6 +<tr bgcolor="cb6f9a"> <td>18/09/04 10:55:21</td> <td>9511</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestAddToCart.keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1f2f0f50]">keywordToCart</td>
7 7 <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
8   -<tr bgcolor="98ed7a"> <td>18/08/31 18:33:16</td> <td>31696</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1620bb9f]">&lt;&lt;tearDown</td>
  8 +<tr bgcolor="cb6f9a"> <td>18/09/04 10:55:44</td> <td>32610</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestAddToCart.tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1f2f0f50]">&lt;&lt;tearDown</td>
9 9 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
10   -<tr bgcolor="70629e"> <td>18/08/31 18:33:17</td> <td>32489</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]">&gt;&gt;setUp</td>
  10 +<tr bgcolor="79726b"> <td>18/09/04 10:55:45</td> <td>33373</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestProductInquiry.setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@7346ae3e]">&gt;&gt;setUp</td>
11 11 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
12   -<tr bgcolor="70629e"> <td>18/08/31 18:33:27</td> <td>42077</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]">productInquiry</td>
  12 +<tr bgcolor="79726b"> <td>18/09/04 10:55:53</td> <td>41212</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestProductInquiry.productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@7346ae3e]">productInquiry</td>
13 13 <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
14   -<tr bgcolor="70629e"> <td>18/08/31 18:33:45</td> <td>60316</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestProductInquiry.tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@31f7f51f]">&lt;&lt;tearDown</td>
  14 +<tr bgcolor="79726b"> <td>18/09/04 10:56:11</td> <td>59429</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestProductInquiry.tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@7346ae3e]">&lt;&lt;tearDown</td>
15 15 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
16 16 </table>
... ...
test-output/testng-results.xml
1 1 <?xml version="1.0" encoding="UTF-8"?>
2   -<testng-results ignored="1" total="5" passed="4" failed="0" skipped="0">
  2 +<testng-results ignored="1" total="3" passed="2" failed="0" skipped="0">
3 3 <reporter-output>
4 4 </reporter-output>
5   - <suite started-at="2018-09-03T08:27:14Z" name="提交PO" finished-at="2018-09-03T08:28:53Z" duration-ms="99569">
  5 + <suite started-at="2018-09-04T02:55:12Z" name="成品询价" finished-at="2018-09-04T02:56:12Z" duration-ms="60225">
6 6 <groups>
7 7 </groups>
8   - <test started-at="2018-09-03T08:27:14Z" name="sendPO" finished-at="2018-09-03T08:28:53Z" duration-ms="99569">
  8 + <test started-at="2018-09-04T02:55:12Z" name="productInquiry" finished-at="2018-09-04T02:56:12Z" duration-ms="60225">
9 9 <class name="com.essa.testSuite.TestProductInquiry">
10   - <test-method is-config="true" signature="setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@14485d7]" started-at="2018-09-03T08:27:37Z" name="setUp" finished-at="2018-09-03T08:27:45Z" duration-ms="8503" status="PASS">
  10 + <test-method is-config="true" signature="setUp()[pri:0, instance:com.essa.testSuite.TestProductInquiry@7346ae3e]" started-at="2018-09-04T02:55:45Z" name="setUp" finished-at="2018-09-04T02:55:53Z" duration-ms="7839" status="PASS">
11 11 <reporter-output>
12 12 </reporter-output>
13 13 </test-method> <!-- setUp -->
14   - <test-method signature="productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@14485d7]" started-at="2018-09-03T08:27:45Z" name="productInquiry" description="成品询价流程" finished-at="2018-09-03T08:28:01Z" duration-ms="15888" status="PASS">
  14 + <test-method signature="productInquiry()[pri:0, instance:com.essa.testSuite.TestProductInquiry@7346ae3e]" started-at="2018-09-04T02:55:53Z" name="productInquiry" description="成品询价流程" finished-at="2018-09-04T02:56:11Z" duration-ms="18216" status="PASS">
15 15 <reporter-output>
16 16 </reporter-output>
17 17 </test-method> <!-- productInquiry -->
18   - <test-method is-config="true" signature="tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@14485d7]" started-at="2018-09-03T08:28:01Z" name="tearDown" finished-at="2018-09-03T08:28:02Z" duration-ms="815" status="PASS">
  18 + <test-method is-config="true" signature="tearDown()[pri:0, instance:com.essa.testSuite.TestProductInquiry@7346ae3e]" started-at="2018-09-04T02:56:11Z" name="tearDown" finished-at="2018-09-04T02:56:12Z" duration-ms="773" status="PASS">
19 19 <reporter-output>
20 20 </reporter-output>
21 21 </test-method> <!-- tearDown -->
22 22 </class> <!-- com.essa.testSuite.TestProductInquiry -->
23   - <class name="com.buyer.testSuite.TestSendPO">
24   - <test-method is-config="true" signature="setUp()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]" started-at="2018-09-03T08:28:02Z" name="setUp" finished-at="2018-09-03T08:28:10Z" duration-ms="8182" status="PASS">
25   - <reporter-output>
26   - </reporter-output>
27   - </test-method> <!-- setUp -->
28   - <test-method signature="conslidation()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]" started-at="2018-09-03T08:28:10Z" name="conslidation" description="开始拼柜" finished-at="2018-09-03T08:28:40Z" duration-ms="29695" status="PASS">
29   - <reporter-output>
30   - </reporter-output>
31   - </test-method> <!-- conslidation -->
32   - <test-method signature="sendPO()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]" started-at="2018-09-03T08:28:40Z" name="sendPO" description="设置贴纸唛头,提交PO" finished-at="2018-09-03T08:28:52Z" duration-ms="12651" status="PASS">
33   - <reporter-output>
34   - </reporter-output>
35   - </test-method> <!-- sendPO -->
36   - <test-method is-config="true" signature="tearDown()[pri:0, instance:com.buyer.testSuite.TestSendPO@47b60fe8]" started-at="2018-09-03T08:28:52Z" name="tearDown" finished-at="2018-09-03T08:28:53Z" duration-ms="795" status="PASS">
37   - <reporter-output>
38   - </reporter-output>
39   - </test-method> <!-- tearDown -->
40   - </class> <!-- com.buyer.testSuite.TestSendPO -->
41 23 <class name="com.buyer.testSuite.TestAddToCart">
42   - <test-method is-config="true" signature="setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@14b27f40]" started-at="2018-09-03T08:27:14Z" name="setUp" finished-at="2018-09-03T08:27:23Z" duration-ms="9503" status="PASS">
  24 + <test-method is-config="true" signature="setUp()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1f2f0f50]" started-at="2018-09-04T02:55:12Z" name="setUp" finished-at="2018-09-04T02:55:21Z" duration-ms="9508" status="PASS">
43 25 <reporter-output>
44 26 </reporter-output>
45 27 </test-method> <!-- setUp -->
46   - <test-method signature="addSku()[pri:0, instance:com.buyer.testSuite.TestAddToCart@14b27f40]" started-at="2018-09-03T08:27:23Z" name="addSku" description="将sku加入购物车" finished-at="2018-09-03T08:27:36Z" duration-ms="12739" status="PASS">
  28 + <test-method signature="keywordToCart()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1f2f0f50]" started-at="2018-09-04T02:55:21Z" name="keywordToCart" description="关键字搜索,并将sku加入购物车" finished-at="2018-09-04T02:55:44Z" duration-ms="23097" status="PASS">
47 29 <reporter-output>
48 30 </reporter-output>
49   - </test-method> <!-- addSku -->
50   - <test-method is-config="true" signature="tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@14b27f40]" started-at="2018-09-03T08:27:36Z" name="tearDown" finished-at="2018-09-03T08:27:37Z" duration-ms="775" status="PASS">
  31 + </test-method> <!-- keywordToCart -->
  32 + <test-method is-config="true" signature="tearDown()[pri:0, instance:com.buyer.testSuite.TestAddToCart@1f2f0f50]" started-at="2018-09-04T02:55:44Z" name="tearDown" finished-at="2018-09-04T02:55:45Z" duration-ms="760" status="PASS">
51 33 <reporter-output>
52 34 </reporter-output>
53 35 </test-method> <!-- tearDown -->
54 36 </class> <!-- com.buyer.testSuite.TestAddToCart -->
55   - </test> <!-- sendPO -->
56   - </suite> <!-- 提交PO -->
  37 + </test> <!-- productInquiry -->
  38 + </suite> <!-- 成品询价 -->
57 39 </testng-results>
... ...
test-output/成品询价/productInquiry.html
... ... @@ -57,9 +57,9 @@ function toggleAllBoxes() {
57 57 <tr>
58 58 <td>Tests passed/Failed/Skipped:</td><td>2/0/0</td>
59 59 </tr><tr>
60   -<td>Started on:</td><td>Fri Aug 31 18:32:45 CST 2018</td>
  60 +<td>Started on:</td><td>Tue Sep 04 10:55:12 CST 2018</td>
61 61 </tr>
62   -<tr><td>Total time:</td><td>61 seconds (61086 ms)</td>
  62 +<tr><td>Total time:</td><td>60 seconds (60225 ms)</td>
63 63 </tr><tr>
64 64 <td>Included groups:</td><td></td>
65 65 </tr><tr>
... ... @@ -77,13 +77,13 @@ function toggleAllBoxes() {
77 77 <tr>
78 78 <td title='com.buyer.testSuite.TestAddToCart.keywordToCart()'><b>keywordToCart</b><br>Test class: com.buyer.testSuite.TestAddToCart<br>Test method: 关键字搜索,并将sku加入购物车</td>
79 79 <td></td>
80   -<td>21</td>
81   -<td>com.buyer.testSuite.TestAddToCart@1620bb9f</td></tr>
  80 +<td>23</td>
  81 +<td>com.buyer.testSuite.TestAddToCart@1f2f0f50</td></tr>
82 82 <tr>
83 83 <td title='com.essa.testSuite.TestProductInquiry.productInquiry()'><b>productInquiry</b><br>Test class: com.essa.testSuite.TestProductInquiry<br>Test method: 成品询价流程</td>
84 84 <td></td>
85 85 <td>18</td>
86   -<td>com.essa.testSuite.TestProductInquiry@31f7f51f</td></tr>
  86 +<td>com.essa.testSuite.TestProductInquiry@7346ae3e</td></tr>
87 87 </table><p>
88 88 </body>
89 89 </html>
90 90 \ No newline at end of file
... ...
test-output/成品询价/productInquiry.xml
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <!-- Generated by org.testng.reporters.JUnitXMLReporter -->
3   -<testsuite ignored="1" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="2" name="productInquiry" time="61.086" errors="0" timestamp="31 8月 2018 10:33:46 GMT">
4   - <testcase classname="com.buyer.testSuite.TestAddToCart" name="keywordToCart" time="21.456"/>
5   - <testcase classname="com.essa.testSuite.TestProductInquiry" name="productInquiry" time="18.238"/>
  3 +<testsuite ignored="1" hostname="A4O1M5DMPNJ0AZF" failures="0" tests="2" name="productInquiry" time="60.225" errors="0" timestamp="04 9月 2018 02:56:12 GMT">
  4 + <testcase classname="com.buyer.testSuite.TestAddToCart" name="keywordToCart" time="23.097"/>
  5 + <testcase classname="com.essa.testSuite.TestProductInquiry" name="productInquiry" time="18.216"/>
6 6 <testcase classname="com.buyer.testSuite.TestAddToCart" name="addSku" time="0.0">
7 7 <ignored/>
8 8 </testcase> <!-- addSku -->
... ...