Commit e259ffc6 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

增加配送模块脚本

parent 1df4bf0f
...@@ -12,7 +12,7 @@ from common.common_func import commonFuc ...@@ -12,7 +12,7 @@ from common.common_func import commonFuc
from airtest.core.api import using from airtest.core.api import using
import sys import sys
module = "a6_mdm3_dp" module = "a6_mdm3_dp"
def add_goods(): def select1():
pro_path = commonFuc().get_pro_path() pro_path = commonFuc().get_pro_path()
sys.path.append(pro_path + r'\\air_case\\a6_mdm3_dp\\a1企业登录.air') sys.path.append(pro_path + r'\\air_case\\a6_mdm3_dp\\a1企业登录.air')
using(pro_path + r'\\air_case\\a6_mdm3_dp\\a1企业登录.air') using(pro_path + r'\\air_case\\a6_mdm3_dp\\a1企业登录.air')
...@@ -52,5 +52,5 @@ def add_goods(): ...@@ -52,5 +52,5 @@ def add_goods():
commonFuc().check_text_exist(code,result) commonFuc().check_text_exist(code,result)
else: else:
commonFuc().check_text_exist('error', result) commonFuc().check_text_exist('error', result)
add_goods() select1()
...@@ -12,7 +12,7 @@ from common.common_func import commonFuc ...@@ -12,7 +12,7 @@ from common.common_func import commonFuc
from airtest.core.api import using from airtest.core.api import using
import sys import sys
module = "a6_mdm3_dp" module = "a6_mdm3_dp"
def add_goods(): def select1():
pro_path = commonFuc().get_pro_path() pro_path = commonFuc().get_pro_path()
sys.path.append(pro_path + r'\\air_case\\a6_mdm3_dp\\a1企业登录.air') sys.path.append(pro_path + r'\\air_case\\a6_mdm3_dp\\a1企业登录.air')
using(pro_path + r'\\air_case\\a6_mdm3_dp\\a1企业登录.air') using(pro_path + r'\\air_case\\a6_mdm3_dp\\a1企业登录.air')
...@@ -52,5 +52,5 @@ def add_goods(): ...@@ -52,5 +52,5 @@ def add_goods():
commonFuc().check_text_exist(code,result) commonFuc().check_text_exist(code,result)
else: else:
commonFuc().check_text_exist('error', result) commonFuc().check_text_exist('error', result)
add_goods() select1()
...@@ -55,9 +55,9 @@ ...@@ -55,9 +55,9 @@
<tr width="600"> <tr width="600">
<td class='details-col-elapsed'>1</td> <td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>1</td> <td class='details-col-elapsed'>0</td>
<td class='details-col-elapsed'>0分5</td> <td class='details-col-elapsed'>0分4</td>
<td class="details-col-elapsed">100.0%</td> <td class="details-col-elapsed">0.0%</td>
</tr> </tr>
</table> </table>
...@@ -72,9 +72,9 @@ ...@@ -72,9 +72,9 @@
</tr> </tr>
<tr width="600"> <tr width="600">
<td class="details-col-elapsed"><a href='../log/a2订单配送列表数据查询_单条记录确认/log.html' target='_blank'>a2订单配送列表数据查询_单条记录确认</a></td> <td class="details-col-elapsed"><a href='../log/a1订单配送列表数据查询_待确认查询2医院/log.html' target='_blank'>a1订单配送列表数据查询_待确认查询2医院</a></td>
<td class="success">成功</td> <td class="fail">失败</td>
<td class="details-col-elapsed">5.825</td> <td class="details-col-elapsed">4.305</td>
<td class="details-col-elapsed">xiaohesheng</td> <td class="details-col-elapsed">xiaohesheng</td>
</tr> </tr>
......
Supports Markdown
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