Commit 40096b41 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

增加配送模块脚本

parent 9488cc3c
......@@ -11,7 +11,7 @@ from common.tokenUtils import *
class login_system():
module = "a98_herp3_login"
module = "b1_herp3_login"
def __init__(self, username, password):
self.username = username
......
......@@ -11,7 +11,7 @@ from common.tokenUtils import *
class login_system():
module = "a98_herp3_login"
module = "b1_herp3_login"
def __init__(self, username, password):
self.username = username
......
......@@ -8,11 +8,11 @@ case_tag:api,herp-web,a1_医院信息登记,id2263,id2263-1,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
from airtest.core.api import using
import sys
def h_Register():
module = "a99_herp3_bs"
module = "b2_herp3_bs"
"""
场景:a1_医院信息登记
用例名称:a1_医院信息登记
......
......@@ -8,11 +8,11 @@ case_tag:api,herp-web,a2_编辑医院信息,id2263,id2263-2,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
from airtest.core.api import using
import sys
def h_edit_info():
module = "a2_herp3_bs"
module = "b2_herp3_bs"
"""
场景:a2_编辑医院信息
用例名称:a2_编辑医院信息
......
......@@ -8,11 +8,11 @@ case_tag:api,herp-web,a3院区管理页面,id2263,id2263-3,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
from airtest.core.api import using
import sys
def hospital_area():
module = "a2_herp3_bs"
module = "b2_herp3_bs"
"""
场景:a3院区管理页面
用例名称:a3院区管理页面
......
......@@ -8,11 +8,11 @@ case_tag:api,herp-web,a4_院区新增,id2263,id2263-4,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
from airtest.core.api import using
import sys
from common.fileUtls import FileUtils
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def branch_add():
"""
场景:a4_院区新增
......
......@@ -8,11 +8,11 @@ case_tag:api,herp-web,a5_查询院区,id2263,id2263-5,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
from airtest.core.api import using
import sys
from common.fileUtls import FileUtils
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def branch_select():
"""
场景:a5_查询院区
......
......@@ -8,11 +8,11 @@ case_tag:api,herp-web,a6_停用院区,id2263,id2263-6,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
from airtest.core.api import using
import sys
from common.fileUtls import FileUtils
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def disable_branch():
"""
场景:a6_停用院区
......
......@@ -9,11 +9,11 @@ case_tag:api,herp-web,a7_启用院区,id2263,id2263-7,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
from airtest.core.api import using
import sys
from common.fileUtls import FileUtils
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def enable_branch():
"""
场景:a7_启用院区
......@@ -53,8 +53,8 @@ branch_id=enable_branch()
delByBranchId().Delete_branch_by_id(branch_id)#删除院区
#删除后再次新建一个院区
# pro_path=commonFuc().get_pro_path()
# sys.path.append(pro_path+r'\\air_case\\a2_herp3_bs\\a4_院区新增.air')
# using(pro_path+r'\\air_case\\a2_herp3_bs\\a4_院区新增.air')
# sys.path.append(pro_path+r'\\air_case\\b2_herp3_bs\\a4_院区新增.air')
# using(pro_path+r'\\air_case\\b2_herp3_bs\\a4_院区新增.air')
# from a4_院区新增 import branch_add
# id2,name=branch_add()
# info=(id2,name)
......
......@@ -10,11 +10,11 @@ case_tag:api,herp-web,a20_新增公告_中心库,id2263,id2263-10,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
from airtest.core.api import using
import sys
from common.fileUtls import FileUtils
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def add_notices():
"""
场景:新增公告_中心库
......
......@@ -11,9 +11,9 @@ case_tag:api,herp-web,a9_新增公告_全院,id2263,id2263-9,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def add_notices():
"""
场景:a9_新增公告_全院
......
......@@ -10,9 +10,9 @@ case_tag:api,herp-web,b0_新增公告_中心库,id2263,id2263-10,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def add_notices():
"""
场景:a10_新增公告_中心库
......
......@@ -10,9 +10,9 @@ case_tag:api,herp-web,b1_新增公告_供应商,id2263,id2263-11,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def add_notices():
"""
场景:b1_新增公告_供应商
......
......@@ -11,9 +11,9 @@ case_tag:api,herp-web,b2_查询公告_模糊查询,id2263,id2263-12,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def select_notices():
"""
场景:b2_查询公告_模糊查询
......
......@@ -10,9 +10,9 @@ case_tag:api,herp-web,b2_查询公告_精确查询,id2263,id2263-13,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def select_notices():
"""
场景:b2_查询公告_精确查询
......
......@@ -10,9 +10,9 @@ case_tag:api,herp-web,b4_查询公告_精确查询_不存在的公告,id2263,id2
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def select_notices():
"""
场景:b4_查询公告_精确查询_不存在的公告
......
......@@ -11,9 +11,9 @@ case_tag:api,herp-web,b5_编辑公告,id2263,id2263-15,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def modify_notices():
"""
场景:b5_编辑公告
......
......@@ -12,9 +12,9 @@ case_tag:api,herp-web,b6_删除公告,id2263,id2263-16,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def modify_notices():
"""
场景:b6_删除公告
......
......@@ -12,9 +12,9 @@ case_tag:api,herp-web,b7_厂商管理_厂商查询byID,id2263,id2263-17,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def facturer_query_byID():
"""
场景:b7_厂商管理_厂商查询byID
......
......@@ -12,9 +12,9 @@ case_tag:api,herp-web,b8_厂商管理_厂商查询byName,id2263,id2263-18,sit,on
"""
from common.common_func import commonFuc
from air_case.a98_herp3_login.登录内网系统.登录内网系统 import login_system
from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system
module = "a2_herp3_bs"
module = "b2_herp3_bs"
def facturer_query_byID():
"""
场景:b8_厂商管理_厂商查询byName
......
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