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
be01b5c1
Commit
be01b5c1
authored
May 10, 2024
by
xiao-hesheng
Browse files
流程七脚本编写
parent
bc61d360
Changes
7
Hide whitespace changes
Inline
Side-by-side
air_case/b2_herp3_bs/e8_一键导入产品_有中心库.air/e8_一键导入产品_有中心库.py
View file @
be01b5c1
...
...
@@ -35,7 +35,7 @@ def branch_goods_add():
# print( token,projectCode,uxid,corpId,info)
#e8_一键导入产品_有中心库
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"oneKeyImportGoods_url"
)
print
(
'一键导入产品_有中心库'
,
url
)
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
...
...
air_case/b5_spd3_core_business_flow/a_a4_流程四_基础模块设置.air/a_a4_流程四_基础模块设置.py
View file @
be01b5c1
...
...
@@ -60,8 +60,8 @@ def import_goods():
# 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
# 院区产品设置_查询院区产品
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"mcmsDeptGoodsInfo_url"
)
url
=
commonFuc
().
get_api_
add_port_
url
()
+
commonFuc
().
get_business_data
(
module
,
"mcmsDeptGoodsInfo_url"
)
print
(
'院区产品设置_查询院区产品'
,
url
)
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
...
...
@@ -252,9 +252,9 @@ def grants_user(orgName='d69a68df361a4289b2262e4ef75b55a5', mgrRangeId='feb0cc16
try
:
test1
()
test2
()
dept_query_all
()
grants_user
()
#
test2()
#
dept_query_all()
#
grants_user()
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
Exception
as
e
:
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'error'
)
...
...
data/a2_mdm3_ea/message
View file @
be01b5c1
企业信息:
e_id: CR202405100
087
cname: 国药集团公司
jkgv^
e_id: CR202405100
112
cname: 国药集团公司
hcq)X
data/a3_mdm3_hs/message
View file @
be01b5c1
医院信息:
h_id: 湖南省人民医院
hNH*C
h_name: 湖南省人民医院
hNH*C
h_id: 湖南省人民医院
L!7NW
h_name: 湖南省人民医院
L!7NW
data/a5_mdm3_pdm/message2
View file @
be01b5c1
产品审核信息
:
MSPid
:
MSP24050
8
00
1
1_1
MSPid
:
MSP2405
1
000
2
1_1
hosId
:
h0347
hosGoodsId
:
h0347000034
48
provGoodsid
:
provGood-99220
557
goodsAuditBillId
:
MSP24050
8
00
1
1
targetId
:
MSP24050
8
00
1
1_1
hosGoodsId
:
h0347000034
92
provGoodsid
:
provGood-99220
605
goodsAuditBillId
:
MSP2405
1
000
2
1
targetId
:
MSP2405
1
000
2
1_1
data/b2_herp3_bs/message
View file @
be01b5c1
院区新增:
branch_id: h0347-358
2
branch_name: 东土城路院区
1siZT
branch_id: h0347-358
5
branch_name: 东土城路院区
znqR8
科室信息:
dept2_id: 1
dfaf0a57dd54025a449ed576206687
6
dept2_id: 1
f9fded484bb4a62bd73a28caad3c04
6
dept2_name: 二级检验科002
report/summary.html
View file @
be01b5c1
...
...
@@ -55,9 +55,9 @@
<tr
width=
"600"
>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
0分
17
秒
</td>
<td
class=
"details-col-elapsed"
>
10
0.0%
</td>
<td
class=
'details-col-elapsed'
>
0
</td>
<td
class=
'details-col-elapsed'
>
0分
44
秒
</td>
<td
class=
"details-col-elapsed"
>
0.0%
</td>
</tr>
</table>
...
...
@@ -72,9 +72,9 @@
</tr>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a_a
5流程五_中心库入库结算_正结算1_提交采购计划
/log.html'
target=
'_blank'
>
a_a
5流程五_中心库入库结算_正结算1_提交采购计划
</a></td>
<td
class=
"
success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
17.164
</td>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a_a
4_流程四_基础模块设置
/log.html'
target=
'_blank'
>
a_a
4_流程四_基础模块设置
</a></td>
<td
class=
"
fail"
>
失败
</td>
<td
class=
"details-col-elapsed"
>
44.309
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
...
...
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