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
a7f3c925
Commit
a7f3c925
authored
Oct 16, 2024
by
xiao-hesheng
Browse files
流程五脚本提交
parent
775cba52
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b6_spd3_core_business_flow_database_check/a_a3_流程三_产品导入和审批_数据库验证.air/a_a3_流程三_产品导入和审批_数据库验证.py
View file @
a7f3c925
...
...
@@ -186,9 +186,11 @@ try:
supplyProvHosGoods_add_DI
()
# ==============分割线 暂时注释===============
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
:
except
Exception
as
e
:
print
(
"发生异常:"
,
str
(
e
))
print
(
'新增产品信息出现异常,后续的脚本必然无法走通,需要检查程序或者脚本或者环境是否出现问题'
)
commonFuc
().
check_text_exist_result_text
(
'产品新增失败'
,
'产品新增成功'
)
sys
.
exit
(
0
)
else
:
# 删除今天之前的产品信息(包含内外网)
# delData().Del_goods_info_all()
...
...
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