Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-spd
Commits
40096b41
Commit
40096b41
authored
Dec 28, 2023
by
xiao-hesheng
Browse files
增加配送模块脚本
parent
9488cc3c
Changes
69
Hide whitespace changes
Inline
Side-by-side
air_case/
a98
_herp3_login/登录内网系统.air/登录内网系统.py
→
air_case/
b1
_herp3_login/登录内网系统.air/登录内网系统.py
View file @
40096b41
...
...
@@ -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
...
...
air_case/
a98
_herp3_login/登录内网系统/登录内网系统.py
→
air_case/
b1
_herp3_login/登录内网系统/登录内网系统.py
View file @
40096b41
...
...
@@ -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
...
...
air_case/
a99
_herp3_bs/a1_医院信息登记.air/a1_医院信息登记.py
→
air_case/
b2
_herp3_bs/a1_医院信息登记.air/a1_医院信息登记.py
View file @
40096b41
...
...
@@ -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_医院信息登记
...
...
air_case/
a99
_herp3_bs/a2_编辑医院信息.air/a2_编辑医院信息.py
→
air_case/
b2
_herp3_bs/a2_编辑医院信息.air/a2_编辑医院信息.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
"""
场景:a2_编辑医院信息
用例名称:a2_编辑医院信息
...
...
air_case/
a99
_herp3_bs/a3院区管理页面.air/a3院区管理页面.py
→
air_case/
b2
_herp3_bs/a3院区管理页面.air/a3院区管理页面.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
"""
场景:a3院区管理页面
用例名称:a3院区管理页面
...
...
air_case/
a99
_herp3_bs/a4_院区新增.air/a4_院区新增.py
→
air_case/
b2
_herp3_bs/a4_院区新增.air/a4_院区新增.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
branch_add
():
"""
场景:a4_院区新增
...
...
air_case/
a99
_herp3_bs/a5_查询院区.air/a5_查询院区.py
→
air_case/
b2
_herp3_bs/a5_查询院区.air/a5_查询院区.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
branch_select
():
"""
场景:a5_查询院区
...
...
air_case/
a99
_herp3_bs/a6_停用院区.air/a6_停用院区.py
→
air_case/
b2
_herp3_bs/a6_停用院区.air/a6_停用院区.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
disable_branch
():
"""
场景:a6_停用院区
...
...
air_case/
a99
_herp3_bs/a7_启用院区.air/a7_启用院区.py
→
air_case/
b2
_herp3_bs/a7_启用院区.air/a7_启用院区.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_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\\
a
2_herp3_bs\\a4_院区新增.air')
# using(pro_path+r'\\air_case\\
a
2_herp3_bs\\a4_院区新增.air')
# sys.path.append(pro_path+r'\\air_case\\
b
2_herp3_bs\\a4_院区新增.air')
# using(pro_path+r'\\air_case\\
b
2_herp3_bs\\a4_院区新增.air')
# from a4_院区新增 import branch_add
# id2,name=branch_add()
# info=(id2,name)
...
...
air_case/
a99
_herp3_bs/a8_新增公告_全部.air/a8_新增公告_全部.py
→
air_case/
b2
_herp3_bs/a8_新增公告_全部.air/a8_新增公告_全部.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
add_notices
():
"""
场景:新增公告_中心库
...
...
air_case/
a99
_herp3_bs/a9_新增公告_全院.air/a9_新增公告_全院.py
→
air_case/
b2
_herp3_bs/a9_新增公告_全院.air/a9_新增公告_全院.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
add_notices
():
"""
场景:a9_新增公告_全院
...
...
air_case/
a99
_herp3_bs/b0_新增公告_中心库.air/b0_新增公告_中心库.py
→
air_case/
b2
_herp3_bs/b0_新增公告_中心库.air/b0_新增公告_中心库.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
add_notices
():
"""
场景:a10_新增公告_中心库
...
...
air_case/
a99
_herp3_bs/b1_新增公告_供应商.air/b1_新增公告_供应商.py
→
air_case/
b2
_herp3_bs/b1_新增公告_供应商.air/b1_新增公告_供应商.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
add_notices
():
"""
场景:b1_新增公告_供应商
...
...
air_case/
a99
_herp3_bs/b2_查询公告_精确查询.air/b2_查询公告_精确查询.py
→
air_case/
b2
_herp3_bs/b2_查询公告_精确查询.air/b2_查询公告_精确查询.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
select_notices
():
"""
场景:b2_查询公告_模糊查询
...
...
air_case/
a99
_herp3_bs/b3_查询公告_模糊查询.air/b3_查询公告_模糊查询.py
→
air_case/
b2
_herp3_bs/b3_查询公告_模糊查询.air/b3_查询公告_模糊查询.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
select_notices
():
"""
场景:b2_查询公告_精确查询
...
...
air_case/
a99
_herp3_bs/b4_查询公告_精确查询_不存在.air/b4_查询公告_精确查询_不存在.py
→
air_case/
b2
_herp3_bs/b4_查询公告_精确查询_不存在.air/b4_查询公告_精确查询_不存在.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
select_notices
():
"""
场景:b4_查询公告_精确查询_不存在的公告
...
...
air_case/
a99
_herp3_bs/b5_编辑公告.air/b5_编辑公告.py
→
air_case/
b2
_herp3_bs/b5_编辑公告.air/b5_编辑公告.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
modify_notices
():
"""
场景:b5_编辑公告
...
...
air_case/
a99
_herp3_bs/b6_删除公告.air/b6_删除公告.py
→
air_case/
b2
_herp3_bs/b6_删除公告.air/b6_删除公告.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
modify_notices
():
"""
场景:b6_删除公告
...
...
air_case/
a99
_herp3_bs/b7_厂商管理_厂商查询byID.air/b7_厂商管理_厂商查询byID.py
→
air_case/
b2
_herp3_bs/b7_厂商管理_厂商查询byID.air/b7_厂商管理_厂商查询byID.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
facturer_query_byID
():
"""
场景:b7_厂商管理_厂商查询byID
...
...
air_case/
a99
_herp3_bs/b8_厂商管理_厂商查询byName.air/b8_厂商管理_厂商查询byName.py
→
air_case/
b2
_herp3_bs/b8_厂商管理_厂商查询byName.air/b8_厂商管理_厂商查询byName.py
View file @
40096b41
...
...
@@ -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
=
"
a
2_herp3_bs"
module
=
"
b
2_herp3_bs"
def
facturer_query_byID
():
"""
场景:b8_厂商管理_厂商查询byName
...
...
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment