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
adf96a75
Commit
adf96a75
authored
May 22, 2024
by
xiao-hesheng
Browse files
流程九脚本编写
parent
495af57c
Changes
3
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_a4_流程四_基础模块设置.air/a_a4_流程四_基础模块设置.py
View file @
adf96a75
...
@@ -7,7 +7,7 @@ from common.run_cmd_script import execute_command
...
@@ -7,7 +7,7 @@ from common.run_cmd_script import execute_command
__author__
=
"xiaohesheng"
__author__
=
"xiaohesheng"
"""
"""
case_tag:api,spd_core
1
,a_a4_流程四_基础模块设置,id2302,id2302-4,sit,on
case_tag:api,spd_core,a_a4_流程四_基础模块设置,id2302,id2302-4,sit,on
主数据平台:a_a4_流程四_基础模块设置
主数据平台:a_a4_流程四_基础模块设置
python runner_test.py tag id2302-4 debug mdm3
python runner_test.py tag id2302-4 debug mdm3
...
@@ -298,7 +298,7 @@ try:
...
@@ -298,7 +298,7 @@ try:
# delData().Delete_business_Data()#删除业务数据
# delData().Delete_business_Data()#删除业务数据
# delData().Del_reporter_data() # 删除报表数据
# delData().Del_reporter_data() # 删除报表数据
#==============删除业务数据和报表数据
#==============删除业务数据和报表数据
test1
()
#
test1()
test2
()
# 科室添加产品信息(产品是从外网同步过来的)
test2
()
# 科室添加产品信息(产品是从外网同步过来的)
dept_query_all
()
# 科室查询,将科室id写入文件中
dept_query_all
()
# 科室查询,将科室id写入文件中
grants_user
()
#给用户授权
grants_user
()
#给用户授权
...
...
air_case/b5_spd3_core_business_flow/a_b3流程十请领业务流_二级库向边仓.air/a_b3流程十请领业务流_二级库向边仓.py
View file @
adf96a75
...
@@ -56,7 +56,7 @@ def goods_move():
...
@@ -56,7 +56,7 @@ def goods_move():
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
commonFuc
().
get_business_data
(
module
,
"X-APP-CODE"
))
commonFuc
().
get_business_data
(
module
,
"X-APP-CODE"
))
for
i
in
range
(
1
,
6
):
for
i
in
range
(
1
,
4
):
info
=
FileUtils
().
r_info8
(
'b5_spd3_core_business_flow'
,
"产品审核信息"
,
'message%s'
%
i
)
info
=
FileUtils
().
r_info8
(
'b5_spd3_core_business_flow'
,
"产品审核信息"
,
'message%s'
%
i
)
hosGoodsId
=
info
[
'hosGoodsId'
]
hosGoodsId
=
info
[
'hosGoodsId'
]
GoodsId
=
hosGoodsId
.
replace
(
get_hosid
(),
''
)
GoodsId
=
hosGoodsId
.
replace
(
get_hosid
(),
''
)
...
...
report/summary.html
View file @
adf96a75
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<tr
width=
"600"
>
<tr
width=
"600"
>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
0分
9
秒
</td>
<td
class=
'details-col-elapsed'
>
0分
6
秒
</td>
<td
class=
"details-col-elapsed"
>
100.0%
</td>
<td
class=
"details-col-elapsed"
>
100.0%
</td>
</tr>
</tr>
</table>
</table>
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<tr
width=
"600"
>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a_b3流程十请领业务流_二级库向边仓/log.html'
target=
'_blank'
>
a_b3流程十请领业务流_二级库向边仓
</a></td>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a_b3流程十请领业务流_二级库向边仓/log.html'
target=
'_blank'
>
a_b3流程十请领业务流_二级库向边仓
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
8.989
</td>
<td
class=
"details-col-elapsed"
>
6.055
</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