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
38b2e473
Commit
38b2e473
authored
Apr 26, 2024
by
xiao-hesheng
Browse files
流程五脚本编写
parent
c4da95fd
Changes
5
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_a7流程五_中心库入库结算_正结算3_内网验收入库结算.air/a_a7流程五_中心库入库结算_正结算3_内网验收入库结算.py
View file @
38b2e473
...
@@ -26,7 +26,7 @@ module = "b5_spd3_core_business_flow"
...
@@ -26,7 +26,7 @@ module = "b5_spd3_core_business_flow"
def
check_accept_order
(
type
=
1
):
def
check_accept_order
(
type
=
1
):
execute_command
(
"python runner_test.py tag id2302-6 debug mdm3"
)
#
execute_command("python runner_test.py tag id2302-6 debug mdm3")
# # 登录获取用户id等信息,使用创建的用户登录===========开始
# # 登录获取用户id等信息,使用创建的用户登录===========开始
info
=
FileUtils
().
r_info8
(
'b2_herp3_bs'
,
"用户名信息"
,
'message3'
)
info
=
FileUtils
().
r_info8
(
'b2_herp3_bs'
,
"用户名信息"
,
'message3'
)
# print(info)
# print(info)
...
@@ -175,9 +175,10 @@ def check_accept_order(type=1):
...
@@ -175,9 +175,10 @@ def check_accept_order(type=1):
while
True
:
while
True
:
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
print
(
'result'
,
result
)
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
data
=
commonFuc
().
analysis_json
(
'data'
,
result
)
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
print
(
code
)
print
(
code
)
if
code
==
100
:
if
code
==
0
and
data
==
100
:
break
break
else
:
else
:
print
(
'设置产品合格出现问题'
)
print
(
'设置产品合格出现问题'
)
...
...
data/a2_mdm3_ea/message
View file @
38b2e473
企业信息:
企业信息:
e_id: CR2024042
50171
e_id: CR2024042
60095
cname: 国药集团公司
Pd98F
cname: 国药集团公司
MAU*o
data/a3_mdm3_hs/message
View file @
38b2e473
医院信息:
医院信息:
h_id: 湖南省人民医院
0Ypq(
h_id: 湖南省人民医院
VlNh5
h_name: 湖南省人民医院
0Ypq(
h_name: 湖南省人民医院
VlNh5
data/a5_mdm3_pdm/message2
View file @
38b2e473
产品审核信息
:
产品审核信息
:
MSPid
:
MSP24042
5
00
4
2_1
MSPid
:
MSP24042
6
002
7
_1
hosId
:
h0347
hosId
:
h0347
hosGoodsId
:
h0347000031
3
6
hosGoodsId
:
h03470000316
8
provGoodsid
:
provGood-992202
45
provGoodsid
:
provGood-992202
77
goodsAuditBillId
:
MSP24042
5
00
4
2
goodsAuditBillId
:
MSP24042
6
002
7
targetId
:
MSP24042
5
00
4
2_1
targetId
:
MSP24042
6
002
7
_1
data/b2_herp3_bs/message
View file @
38b2e473
院区新增:
院区新增:
branch_id: h0347-352
3
branch_id: h0347-352
9
branch_name: 东土城路院区
pIXfi
branch_name: 东土城路院区
e)E2Z
科室信息:
科室信息:
dept2_id:
9454bb017ad4445caaf66a61b8ca207c
dept2_id:
ae4dd3f9939e4759a01b13aba449affd
dept2_name: 二级检验科002
dept2_name: 二级检验科002
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