Commit 5da70128 by wanggang

提交微医项目

parent fc392bec
...@@ -17,15 +17,11 @@ ...@@ -17,15 +17,11 @@
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/> <classpathentry kind="output" path="target/classes"/>
</classpath> </classpath>
package com.mjitech.qa.data;
import org.testng.annotations.DataProvider;
public class MicroMedineceData {
/**
* 下单接口数据
* */
@DataProvider(name="add_orderAction")
public static Object[][] add_orderAction(){
return new Object[][] {
//{warehouseId,tokenId,}
{39,"wy"}
};
}
/**
* 下单接口数据
* */
@DataProvider(name="pay_successAction")
public static Object[][] pay_successAction(){
return new Object[][] {
//{"orderNumber"}
{"S6845845536"}
};
}
/**
* 获取订单的订单状态及实际出货信息数据
* */
@DataProvider(name="get_out_batchAction")
public static Object[][] get_out_batchAction(){
return new Object[][] {
//{"warehouseId","orderNumber"}
{"39","S5240727359"}
};
}
/**
* 取消订单( 取消恢复可售,订单状态变为已取消)
* */
@DataProvider(name="cancel_orderAction")
public static Object[][] cancel_orderAction() {
return new Object[][] {
//{"warehouseId","orderNumber"}
{39,"S9070546349"}
};
}
/**
* 获取门店补货明细接口
* */
@DataProvider(name="get_finish_addrAction")
public static Object[][] get_finish_addrAction(){
return new Object[][] {
//{warehouseId,"fromDate","toDate"}
{39,"2020-04-17","2020-04-17"}
};
}
/**
* 获取当前门店商品库存信息
* */
@DataProvider(name="get_inventoryAction")
public static Object[][] get_inventoryAction() {
return new Object[][] {
//{warehouseId,skuId}
{39,2068}
};
}
/**
* 获取门店补货请求接口(未处理状态下)
* */
@DataProvider(name="get_request_data")
public static Object[][] get_request_data() {
return new Object[][] {
//{warehouseIds}
{new int[]{39}}
};
}
/**
* 保存分拣单
* */
@DataProvider(name="save_picking_dataAction")
public static Object[][] save_picking_dataAction() {
return new Object[][] {
//{requestId,skuId,requestQuantity,lotDate,deliveryId}
// {53757,815,2,"2020-04-22","D00200417172550"}
//接口正向返回{"meta":{"code":"200","message":"成功","success":true},"data":true}
{53756,2187,2,"2020-04-22","D00200417172551"}
};
}
/**
* 药品批次核对查看
* */
@DataProvider(name="check_batch_viewAction")
public static Object[][] check_batch_viewAction() {
return new Object[][] {
//{"orderNumber","batchId"}
{"S5240727359","69655"}
};
}
/**
* 药品批次核对
* */
@DataProvider(name="check_batchAction")
public static Object[][] check_batchAction() {
return new Object[][] {
//{"orderNumber","batchId"}
{"S5240727359","69655"}
};
}
}
package com.mjitech.qa.model;
/**
* 下单接口实体类
* @author gangwang
* @date 2020-04-20
* */
public class OrderData {
private int skuId ;
private int skuCount ;
private double price ;
public int getSkuId() {
return skuId;
}
public void setSkuId(int skuId) {
this.skuId = skuId;
}
public int getSkuCount() {
return skuCount;
}
public void setSkuCount(int skuCount) {
this.skuCount = skuCount;
}
public double getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
}
package com.mjitech.qa.model;
/**
* 保存分拣单接口实体类
* @author gangwang
* @date 2020-04-20
* */
public class RequestData {
private int requestId ;
private int skuId;
private int requestQuantity ;
private String lotDate ;
public int getRequestId() {
return requestId;
}
public void setRequestId(int requestId) {
this.requestId = requestId;
}
public int getSkuId() {
return skuId;
}
public void setSkuId(int skuId) {
this.skuId = skuId;
}
public int getRequestQuantity() {
return requestQuantity;
}
public void setRequestQuantity(int requestQuantity) {
this.requestQuantity = requestQuantity;
}
public String getLotDate() {
return lotDate;
}
public void setLotDate(String lotDate) {
this.lotDate = lotDate;
}
}
...@@ -10,13 +10,17 @@ import java.io.UnsupportedEncodingException; ...@@ -10,13 +10,17 @@ import java.io.UnsupportedEncodingException;
import java.net.URI; import java.net.URI;
import java.net.URLEncoder; import java.net.URLEncoder;
import java.nio.Buffer; import java.nio.Buffer;
import java.security.GeneralSecurityException;
import java.security.MessageDigest; import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException; import java.security.NoSuchAlgorithmException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.Map;
import java.util.Random; import java.util.Random;
import java.util.Set;
import java.util.TreeSet;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
...@@ -114,7 +118,7 @@ public class BaseService { ...@@ -114,7 +118,7 @@ public class BaseService {
hp.setEntity(new UrlEncodedFormEntity(nvps, Consts.UTF_8)); hp.setEntity(new UrlEncodedFormEntity(nvps, Consts.UTF_8));
hr = hc.execute(hp); hr = hc.execute(hp);
entity = hr.getEntity(); entity = hr.getEntity();
BufferedReader postresult = new BufferedReader(new InputStreamReader(entity.getContent(), "UTF-8")); BufferedReader postresult = new BufferedReader(new InputStreamReader(entity.getContent(), "UTF-8"));
// 清空 strb // 清空 strb
strB.delete(0, strB.length()); strB.delete(0, strB.length());
line = null; line = null;
...@@ -880,7 +884,148 @@ public class BaseService { ...@@ -880,7 +884,148 @@ public class BaseService {
return json; return json;
} }
/**
* post 微医项目调试接口公共方法
* @return josn
* */
public JSONObject httppostMicroMedineceReturnJson01(String url, List<NameValuePair> nvps)
throws ClientProtocolException, IOException {
HttpPost hp = new HttpPost(url);
hp.setHeader("Content-Type", "application/json");
hp.setHeader("appid","");
hp.setHeader("random","");
hp.setHeader("sign","");
hp.setHeader("timestamp","");
//hp.setHeader("Content-Type", "application/x-www-form-urlencoded");
//测试环境秘钥 TWppdGVjaF8yMDE5X1Rlc3Q=
//预发环境秘钥 TWppdGVjaF8yMDE5X1ByZXByb2Q=
// hp.setHeader("mjitech-machine-cert", "TWppdGVjaF8yMDE5X1Rlc3Q=");
hp.setEntity(new UrlEncodedFormEntity(nvps, Consts.UTF_8));
hr = hc.execute(hp);
entity = hr.getEntity();
BufferedReader postresult = new BufferedReader(new InputStreamReader(entity.getContent(), "UTF-8"));
// 清空 strb
strB.delete(0, strB.length());
line = null;
while ((line = postresult.readLine()) != null) {
strB.append(line);
}
hp.abort();
json.clear();
try {
json = JSONObject.fromObject(strB.toString());
} catch (Exception e) {
json = new JSONObject();
System.out.println("返回不是json数据:" + strB.toString());
}
return json;
}
/**
* 华沁微医项目加密算法
* */
public static String getSign(Map<String, String> params, String secretKey) {
String sign = "";
StringBuilder sb = new StringBuilder();
//step1:先对请求参数排序
Set<String> keyset = params.keySet();
TreeSet<String> sortSet = new TreeSet<String>();
sortSet.addAll(keyset);
Iterator<String> it = sortSet.iterator();
//step2:把参数的key value链接起来 secretkey放在最后面,得到要加密的字符串
while (it.hasNext()) {
String key = it.next();
String value = params.get(key);
sb.append(key).append("=").append(value).append("&");
}
sb.append("secretkey=").append(secretKey);//待研发给出。
byte[] md5Digest;
try {
//得到Md5加密得到sign
md5Digest = getMD5Digest(sb.toString());
sign = byte2hex(md5Digest);
} catch (IOException e) {
System.out.println("生成签名错误");
e.printStackTrace();
}
return sign;
}
/**
* 华沁加密算法依赖方法
* */
private static String byte2hex(byte[] bytes) {
StringBuilder sign = new StringBuilder();
for (int i = 0; i < bytes.length; i++) {
String hex = Integer.toHexString(bytes[i] & 0xFF);
if (hex.length() == 1) {
sign.append("0");
}
sign.append(hex.toUpperCase());
}
return sign.toString();
}
/**
* 华沁加密算法依赖方法
* **/
private static byte[] getMD5Digest(String data) throws IOException {
byte[] bytes;
try {
MessageDigest md = MessageDigest.getInstance("MD5");
bytes = md.digest(data.getBytes("UTF-8"));
} catch (GeneralSecurityException gse) {
throw new IOException(gse);
}
return bytes;
}
/**
* post微医项目通用方法
* @return josn
* */
public JSONObject httppostMicroMedineceReturnJson(String url, String str)
throws ClientProtocolException, IOException {
HttpPost hp = new HttpPost(url);
hp.setHeader("Content-Type", "application/json");
hp.setHeader("appid","");
hp.setHeader("random","");
hp.setHeader("sign","");
hp.setHeader("timestamp","");
hp.setEntity(new StringEntity(str, Consts.UTF_8));
//hp.setHeader("Content-Type", "application/x-www-form-urlencoded");
//测试环境秘钥 TWppdGVjaF8yMDE5X1Rlc3Q=
//预发环境秘钥 TWppdGVjaF8yMDE5X1ByZXByb2Q=
// hp.setHeader("mjitech-machine-cert", "TWppdGVjaF8yMDE5X1Rlc3Q=");
hr = hc.execute(hp);
entity = hr.getEntity();
System.out.println(EntityUtils.toString(entity, "UTF-8"));
/*BufferedReader postresult = new BufferedReader(new InputStreamReader(entity.getContent(), "UTF-8"));
// 清空 strb
strB.delete(0, strB.length());
line = null;
while ((line = postresult.readLine()) != null) {
strB.append(line);
}
hp.abort();
json.clear();
try {
json = JSONObject.fromObject(strB.toString());
} catch (Exception e) {
json = new JSONObject();
System.out.println("返回不是json数据:" + strB.toString());
}*/
return json;
}
} }
...@@ -388,7 +388,7 @@ public class AddSkuToCart { ...@@ -388,7 +388,7 @@ public class AddSkuToCart {
String url = "https://test.mjitech.com/web/machine_api/update_order_status.action"; String url = "https://test.mjitech.com/web/machine_api/update_order_status.action";
json.put("storeId", "52"); json.put("storeId", "52");
json.put("orderNumber", orderNumber) ; json.put("orderNumber", orderNumber) ;
//1新2已支付3未取4正在取5已取6取货失败7退款申请中8已退款9退款失败10部分退款,退款申请状态查阅RefundOrder状态21机器故障但未退款91已取消 //1新2已支付3未取4正在取5已取6取货失败7退款申请中8已退款9退款失败10部分退款,退款申请状态查阅RefundOrder状态21机器故障但未退款91已取消;66:支付中
json.put("status", "5"); json.put("status", "5");
try { try {
JSONObject result = service.httppostCartReturnJson(url, service.postParameter(json)); JSONObject result = service.httppostCartReturnJson(url, service.postParameter(json));
......
...@@ -55,11 +55,11 @@ function toggleAllBoxes() { ...@@ -55,11 +55,11 @@ function toggleAllBoxes() {
<body> <body>
<h2 align='center'>Default test</h2><table border='1' align="center"> <h2 align='center'>Default test</h2><table border='1' align="center">
<tr> <tr>
<td>Tests passed/Failed/Skipped:</td><td>2/0/0</td> <td>Tests passed/Failed/Skipped:</td><td>1/0/0</td>
</tr><tr> </tr><tr>
<td>Started on:</td><td>Fri Oct 11 17:47:49 CST 2019</td> <td>Started on:</td><td>Wed Apr 22 11:23:07 CST 2020</td>
</tr> </tr>
<tr><td>Total time:</td><td>2330 seconds (2330248 ms)</td> <tr><td>Total time:</td><td>1 seconds (1711 ms)</td>
</tr><tr> </tr><tr>
<td>Included groups:</td><td></td> <td>Included groups:</td><td></td>
</tr><tr> </tr><tr>
...@@ -75,15 +75,10 @@ function toggleAllBoxes() { ...@@ -75,15 +75,10 @@ function toggleAllBoxes() {
<td><b>Instance</b></td> <td><b>Instance</b></td>
</tr> </tr>
<tr> <tr>
<td title='com.mjitech.qa.test.PickUpGoodsTest.login()'><b>login</b><br>Test class: com.mjitech.qa.test.PickUpGoodsTest</td> <td title='com.mjitech.qa.test.MicroMedinece.save_picking_dataAction()'><b>save_picking_dataAction</b><br>Test class: com.mjitech.qa.test.MicroMedinece<br>Parameters: 53756, 2187, 2, 2020-04-22, D00200417172551</td>
<td></td> <td></td>
<td>0</td> <td>1</td>
<td>com.mjitech.qa.test.PickUpGoodsTest@371a67ec</td></tr> <td>com.mjitech.qa.test.MicroMedinece@5f3a4b84</td></tr>
<tr>
<td title='com.mjitech.qa.test.PickUpGoodsTest.pickUpGoodsTest002()'><b>pickUpGoodsTest002</b><br>Test class: com.mjitech.qa.test.PickUpGoodsTest</td>
<td></td>
<td>2329</td>
<td>com.mjitech.qa.test.PickUpGoodsTest@371a67ec</td></tr>
</table><p> </table><p>
</body> </body>
</html> </html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitXMLReporter --> <!-- Generated by org.testng.reporters.JUnitXMLReporter -->
<testsuite hostname="YLMF-1711181457" name="Default test" tests="2" failures="0" timestamp="11 Oct 2019 10:26:40 GMT" time="2330.248" errors="0"> <testsuite hostname="YLMF-1711181457" name="Default test" tests="1" failures="0" timestamp="22 Apr 2020 03:23:09 GMT" time="1.711" errors="0">
<testcase name="login" time="0.779" classname="com.mjitech.qa.test.PickUpGoodsTest"/> <testcase name="save_picking_dataAction" time="1.691" classname="com.mjitech.qa.test.MicroMedinece"/>
<testcase name="pickUpGoodsTest002" time="2329.435" classname="com.mjitech.qa.test.PickUpGoodsTest"/>
</testsuite> <!-- Default test --> </testsuite> <!-- Default test -->
...@@ -3,12 +3,11 @@ ...@@ -3,12 +3,11 @@
<suite name="Failed suite [Default suite]"> <suite name="Failed suite [Default suite]">
<test name="Default test(failed)"> <test name="Default test(failed)">
<classes> <classes>
<class name="com.mjitech.qa.test.PickUpGoodsTest"> <class name="com.mjitech.qa.test.MicroMedinece">
<methods> <methods>
<include name="login"/> <include name="save_picking_dataAction"/>
<include name="pickUpGoodsTest008"/>
</methods> </methods>
</class> <!-- com.mjitech.qa.test.PickUpGoodsTest --> </class> <!-- com.mjitech.qa.test.MicroMedinece -->
</classes> </classes>
</test> <!-- Default test(failed) --> </test> <!-- Default test(failed) -->
</suite> <!-- Failed suite [Default suite] --> </suite> <!-- Failed suite [Default suite] -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>TestNG Report</title><style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}</style></head><body><table><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><tr><th colspan="7">Default suite</th></tr><tr><td><a href="#t0">Default test</a></td><td class="num">2</td><td class="num">0</td><td class="num">0</td><td class="num">2,330,248</td><td></td><td></td></tr></table><table><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">Default suite</th></tr></tbody><tbody id="t0"><tr><th colspan="4">Default test &#8212; passed</th></tr><tr class="passedeven"><td rowspan="2">com.mjitech.qa.test.PickUpGoodsTest</td><td><a href="#m0">login</a></td><td rowspan="1">1570787269954</td><td rowspan="1">779</td></tr><tr class="passedeven"><td><a href="#m1">pickUpGoodsTest002</a></td><td rowspan="1">1570787270750</td><td rowspan="1">2329435</td></tr></tbody></table><h2>Default test</h2><h3 id="m0">com.mjitech.qa.test.PickUpGoodsTest#login</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p><h3 id="m1">com.mjitech.qa.test.PickUpGoodsTest#pickUpGoodsTest002</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p></body></html> <html xmlns="http://www.w3.org/1999/xhtml"><head><title>TestNG Report</title><style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}</style></head><body><table><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><tr><th colspan="7">Default suite</th></tr><tr><td><a href="#t0">Default test</a></td><td class="num">1</td><td class="num">0</td><td class="num">0</td><td class="num">1,711</td><td></td><td></td></tr></table><table><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">Default suite</th></tr></tbody><tbody id="t0"><tr><th colspan="4">Default test &#8212; passed</th></tr><tr class="passedeven"><td rowspan="1">com.mjitech.qa.test.MicroMedinece</td><td><a href="#m0">save_picking_dataAction</a></td><td rowspan="1">1587525787766</td><td rowspan="1">1691</td></tr></tbody></table><h2>Default test</h2><h3 id="m0">com.mjitech.qa.test.MicroMedinece#save_picking_dataAction</h3><table class="result"><tr class="param"><th>Parameter #1</th><th>Parameter #2</th><th>Parameter #3</th><th>Parameter #4</th><th>Parameter #5</th></tr><tr class="param stripe"><td>53756</td><td>2187</td><td>2</td><td>2020-04-22</td><td>D00200417172551</td></tr></table><p class="totop"><a href="#summary">back to summary</a></p></body></html>
\ No newline at end of file \ No newline at end of file
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<ul> <ul>
<li> <li>
<a href="#" class="navigator-link " panel-name="test-xml-Default_suite"> <a href="#" class="navigator-link " panel-name="test-xml-Default_suite">
<span>C:\Users\Administrator\AppData\Local\Temp\testng-eclipse-896999884\testng-customsuite.xml</span> <span>C:\Users\Administrator\AppData\Local\Temp\testng-eclipse-637646348\testng-customsuite.xml</span>
</a> <!-- navigator-link --> </a> <!-- navigator-link -->
</li> </li>
<li> <li>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
<div class="suite-section-content"> <div class="suite-section-content">
<ul> <ul>
<li> <li>
<span class="method-stats">2 methods, 2 passed</span> <span class="method-stats">1 method, 1 passed</span>
</li> </li>
<li> <li>
<span class="method-list-title passed">Passed methods</span> <span class="method-list-title passed">Passed methods</span>
...@@ -101,12 +101,7 @@ ...@@ -101,12 +101,7 @@
<div class="method-list-content passed suite-Default_suite"> <div class="method-list-content passed suite-Default_suite">
<span> <span>
<img width="3%" src="passed.png"/> <img width="3%" src="passed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-Default_suite" title="com.mjitech.qa.test.PickUpGoodsTest" hash-for-method="login">login</a> <!-- method navigator-link --> <a href="#" class="method navigator-link" panel-name="suite-Default_suite" title="com.mjitech.qa.test.MicroMedinece" hash-for-method="save_picking_dataAction(53756, 2187, 2, 2020-04-22, D00200417172551)">save_picking_dataAction(53756, 2187, 2, 2020-04-22, D00200417172551)</a> <!-- method navigator-link -->
</span>
<br/>
<span>
<img width="3%" src="passed.png"/>
<a href="#" class="method navigator-link" panel-name="suite-Default_suite" title="com.mjitech.qa.test.PickUpGoodsTest" hash-for-method="pickUpGoodsTest002">pickUpGoodsTest002</a> <!-- method navigator-link -->
</span> </span>
<br/> <br/>
</div> <!-- method-list-content passed suite-Default_suite --> </div> <!-- method-list-content passed suite-Default_suite -->
...@@ -124,21 +119,15 @@ ...@@ -124,21 +119,15 @@
<div class="suite-Default_suite-class-passed"> <div class="suite-Default_suite-class-passed">
<div class="main-panel-header rounded-window-top"> <div class="main-panel-header rounded-window-top">
<img src="passed.png"/> <img src="passed.png"/>
<span class="class-name">com.mjitech.qa.test.PickUpGoodsTest</span> <span class="class-name">com.mjitech.qa.test.MicroMedinece</span>
</div> <!-- main-panel-header rounded-window-top --> </div> <!-- main-panel-header rounded-window-top -->
<div class="main-panel-content rounded-window-bottom"> <div class="main-panel-content rounded-window-bottom">
<div class="method"> <div class="method">
<div class="method-content"> <div class="method-content">
<a name="login"> <a name="save_picking_dataAction(53756, 2187, 2, 2020-04-22, D00200417172551)">
</a> <!-- login --> </a> <!-- save_picking_dataAction(53756, 2187, 2, 2020-04-22, D00200417172551) -->
<span class="method-name">login</span> <span class="method-name">save_picking_dataAction</span>
</div> <!-- method-content --> <span class="parameters">(53756, 2187, 2, 2020-04-22, D00200417172551)</span>
</div> <!-- method -->
<div class="method">
<div class="method-content">
<a name="pickUpGoodsTest002">
</a> <!-- pickUpGoodsTest002 -->
<span class="method-name">pickUpGoodsTest002</span>
</div> <!-- method-content --> </div> <!-- method-content -->
</div> <!-- method --> </div> <!-- method -->
</div> <!-- main-panel-content rounded-window-bottom --> </div> <!-- main-panel-content rounded-window-bottom -->
...@@ -146,7 +135,7 @@ ...@@ -146,7 +135,7 @@
</div> <!-- panel Default_suite --> </div> <!-- panel Default_suite -->
<div panel-name="test-xml-Default_suite" class="panel"> <div panel-name="test-xml-Default_suite" class="panel">
<div class="main-panel-header rounded-window-top"> <div class="main-panel-header rounded-window-top">
<span class="header-content">C:\Users\Administrator\AppData\Local\Temp\testng-eclipse-896999884\testng-customsuite.xml</span> <span class="header-content">C:\Users\Administrator\AppData\Local\Temp\testng-eclipse-637646348\testng-customsuite.xml</span>
</div> <!-- main-panel-header rounded-window-top --> </div> <!-- main-panel-header rounded-window-top -->
<div class="main-panel-content rounded-window-bottom"> <div class="main-panel-content rounded-window-bottom">
<pre> <pre>
...@@ -155,7 +144,7 @@ ...@@ -155,7 +144,7 @@
&lt;suite name=&quot;Default suite&quot;&gt; &lt;suite name=&quot;Default suite&quot;&gt;
&lt;test verbose=&quot;2&quot; name=&quot;Default test&quot;&gt; &lt;test verbose=&quot;2&quot; name=&quot;Default test&quot;&gt;
&lt;classes&gt; &lt;classes&gt;
&lt;class name=&quot;com.mjitech.qa.test.PickUpGoodsTest&quot;/&gt; &lt;class name=&quot;com.mjitech.qa.test.MicroMedinece&quot;/&gt;
&lt;/classes&gt; &lt;/classes&gt;
&lt;/test&gt; &lt;!-- Default test --&gt; &lt;/test&gt; &lt;!-- Default test --&gt;
&lt;/suite&gt; &lt;!-- Default suite --&gt; &lt;/suite&gt; &lt;!-- Default suite --&gt;
...@@ -195,20 +184,16 @@ data.addColumn('number', 'Number'); ...@@ -195,20 +184,16 @@ data.addColumn('number', 'Number');
data.addColumn('string', 'Method'); data.addColumn('string', 'Method');
data.addColumn('string', 'Class'); data.addColumn('string', 'Class');
data.addColumn('number', 'Time (ms)'); data.addColumn('number', 'Time (ms)');
data.addRows(2); data.addRows(1);
data.setCell(0, 0, 0) data.setCell(0, 0, 0)
data.setCell(0, 1, 'pickUpGoodsTest002') data.setCell(0, 1, 'save_picking_dataAction')
data.setCell(0, 2, 'com.mjitech.qa.test.PickUpGoodsTest') data.setCell(0, 2, 'com.mjitech.qa.test.MicroMedinece')
data.setCell(0, 3, 2329435); data.setCell(0, 3, 1691);
data.setCell(1, 0, 1)
data.setCell(1, 1, 'login')
data.setCell(1, 2, 'com.mjitech.qa.test.PickUpGoodsTest')
data.setCell(1, 3, 779);
window.suiteTableData['Default_suite']= { tableData: data, tableDiv: 'times-div-Default_suite'} window.suiteTableData['Default_suite']= { tableData: data, tableDiv: 'times-div-Default_suite'}
return data; return data;
} }
</script> </script>
<span class="suite-total-time">Total running time: 38 minutes</span> <span class="suite-total-time">Total running time: 1 seconds</span>
<div id="times-div-Default_suite"> <div id="times-div-Default_suite">
</div> <!-- times-div-Default_suite --> </div> <!-- times-div-Default_suite -->
</div> <!-- times-div --> </div> <!-- times-div -->
...@@ -234,15 +219,11 @@ return data; ...@@ -234,15 +219,11 @@ return data;
</div> <!-- main-panel-header rounded-window-top --> </div> <!-- main-panel-header rounded-window-top -->
<div class="main-panel-content rounded-window-bottom"> <div class="main-panel-content rounded-window-bottom">
<div class="chronological-class"> <div class="chronological-class">
<div class="chronological-class-name">com.mjitech.qa.test.PickUpGoodsTest</div> <!-- chronological-class-name --> <div class="chronological-class-name">com.mjitech.qa.test.MicroMedinece</div> <!-- chronological-class-name -->
<div class="test-method"> <div class="test-method">
<span class="method-name">login</span> <span class="method-name">save_picking_dataAction(53756, 2187, 2, 2020-04-22, D00200417172551)</span>
<span class="method-start">0 ms</span> <span class="method-start">0 ms</span>
</div> <!-- test-method --> </div> <!-- test-method -->
<div class="test-method">
<span class="method-name">pickUpGoodsTest002</span>
<span class="method-start">796 ms</span>
</div> <!-- test-method -->
</div> <!-- main-panel-content rounded-window-bottom --> </div> <!-- main-panel-content rounded-window-bottom -->
</div> <!-- panel --> </div> <!-- panel -->
</div> <!-- main-panel-root --> </div> <!-- main-panel-root -->
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitReportReporter --> <!-- Generated by org.testng.reporters.JUnitReportReporter -->
<testsuite hostname="YLMF-1711181457" name="com.mjitech.qa.test.AddSkuToCart" tests="9" failures="2" timestamp="14 Jun 2019 09:50:02 GMT" time="21.580" errors="0"> <testsuite hostname="YLMF-1711181457" name="com.mjitech.qa.test.AddSkuToCart" tests="10" failures="7" timestamp="17 Apr 2020 07:52:13 GMT" time="3.099" errors="1">
<testcase name="get_order_detail_by_takingnumber" time="19.988" classname="com.mjitech.qa.test.AddSkuToCart"> <testcase name="get_order_detail" time="0.001" classname="com.mjitech.qa.test.AddSkuToCart"/>
<failure type="net.sf.json.JSONException" message="JSONObject[&quot;outBatchId&quot;] is not a JSONObject."> <testcase name="add_sku_to_cart" time="0.971" classname="com.mjitech.qa.test.AddSkuToCart">
<![CDATA[net.sf.json.JSONException: JSONObject["outBatchId"] is not a JSONObject. <error type="junit.framework.ComparisonFailure" message="expected:&lt;[fals]e&gt; but was:&lt;[tru]e&gt;">
at net.sf.json.JSONObject.getJSONObject(JSONObject.java:2058) <![CDATA[junit.framework.ComparisonFailure: expected:<[fals]e> but was:<[tru]e>
at com.mjitech.qa.test.AddSkuToCart.get_order_detail_by_takingnumber(AddSkuToCart.java:369) at junit.framework.Assert.assertEquals(Assert.java:85)
at junit.framework.Assert.assertEquals(Assert.java:91)
at com.mjitech.qa.test.AddSkuToCart.add_sku_to_cart(AddSkuToCart.java:228)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...@@ -31,14 +33,14 @@ ...@@ -31,14 +33,14 @@
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:230) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:230)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:76) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:76)
]]> ]]>
</failure> </error>
</testcase> <!-- get_order_detail_by_takingnumber --> </testcase> <!-- add_sku_to_cart -->
<testcase name="enter_maintenance_page" time="0.064" classname="com.mjitech.qa.test.AddSkuToCart"/> <testcase name="enter_maintenance_page" time="0.318" classname="com.mjitech.qa.test.AddSkuToCart"/>
<testcase name="submitNewCart" time="0.166" classname="com.mjitech.qa.test.AddSkuToCart"/> <testcase name="submitNewCart" time="0.001" classname="com.mjitech.qa.test.AddSkuToCart"/>
<testcase name="add_sku_to_cart" time="0.774" classname="com.mjitech.qa.test.AddSkuToCart"/> <testcase name="wxpay_callback_test" time="0.000" classname="com.mjitech.qa.test.AddSkuToCart"/>
<testcase name="getPayUrl" time="0.052" classname="com.mjitech.qa.test.AddSkuToCart"/> <testcase name="login" time="1.808" classname="com.mjitech.qa.test.AddSkuToCart"/>
<testcase name="wxpay_callback_test" time="0.121" classname="com.mjitech.qa.test.AddSkuToCart"/> <testcase name="getPayUrl" time="0.000" classname="com.mjitech.qa.test.AddSkuToCart"/>
<testcase name="login" time="0.331" classname="com.mjitech.qa.test.AddSkuToCart"/> <testcase name="get_order_detail_by_takingnumber" time="0.000" classname="com.mjitech.qa.test.AddSkuToCart"/>
<testcase name="get_order_detail" time="0.083" classname="com.mjitech.qa.test.AddSkuToCart"/> <testcase name="set_outbatchsku_status" time="0.000" classname="com.mjitech.qa.test.AddSkuToCart"/>
<testcase name="update_order_status" time="0.001" classname="com.mjitech.qa.test.AddSkuToCart"/> <testcase name="update_order_status" time="0.000" classname="com.mjitech.qa.test.AddSkuToCart"/>
</testsuite> <!-- com.mjitech.qa.test.AddSkuToCart --> </testsuite> <!-- com.mjitech.qa.test.AddSkuToCart -->
...@@ -4,18 +4,14 @@ ...@@ -4,18 +4,14 @@
<th>Method name</th> <th>Method name</th>
<th>Groups</th> <th>Groups</th>
</tr><tr> </tr><tr>
<td>com.mjitech.qa.test.PickUpGoodsTest</td> <td>com.mjitech.qa.test.MicroMedinece</td>
<td>&nbsp;</td><td>&nbsp;</td></tr> <td>&nbsp;</td><td>&nbsp;</td></tr>
<tr> <tr>
<td align='center' colspan='3'>@Test</td> <td align='center' colspan='3'>@Test</td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>login</td> <td>save_picking_dataAction</td>
<td>&nbsp;</td></tr>
<tr>
<td>&nbsp;</td>
<td>pickUpGoodsTest002</td>
<td>&nbsp;</td></tr> <td>&nbsp;</td></tr>
<tr> <tr>
<td align='center' colspan='3'>@BeforeClass</td> <td align='center' colspan='3'>@BeforeClass</td>
......
<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> <h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
<table border="1"> <table border="1">
<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> <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>
<tr bgcolor="69b199"> <td>19/10/11 17:47:49</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="PickUpGoodsTest.login()[pri:0, instance:com.mjitech.qa.test.PickUpGoodsTest@371a67ec]">login</td> <tr bgcolor="69b199"> <td>20/04/22 11:23:07</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="MicroMedinece.save_picking_dataAction(int, int, int, java.lang.String, java.lang.String)[pri:0, instance:com.mjitech.qa.test.MicroMedinece@5f3a4b84]">save_picking_dataAction</td>
<td>main@786041152</td> <td></td> </tr>
<tr bgcolor="69b199"> <td>19/10/11 17:47:50</td> <td>795</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="PickUpGoodsTest.pickUpGoodsTest002()[pri:0, instance:com.mjitech.qa.test.PickUpGoodsTest@371a67ec]">pickUpGoodsTest002</td>
<td>main@786041152</td> <td></td> </tr> <td>main@786041152</td> <td></td> </tr>
</table> </table>
<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> <h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
<table border="1"> <table border="1">
<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> <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>
<tr bgcolor="69b199"> <td>19/10/11 17:47:49</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="PickUpGoodsTest.login()[pri:0, instance:com.mjitech.qa.test.PickUpGoodsTest@371a67ec]">login</td> <tr bgcolor="69b199"> <td>20/04/22 11:23:07</td> <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="MicroMedinece.save_picking_dataAction(int, int, int, java.lang.String, java.lang.String)[pri:0, instance:com.mjitech.qa.test.MicroMedinece@5f3a4b84]">save_picking_dataAction</td>
<td>main@786041152</td> <td></td> </tr>
<tr bgcolor="69b199"> <td>19/10/11 17:47:50</td> <td>795</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="PickUpGoodsTest.pickUpGoodsTest002()[pri:0, instance:com.mjitech.qa.test.PickUpGoodsTest@371a67ec]">pickUpGoodsTest002</td>
<td>main@786041152</td> <td></td> </tr> <td>main@786041152</td> <td></td> </tr>
</table> </table>
<html><head><title>testng.xml for Default suite</title></head><body><tt>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="UTF-8"?&gt;<br/>&lt;!DOCTYPE&nbsp;suite&nbsp;SYSTEM&nbsp;"http://testng.org/testng-1.0.dtd"&gt;<br/>&lt;suite&nbsp;name="Default&nbsp;suite"&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;verbose="2"&nbsp;name="Default&nbsp;test"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.mjitech.qa.test.PickUpGoodsTest"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;test&nbsp;--&gt;<br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;suite&nbsp;--&gt;<br/></tt></body></html> <html><head><title>testng.xml for Default suite</title></head><body><tt>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="UTF-8"?&gt;<br/>&lt;!DOCTYPE&nbsp;suite&nbsp;SYSTEM&nbsp;"http://testng.org/testng-1.0.dtd"&gt;<br/>&lt;suite&nbsp;name="Default&nbsp;suite"&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;verbose="2"&nbsp;name="Default&nbsp;test"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="com.mjitech.qa.test.MicroMedinece"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;test&nbsp;--&gt;<br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;suite&nbsp;--&gt;<br/></tt></body></html>
\ No newline at end of file \ No newline at end of file
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<tr valign='top'> <tr valign='top'>
<td>1 test</td> <td>1 test</td>
<td><a target='mainFrame' href='classes.html'>1 class</a></td> <td><a target='mainFrame' href='classes.html'>1 class</a></td>
<td>2 methods:<br/> <td>1 method:<br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/> &nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> &nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td> &nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</tr></table> </tr></table>
<table width='100%' class='test-passed'> <table width='100%' class='test-passed'>
<tr><td> <tr><td>
<table style='width: 100%'><tr><td valign='top'>Default test (2/0/0)</td><td valign='top' align='right'> <table style='width: 100%'><tr><td valign='top'>Default test (1/0/0)</td><td valign='top' align='right'>
<a href='Default test.html' target='mainFrame'>Results</a> <a href='Default test.html' target='mainFrame'>Results</a>
</td></tr></table> </td></tr></table>
</td></tr><p/> </td></tr><p/>
......
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
</head><body> </head><body>
<h2><p align='center'>Test results</p></h2> <h2><p align='center'>Test results</p></h2>
<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> <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>
<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> <tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>1</em></td><td><em>0</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
<tr align='center' class='invocation-passed'><td><a href='Default suite/index.html'>Default suite</a></td> <tr align='center' class='invocation-passed'><td><a href='Default suite/index.html'>Default suite</a></td>
<td>2</td><td>0</td><td>0</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html> <td>1</td><td>0</td><td>0</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html>
...@@ -3,12 +3,11 @@ ...@@ -3,12 +3,11 @@
<suite name="Failed suite [Default suite]"> <suite name="Failed suite [Default suite]">
<test name="Default test(failed)"> <test name="Default test(failed)">
<classes> <classes>
<class name="com.mjitech.qa.test.PickUpGoodsTest"> <class name="com.mjitech.qa.test.MicroMedinece">
<methods> <methods>
<include name="login"/> <include name="save_picking_dataAction"/>
<include name="pickUpGoodsTest008"/>
</methods> </methods>
</class> <!-- com.mjitech.qa.test.PickUpGoodsTest --> </class> <!-- com.mjitech.qa.test.MicroMedinece -->
</classes> </classes>
</test> <!-- Default test(failed) --> </test> <!-- Default test(failed) -->
</suite> <!-- Failed suite [Default suite] --> </suite> <!-- Failed suite [Default suite] -->
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<testng-results skipped="0" failed="0" total="2" passed="2"> <testng-results skipped="0" failed="0" total="1" passed="1">
<reporter-output> <reporter-output>
</reporter-output> </reporter-output>
<suite name="Default suite" duration-ms="2330248" started-at="2019-10-11T09:47:49Z" finished-at="2019-10-11T10:26:40Z"> <suite name="Default suite" duration-ms="1711" started-at="2020-04-22T03:23:07Z" finished-at="2020-04-22T03:23:09Z">
<groups> <groups>
</groups> </groups>
<test name="Default test" duration-ms="2330248" started-at="2019-10-11T09:47:49Z" finished-at="2019-10-11T10:26:40Z"> <test name="Default test" duration-ms="1711" started-at="2020-04-22T03:23:07Z" finished-at="2020-04-22T03:23:09Z">
<class name="com.mjitech.qa.test.PickUpGoodsTest"> <class name="com.mjitech.qa.test.MicroMedinece">
<test-method status="PASS" signature="login()[pri:0, instance:com.mjitech.qa.test.PickUpGoodsTest@371a67ec]" name="login" duration-ms="779" started-at="2019-10-11T17:47:49Z" finished-at="2019-10-11T17:47:50Z"> <test-method status="PASS" signature="save_picking_dataAction(int, int, int, java.lang.String, java.lang.String)[pri:0, instance:com.mjitech.qa.test.MicroMedinece@5f3a4b84]" name="save_picking_dataAction" duration-ms="1691" started-at="2020-04-22T11:23:07Z" data-provider="save_picking_dataAction" finished-at="2020-04-22T11:23:09Z">
<params>
<param index="0">
<value>
<![CDATA[53756]]>
</value>
</param>
<param index="1">
<value>
<![CDATA[2187]]>
</value>
</param>
<param index="2">
<value>
<![CDATA[2]]>
</value>
</param>
<param index="3">
<value>
<![CDATA[2020-04-22]]>
</value>
</param>
<param index="4">
<value>
<![CDATA[D00200417172551]]>
</value>
</param>
</params>
<reporter-output> <reporter-output>
</reporter-output> </reporter-output>
</test-method> <!-- login --> </test-method> <!-- save_picking_dataAction -->
<test-method status="PASS" signature="pickUpGoodsTest002()[pri:0, instance:com.mjitech.qa.test.PickUpGoodsTest@371a67ec]" name="pickUpGoodsTest002" duration-ms="2329435" started-at="2019-10-11T17:47:50Z" depends-on-methods="com.mjitech.qa.test.PickUpGoodsTest.login" finished-at="2019-10-11T18:26:40Z"> </class> <!-- com.mjitech.qa.test.MicroMedinece -->
<reporter-output>
</reporter-output>
</test-method> <!-- pickUpGoodsTest002 -->
</class> <!-- com.mjitech.qa.test.PickUpGoodsTest -->
</test> <!-- Default test --> </test> <!-- Default test -->
</suite> <!-- Default suite --> </suite> <!-- Default suite -->
</testng-results> </testng-results>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment