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
256db2a5
Commit
256db2a5
authored
Oct 08, 2023
by
xiao-hesheng
Browse files
脚本调整
parent
d767ac3d
Changes
7
Hide whitespace changes
Inline
Side-by-side
air_case/mdm3_cm/a1供货关系申请_客户类型_医院_登录_医院登录获取医院id.air/a1供货关系申请_客户类型_医院_登录_医院登录获取医院id.py
View file @
256db2a5
...
@@ -26,6 +26,7 @@ def h_login():
...
@@ -26,6 +26,7 @@ def h_login():
"""
"""
#供货关系申请_客户类型_医院_登录_医院登录获取医院id
#供货关系申请_客户类型_医院_登录_医院登录获取医院id
#如果需要h0347账号登录,这里就从文件获取
#如果需要h0347账号登录,这里就从文件获取
module
=
"mdm3_cm"
username
=
h_name
username
=
h_name
# print('医院名称',username)
# print('医院名称',username)
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
...
...
air_case/mdm3_hs/注册医院审核通过.air/注册医院审核通过.py
View file @
256db2a5
...
@@ -29,7 +29,7 @@ def reg_and_audit_hospital():
...
@@ -29,7 +29,7 @@ def reg_and_audit_hospital():
# 医院审核接口_查询数据_开始
# 医院审核接口_查询数据_开始
# 登录
# 登录
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
1
"
)
print
(
username
,
password
)
print
(
username
,
password
)
# 获取token和projectCode
# 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
...
...
air_case/mdm3_hs/注册医院审核驳回.air/注册医院审核驳回.py
View file @
256db2a5
...
@@ -30,7 +30,7 @@ print(result)
...
@@ -30,7 +30,7 @@ print(result)
# 医院审核接口_查询数据_开始
# 医院审核接口_查询数据_开始
# 登录
# 登录
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
1
"
)
print
(
username
,
password
)
print
(
username
,
password
)
# 获取token和projectCode
# 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
...
...
air_case/mdm3_pim/a1分页查询供应商产品数据.air/a1分页查询供应商产品数据.py
View file @
256db2a5
...
@@ -29,13 +29,13 @@ from 企业审核 import *
...
@@ -29,13 +29,13 @@ from 企业审核 import *
输出:"rtn_msg": "ok"
输出:"rtn_msg": "ok"
"""
"""
# 登录
# 登录
module
=
"mdm3_pim"
username
=
global_var_cname
username
=
global_var_cname
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
print
(
username
,
password
)
print
(
username
,
password
,
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
)
# 获取token和projectCode
# 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
# 分页查询供应商产品数据接口
# 分页查询供应商产品数据接口
module
=
"mdm3_pim"
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"listVoPage_url"
)
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"listVoPage_url"
)
print
(
url
)
print
(
url
)
# 获取请求头信息
# 获取请求头信息
...
...
data/mdm3_hs/data
View file @
256db2a5
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
"checkHosRegistInfo_url": "/test2api/mdmService/companyRegistBill/checkHosRegistInfo"
"checkHosRegistInfo_url": "/test2api/mdmService/companyRegistBill/checkHosRegistInfo"
"username": "test001"
"username": "test001"
"password": "a123456!"
"password": "a123456!"
"password1": "1qaz!QAZ"
json_contentType: "application/json"
json_contentType: "application/json"
...
...
data/mdm3_pim/message
View file @
256db2a5
产品新增:
产品新增:
username: 国药集团公司
Qjp8!
username: 国药集团公司
1O4Qy
goodsname: 一次性注射器
Cclgt
goodsname: 一次性注射器
uHVxG
report/summary.html
View file @
256db2a5
...
@@ -54,10 +54,10 @@
...
@@ -54,10 +54,10 @@
</tr>
</tr>
<tr
width=
"600"
>
<tr
width=
"600"
>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
5
</td>
<td
class=
'details-col-elapsed'
>
0
</td>
<td
class=
'details-col-elapsed'
>
5
</td>
<td
class=
'details-col-elapsed'
>
0分
2
秒
</td>
<td
class=
'details-col-elapsed'
>
0分
3
秒
</td>
<td
class=
"details-col-elapsed"
>
0.0%
</td>
<td
class=
"details-col-elapsed"
>
10
0.0%
</td>
</tr>
</tr>
</table>
</table>
...
@@ -72,9 +72,37 @@
...
@@ -72,9 +72,37 @@
</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/医院注册_正常注册_私立医院/log.html'
target=
'_blank'
>
医院注册_正常注册_私立医院
</a></td>
<td
class=
"fail"
>
失败
</td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
2.138
</td>
<td
class=
"details-col-elapsed"
>
0.289
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/医院注册_注册时医院已存在/log.html'
target=
'_blank'
>
医院注册_注册时医院已存在
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
0.227
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/医院注册正常注册公立医院/log.html'
target=
'_blank'
>
医院注册正常注册公立医院
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
0.164
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/注册医院审核通过/log.html'
target=
'_blank'
>
注册医院审核通过
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
1.856
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/注册医院审核驳回/log.html'
target=
'_blank'
>
注册医院审核驳回
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
0.961
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
</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