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 import java.awt.EventQueue; 3 import java.awt.EventQueue;
4 4
@@ -65,7 +65,7 @@ import javax.swing.border.LineBorder; @@ -65,7 +65,7 @@ import javax.swing.border.LineBorder;
65 * @author Administrator 65 * @author Administrator
66 *图形化 66 *图形化
67 */ 67 */
68 -public class firstDemo { 68 +public class SwingMain {
69 69
70 private JFrame frmvBy; 70 private JFrame frmvBy;
71 private JTextField supplierName; 71 private JTextField supplierName;
@@ -83,7 +83,7 @@ public class firstDemo { @@ -83,7 +83,7 @@ public class firstDemo {
83 EventQueue.invokeLater(new Runnable() { 83 EventQueue.invokeLater(new Runnable() {
84 public void run() { 84 public void run() {
85 try { 85 try {
86 - firstDemo window = new firstDemo(); 86 + SwingMain window = new SwingMain();
87 window.frmvBy.setVisible(true); 87 window.frmvBy.setVisible(true);
88 } catch (Exception e) { 88 } catch (Exception e) {
89 e.printStackTrace(); 89 e.printStackTrace();
@@ -95,7 +95,7 @@ public class firstDemo { @@ -95,7 +95,7 @@ public class firstDemo {
95 /** 95 /**
96 * Create the application. 96 * Create the application.
97 */ 97 */
98 - public firstDemo() { 98 + public SwingMain() {
99 initialize(); 99 initialize();
100 100
101 } 101 }
@@ -113,7 +113,7 @@ public class firstDemo { @@ -113,7 +113,7 @@ public class firstDemo {
113 frmvBy = new JFrame("ESSA自动化测试工具v1.0.0"); 113 frmvBy = new JFrame("ESSA自动化测试工具v1.0.0");
114 frmvBy.getContentPane().setBackground(UIManager.getColor("Button.background")); 114 frmvBy.getContentPane().setBackground(UIManager.getColor("Button.background"));
115 frmvBy.setTitle("ESSA自动化测试工具v1.0.1"); 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 frmvBy.getContentPane().setEnabled(false); 117 frmvBy.getContentPane().setEnabled(false);
118 frmvBy.setResizable(false); 118 frmvBy.setResizable(false);
119 frmvBy.setBackground(UIManager.getColor("Button.background")); 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,14 +8,12 @@
8 <body> 8 <body>
9 <table> 9 <table>
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> 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 </table> 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 </table> 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 </body> 18 </body>
21 </html> 19 </html>
test-output/index.html
@@ -37,8 +37,8 @@ @@ -37,8 +37,8 @@
37 <div class="suite"> 37 <div class="suite">
38 <div class="rounded-window"> 38 <div class="rounded-window">
39 <div class="suite-header light-rounded-window-top"> 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 </a> <!-- navigator-link --> 42 </a> <!-- navigator-link -->
43 </div> <!-- suite-header light-rounded-window-top --> 43 </div> <!-- suite-header light-rounded-window-top -->
44 <div class="navigator-suite-content"> 44 <div class="navigator-suite-content">
@@ -48,37 +48,37 @@ @@ -48,37 +48,37 @@
48 <div class="suite-section-content"> 48 <div class="suite-section-content">
49 <ul> 49 <ul>
50 <li> 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 </a> <!-- navigator-link --> 53 </a> <!-- navigator-link -->
54 </li> 54 </li>
55 <li> 55 <li>
56 - <a href="#" panel-name="testlist-提交PO" class="navigator-link "> 56 + <a href="#" panel-name="testlist-成品询价" class="navigator-link ">
57 <span class="test-stats">1 test</span> 57 <span class="test-stats">1 test</span>
58 </a> <!-- navigator-link --> 58 </a> <!-- navigator-link -->
59 </li> 59 </li>
60 <li> 60 <li>
61 - <a href="#" panel-name="group-提交PO" class="navigator-link "> 61 + <a href="#" panel-name="group-成品询价" class="navigator-link ">
62 <span>0 groups</span> 62 <span>0 groups</span>
63 </a> <!-- navigator-link --> 63 </a> <!-- navigator-link -->
64 </li> 64 </li>
65 <li> 65 <li>
66 - <a href="#" panel-name="times-提交PO" class="navigator-link "> 66 + <a href="#" panel-name="times-成品询价" class="navigator-link ">
67 <span>Times</span> 67 <span>Times</span>
68 </a> <!-- navigator-link --> 68 </a> <!-- navigator-link -->
69 </li> 69 </li>
70 <li> 70 <li>
71 - <a href="#" panel-name="reporter-提交PO" class="navigator-link "> 71 + <a href="#" panel-name="reporter-成品询价" class="navigator-link ">
72 <span>Reporter output</span> 72 <span>Reporter output</span>
73 </a> <!-- navigator-link --> 73 </a> <!-- navigator-link -->
74 </li> 74 </li>
75 <li> 75 <li>
76 - <a href="#" panel-name="ignored-methods-提交PO" class="navigator-link "> 76 + <a href="#" panel-name="ignored-methods-成品询价" class="navigator-link ">
77 <span>Ignored methods</span> 77 <span>Ignored methods</span>
78 </a> <!-- navigator-link --> 78 </a> <!-- navigator-link -->
79 </li> 79 </li>
80 <li> 80 <li>
81 - <a href="#" panel-name="chronological-提交PO" class="navigator-link "> 81 + <a href="#" panel-name="chronological-成品询价" class="navigator-link ">
82 <span>Chronological view</span> 82 <span>Chronological view</span>
83 </a> <!-- navigator-link --> 83 </a> <!-- navigator-link -->
84 </li> 84 </li>
@@ -91,36 +91,26 @@ @@ -91,36 +91,26 @@
91 <div class="suite-section-content"> 91 <div class="suite-section-content">
92 <ul> 92 <ul>
93 <li> 93 <li>
94 - <span class="method-stats">4 methods, 4 passed</span> 94 + <span class="method-stats">2 methods, 2 passed</span>
95 </li> 95 </li>
96 <li> 96 <li>
97 <span class="method-list-title passed">Passed methods</span> 97 <span class="method-list-title passed">Passed methods</span>
98 <span class="show-or-hide-methods passed"> 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 </span> 101 </span>
102 - <div class="method-list-content passed suite-提交PO"> 102 + <div class="method-list-content passed suite-成品询价">
103 <span> 103 <span>
104 <img src="passed.png" width="3%"/> 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 </span> 106 </span>
107 <br/> 107 <br/>
108 <span> 108 <span>
109 <img src="passed.png" width="3%"/> 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 </span> 111 </span>
112 <br/> 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 </li> 114 </li>
125 </ul> 115 </ul>
126 </div> <!-- suite-section-content --> 116 </div> <!-- suite-section-content -->
@@ -131,34 +121,25 @@ @@ -131,34 +121,25 @@
131 </div> <!-- navigator-root --> 121 </div> <!-- navigator-root -->
132 <div class="wrapper"> 122 <div class="wrapper">
133 <div class="main-panel-root"> 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 <div class="main-panel-header rounded-window-top"> 126 <div class="main-panel-header rounded-window-top">
137 <img src="passed.png"/> 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 </div> <!-- main-panel-header rounded-window-top --> 129 </div> <!-- main-panel-header rounded-window-top -->
140 <div class="main-panel-content rounded-window-bottom"> 130 <div class="main-panel-content rounded-window-bottom">
141 <div class="method"> 131 <div class="method">
142 <div class="method-content"> 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 <em> 136 <em>
156 -(设置贴纸唛头,提交PO) </em> 137 +(关键字搜索,并将sku加入购物车) </em>
157 </div> <!-- method-content --> 138 </div> <!-- method-content -->
158 </div> <!-- method --> 139 </div> <!-- method -->
159 </div> <!-- main-panel-content rounded-window-bottom --> 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 <div class="main-panel-header rounded-window-top"> 143 <div class="main-panel-header rounded-window-top">
163 <img src="passed.png"/> 144 <img src="passed.png"/>
164 <span class="class-name">com.essa.testSuite.TestProductInquiry</span> 145 <span class="class-name">com.essa.testSuite.TestProductInquiry</span>
@@ -174,39 +155,22 @@ @@ -174,39 +155,22 @@
174 </div> <!-- method-content --> 155 </div> <!-- method-content -->
175 </div> <!-- method --> 156 </div> <!-- method -->
176 </div> <!-- main-panel-content rounded-window-bottom --> 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 <div class="main-panel-header rounded-window-top"> 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 </div> <!-- main-panel-header rounded-window-top --> 163 </div> <!-- main-panel-header rounded-window-top -->
200 <div class="main-panel-content rounded-window-bottom"> 164 <div class="main-panel-content rounded-window-bottom">
201 <pre> 165 <pre>
202 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; 166 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
203 &lt;!DOCTYPE suite SYSTEM &quot;http://testng.org/testng-1.0.dtd&quot;&gt; 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 &lt;classes&gt; 170 &lt;classes&gt;
207 &lt;class name=&quot;com.buyer.testSuite.TestAddToCart&quot;&gt; 171 &lt;class name=&quot;com.buyer.testSuite.TestAddToCart&quot;&gt;
208 &lt;methods&gt; 172 &lt;methods&gt;
209 - &lt;include name=&quot;addSku&quot;/&gt; 173 + &lt;include name=&quot;keywordToCart&quot;/&gt;
210 &lt;/methods&gt; 174 &lt;/methods&gt;
211 &lt;/class&gt; &lt;!-- com.buyer.testSuite.TestAddToCart --&gt; 175 &lt;/class&gt; &lt;!-- com.buyer.testSuite.TestAddToCart --&gt;
212 &lt;class name=&quot;com.essa.testSuite.TestProductInquiry&quot;&gt; 176 &lt;class name=&quot;com.essa.testSuite.TestProductInquiry&quot;&gt;
@@ -214,86 +178,72 @@ @@ -214,86 +178,72 @@
214 &lt;include name=&quot;productInquiry&quot;/&gt; 178 &lt;include name=&quot;productInquiry&quot;/&gt;
215 &lt;/methods&gt; 179 &lt;/methods&gt;
216 &lt;/class&gt; &lt;!-- com.essa.testSuite.TestProductInquiry --&gt; 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 &lt;/classes&gt; 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 </pre> 184 </pre>
227 </div> <!-- main-panel-content rounded-window-bottom --> 185 </div> <!-- main-panel-content rounded-window-bottom -->
228 </div> <!-- panel --> 186 </div> <!-- panel -->
229 - <div panel-name="testlist-提交PO" class="panel"> 187 + <div panel-name="testlist-成品询价" class="panel">
230 <div class="main-panel-header rounded-window-top"> 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 </div> <!-- main-panel-header rounded-window-top --> 190 </div> <!-- main-panel-header rounded-window-top -->
233 <div class="main-panel-content rounded-window-bottom"> 191 <div class="main-panel-content rounded-window-bottom">
234 <ul> 192 <ul>
235 <li> 193 <li>
236 - <span class="test-name">sendPO (3 classes)</span> 194 + <span class="test-name">productInquiry (2 classes)</span>
237 </li> 195 </li>
238 </ul> 196 </ul>
239 </div> <!-- main-panel-content rounded-window-bottom --> 197 </div> <!-- main-panel-content rounded-window-bottom -->
240 </div> <!-- panel --> 198 </div> <!-- panel -->
241 - <div panel-name="group-提交PO" class="panel"> 199 + <div panel-name="group-成品询价" class="panel">
242 <div class="main-panel-header rounded-window-top"> 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 </div> <!-- main-panel-header rounded-window-top --> 202 </div> <!-- main-panel-header rounded-window-top -->
245 <div class="main-panel-content rounded-window-bottom"> 203 <div class="main-panel-content rounded-window-bottom">
246 </div> <!-- main-panel-content rounded-window-bottom --> 204 </div> <!-- main-panel-content rounded-window-bottom -->
247 </div> <!-- panel --> 205 </div> <!-- panel -->
248 - <div panel-name="times-提交PO" class="panel"> 206 + <div panel-name="times-成品询价" class="panel">
249 <div class="main-panel-header rounded-window-top"> 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 </div> <!-- main-panel-header rounded-window-top --> 209 </div> <!-- main-panel-header rounded-window-top -->
252 <div class="main-panel-content rounded-window-bottom"> 210 <div class="main-panel-content rounded-window-bottom">
253 <div class="times-div"> 211 <div class="times-div">
254 <script type="text/javascript"> 212 <script type="text/javascript">
255 -suiteTableInitFunctions.push('tableData_提交PO');  
256 -function tableData_提交PO() { 213 +suiteTableInitFunctions.push('tableData_成品询价');
  214 +function tableData_成品询价() {
257 var data = new google.visualization.DataTable(); 215 var data = new google.visualization.DataTable();
258 data.addColumn('number', 'Number'); 216 data.addColumn('number', 'Number');
259 data.addColumn('string', 'Method'); 217 data.addColumn('string', 'Method');
260 data.addColumn('string', 'Class'); 218 data.addColumn('string', 'Class');
261 data.addColumn('number', 'Time (ms)'); 219 data.addColumn('number', 'Time (ms)');
262 -data.addRows(4); 220 +data.addRows(2);
263 data.setCell(0, 0, 0) 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 data.setCell(1, 0, 1) 225 data.setCell(1, 0, 1)
268 data.setCell(1, 1, 'productInquiry') 226 data.setCell(1, 1, 'productInquiry')
269 data.setCell(1, 2, 'com.essa.testSuite.TestProductInquiry') 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 return data; 230 return data;
281 } 231 }
282 </script> 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 </div> <!-- times-div --> 236 </div> <!-- times-div -->
287 </div> <!-- main-panel-content rounded-window-bottom --> 237 </div> <!-- main-panel-content rounded-window-bottom -->
288 </div> <!-- panel --> 238 </div> <!-- panel -->
289 - <div panel-name="reporter-提交PO" class="panel"> 239 + <div panel-name="reporter-成品询价" class="panel">
290 <div class="main-panel-header rounded-window-top"> 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 </div> <!-- main-panel-header rounded-window-top --> 242 </div> <!-- main-panel-header rounded-window-top -->
293 <div class="main-panel-content rounded-window-bottom"> 243 <div class="main-panel-content rounded-window-bottom">
294 </div> <!-- main-panel-content rounded-window-bottom --> 244 </div> <!-- main-panel-content rounded-window-bottom -->
295 </div> <!-- panel --> 245 </div> <!-- panel -->
296 - <div panel-name="ignored-methods-提交PO" class="panel"> 246 + <div panel-name="ignored-methods-成品询价" class="panel">
297 <div class="main-panel-header rounded-window-top"> 247 <div class="main-panel-header rounded-window-top">
298 <span class="header-content">1 ignored method</span> 248 <span class="header-content">1 ignored method</span>
299 </div> <!-- main-panel-header rounded-window-top --> 249 </div> <!-- main-panel-header rounded-window-top -->
@@ -301,13 +251,13 @@ return data; @@ -301,13 +251,13 @@ return data;
301 <div class="ignored-class-div"> 251 <div class="ignored-class-div">
302 <span class="ignored-class-name">com.buyer.testSuite.TestAddToCart</span> 252 <span class="ignored-class-name">com.buyer.testSuite.TestAddToCart</span>
303 <div class="ignored-methods-div"> 253 <div class="ignored-methods-div">
304 - <span class="ignored-method-name">keywordToCart</span> 254 + <span class="ignored-method-name">addSku</span>
305 <br/> 255 <br/>
306 </div> <!-- ignored-methods-div --> 256 </div> <!-- ignored-methods-div -->
307 </div> <!-- ignored-class-div --> 257 </div> <!-- ignored-class-div -->
308 </div> <!-- main-panel-content rounded-window-bottom --> 258 </div> <!-- main-panel-content rounded-window-bottom -->
309 </div> <!-- panel --> 259 </div> <!-- panel -->
310 - <div panel-name="chronological-提交PO" class="panel"> 260 + <div panel-name="chronological-成品询价" class="panel">
311 <div class="main-panel-header rounded-window-top"> 261 <div class="main-panel-header rounded-window-top">
312 <span class="header-content">Methods in chronological order</span> 262 <span class="header-content">Methods in chronological order</span>
313 </div> <!-- main-panel-header rounded-window-top --> 263 </div> <!-- main-panel-header rounded-window-top -->
@@ -319,46 +269,27 @@ return data; @@ -319,46 +269,27 @@ return data;
319 <span class="method-start">0 ms</span> 269 <span class="method-start">0 ms</span>
320 </div> <!-- configuration-class before --> 270 </div> <!-- configuration-class before -->
321 <div class="test-method"> 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 </div> <!-- test-method --> 274 </div> <!-- test-method -->
325 <div class="configuration-class after"> 275 <div class="configuration-class after">
326 <span class="method-name">tearDown</span> 276 <span class="method-name">tearDown</span>
327 - <span class="method-start">22254 ms</span> 277 + <span class="method-start">32618 ms</span>
328 </div> <!-- configuration-class after --> 278 </div> <!-- configuration-class after -->
329 </div> <!-- chronological-class --> 279 </div> <!-- chronological-class -->
330 <div class="chronological-class"> 280 <div class="chronological-class">
331 <div class="chronological-class-name">com.essa.testSuite.TestProductInquiry</div> <!-- chronological-class-name --> 281 <div class="chronological-class-name">com.essa.testSuite.TestProductInquiry</div> <!-- chronological-class-name -->
332 <div class="configuration-class before"> 282 <div class="configuration-class before">
333 <span class="method-name">setUp</span> 283 <span class="method-name">setUp</span>
334 - <span class="method-start">23031 ms</span> 284 + <span class="method-start">33381 ms</span>
335 </div> <!-- configuration-class before --> 285 </div> <!-- configuration-class before -->
336 <div class="test-method"> 286 <div class="test-method">
337 <span class="method-name">productInquiry</span> 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 </div> <!-- test-method --> 289 </div> <!-- test-method -->
359 <div class="configuration-class after"> 290 <div class="configuration-class after">
360 <span class="method-name">tearDown</span> 291 <span class="method-name">tearDown</span>
361 - <span class="method-start">98767 ms</span> 292 + <span class="method-start">59438 ms</span>
362 </div> <!-- configuration-class after --> 293 </div> <!-- configuration-class after -->
363 </div> <!-- main-panel-content rounded-window-bottom --> 294 </div> <!-- main-panel-content rounded-window-bottom -->
364 </div> <!-- panel --> 295 </div> <!-- panel -->
test-output/junitreports/TEST-com.buyer.testSuite.TestAddToCart.xml
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated by org.testng.reporters.JUnitReportReporter --> 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 </testsuite> <!-- com.buyer.testSuite.TestAddToCart --> 5 </testsuite> <!-- com.buyer.testSuite.TestAddToCart -->
test-output/junitreports/TEST-com.essa.testSuite.TestProductInquiry.xml
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated by org.testng.reporters.JUnitReportReporter --> 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 </testsuite> <!-- com.essa.testSuite.TestProductInquiry --> 5 </testsuite> <!-- com.essa.testSuite.TestProductInquiry -->
test-output/old/index.html
@@ -4,6 +4,6 @@ @@ -4,6 +4,6 @@
4 </head><body> 4 </head><body>
5 <h2><p align='center'>Test results</p></h2> 5 <h2><p align='center'>Test results</p></h2>
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> 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 <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/> 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 <table border="1"> 2 <table border="1">
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> 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 <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 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 <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 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 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 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 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 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 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 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 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 15 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
16 </table> 16 </table>
test-output/old/成品询价/methods.html
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/> 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 <table border="1"> 2 <table border="1">
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> 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 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 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 <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 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 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 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 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 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 <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 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 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr> 15 <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> <td>AWT-EventQueue-0@662822946</td> <td></td> </tr>
16 </table> 16 </table>
test-output/testng-results.xml
1 <?xml version="1.0" encoding="UTF-8"?> 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 <reporter-output> 3 <reporter-output>
4 </reporter-output> 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 <groups> 6 <groups>
7 </groups> 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 <class name="com.essa.testSuite.TestProductInquiry"> 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 <reporter-output> 11 <reporter-output>
12 </reporter-output> 12 </reporter-output>
13 </test-method> <!-- setUp --> 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 <reporter-output> 15 <reporter-output>
16 </reporter-output> 16 </reporter-output>
17 </test-method> <!-- productInquiry --> 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 <reporter-output> 19 <reporter-output>
20 </reporter-output> 20 </reporter-output>
21 </test-method> <!-- tearDown --> 21 </test-method> <!-- tearDown -->
22 </class> <!-- com.essa.testSuite.TestProductInquiry --> 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 <class name="com.buyer.testSuite.TestAddToCart"> 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 <reporter-output> 25 <reporter-output>
44 </reporter-output> 26 </reporter-output>
45 </test-method> <!-- setUp --> 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 <reporter-output> 29 <reporter-output>
48 </reporter-output> 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 <reporter-output> 33 <reporter-output>
52 </reporter-output> 34 </reporter-output>
53 </test-method> <!-- tearDown --> 35 </test-method> <!-- tearDown -->
54 </class> <!-- com.buyer.testSuite.TestAddToCart --> 36 </class> <!-- com.buyer.testSuite.TestAddToCart -->
55 - </test> <!-- sendPO -->  
56 - </suite> <!-- 提交PO --> 37 + </test> <!-- productInquiry -->
  38 + </suite> <!-- 成品询价 -->
57 </testng-results> 39 </testng-results>
test-output/成品询价/productInquiry.html
@@ -57,9 +57,9 @@ function toggleAllBoxes() { @@ -57,9 +57,9 @@ function toggleAllBoxes() {
57 <tr> 57 <tr>
58 <td>Tests passed/Failed/Skipped:</td><td>2/0/0</td> 58 <td>Tests passed/Failed/Skipped:</td><td>2/0/0</td>
59 </tr><tr> 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 </tr> 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 </tr><tr> 63 </tr><tr>
64 <td>Included groups:</td><td></td> 64 <td>Included groups:</td><td></td>
65 </tr><tr> 65 </tr><tr>
@@ -77,13 +77,13 @@ function toggleAllBoxes() { @@ -77,13 +77,13 @@ function toggleAllBoxes() {
77 <tr> 77 <tr>
78 <td title='com.buyer.testSuite.TestAddToCart.keywordToCart()'><b>keywordToCart</b><br>Test class: com.buyer.testSuite.TestAddToCart<br>Test method: 关键字搜索,并将sku加入购物车</td> 78 <td title='com.buyer.testSuite.TestAddToCart.keywordToCart()'><b>keywordToCart</b><br>Test class: com.buyer.testSuite.TestAddToCart<br>Test method: 关键字搜索,并将sku加入购物车</td>
79 <td></td> 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 <tr> 82 <tr>
83 <td title='com.essa.testSuite.TestProductInquiry.productInquiry()'><b>productInquiry</b><br>Test class: com.essa.testSuite.TestProductInquiry<br>Test method: 成品询价流程</td> 83 <td title='com.essa.testSuite.TestProductInquiry.productInquiry()'><b>productInquiry</b><br>Test class: com.essa.testSuite.TestProductInquiry<br>Test method: 成品询价流程</td>
84 <td></td> 84 <td></td>
85 <td>18</td> 85 <td>18</td>
86 -<td>com.essa.testSuite.TestProductInquiry@31f7f51f</td></tr> 86 +<td>com.essa.testSuite.TestProductInquiry@7346ae3e</td></tr>
87 </table><p> 87 </table><p>
88 </body> 88 </body>
89 </html> 89 </html>
90 \ No newline at end of file 90 \ No newline at end of file
test-output/成品询价/productInquiry.xml
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated by org.testng.reporters.JUnitXMLReporter --> 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 <testcase classname="com.buyer.testSuite.TestAddToCart" name="addSku" time="0.0"> 6 <testcase classname="com.buyer.testSuite.TestAddToCart" name="addSku" time="0.0">
7 <ignored/> 7 <ignored/>
8 </testcase> <!-- addSku --> 8 </testcase> <!-- addSku -->