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
97ff94a1
Commit
97ff94a1
authored
Jul 05, 2024
by
xiao-hesheng
Committed by
肖 和生
Jul 05, 2024
Browse files
脚本优化
parent
baf814c5
Changes
20
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_a1_流程一外网企业注册审批.air/a_a1_流程一外网企业注册审批.py
View file @
97ff94a1
...
@@ -34,4 +34,4 @@ def main():
...
@@ -34,4 +34,4 @@ def main():
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_a2_流程二供货关系申请提交审批.air/a_a2_流程二供货关系申请提交审批.py
View file @
97ff94a1
...
@@ -178,4 +178,4 @@ def main():
...
@@ -178,4 +178,4 @@ def main():
print
(
'=================流程二结束================='
)
print
(
'=================流程二结束================='
)
except
:
except
:
print
(
'a_a2_流程二供货关系申请提交审批,出现异常,请检查'
)
print
(
'a_a2_流程二供货关系申请提交审批,出现异常,请检查'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_a3_流程三_产品导入和审批.air/a_a3_流程三_产品导入和审批.py
View file @
97ff94a1
...
@@ -403,4 +403,4 @@ def main():
...
@@ -403,4 +403,4 @@ def main():
delData
().
Del_goods_info_all
()
delData
().
Del_goods_info_all
()
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
print
(
'=================流程三结束================='
)
print
(
'=================流程三结束================='
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_a4_流程四_基础模块设置.air/a_a4_流程四_基础模块设置.py
View file @
97ff94a1
...
@@ -309,4 +309,4 @@ def main():
...
@@ -309,4 +309,4 @@ def main():
except
Exception
as
e
:
except
Exception
as
e
:
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'error'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'error'
)
print
(
"发生异常:"
,
str
(
e
))
print
(
"发生异常:"
,
str
(
e
))
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_a5流程五_中心库入库结算_正结算1_提交采购计划.air/a_a5流程五_中心库入库结算_正结算1_提交采购计划.py
View file @
97ff94a1
...
@@ -495,4 +495,4 @@ def main():
...
@@ -495,4 +495,4 @@ def main():
print
(
"发生异常:"
,
str
(
e
))
print
(
"发生异常:"
,
str
(
e
))
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_a6流程五_中心库入库结算_正结算2_外网配送.air/a_a6流程五_中心库入库结算_正结算2_外网配送.py
View file @
97ff94a1
...
@@ -269,4 +269,4 @@ def main():
...
@@ -269,4 +269,4 @@ def main():
traceback
.
print_exc
()
traceback
.
print_exc
()
else
:
else
:
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_a7流程五_中心库入库结算_正结算3_内网验收入库结算.air/a_a7流程五_中心库入库结算_正结算3_内网验收入库结算.py
View file @
97ff94a1
...
@@ -423,4 +423,4 @@ def main():
...
@@ -423,4 +423,4 @@ def main():
traceback
.
print_exc
()
traceback
.
print_exc
()
else
:
else
:
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_a8流程五_中心库入库结算_正结算3_外网开票.air/a_a8流程五_中心库入库结算_正结算3_外网开票.py
View file @
97ff94a1
...
@@ -399,4 +399,4 @@ def main():
...
@@ -399,4 +399,4 @@ def main():
traceback
.
print_exc
()
traceback
.
print_exc
()
else
:
else
:
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_a9流程六_中心库入库结算_负结算.air/a_a9流程六_中心库入库结算_负结算.py
View file @
97ff94a1
...
@@ -239,4 +239,4 @@ def main():
...
@@ -239,4 +239,4 @@ def main():
print
(
'=================流程六结束================='
)
print
(
'=================流程六结束================='
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_b0流程七_中心库入库结算_正负结算.air/a_b0流程七_中心库入库结算_正负结算.py
View file @
97ff94a1
...
@@ -237,4 +237,4 @@ def main():
...
@@ -237,4 +237,4 @@ def main():
print
(
'======================流程七结束============================'
)
print
(
'======================流程七结束============================'
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_b1流程八_高值跟台业务流程.air/a_b1流程八_高值跟台业务流程.py
View file @
97ff94a1
...
@@ -346,4 +346,4 @@ def main():
...
@@ -346,4 +346,4 @@ def main():
print
(
'================流程八结束==========================='
)
print
(
'================流程八结束==========================='
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_b2流程九请领业务流_二级库向中心库.air/a_b2流程九请领业务流_二级库向中心库.py
View file @
97ff94a1
...
@@ -432,4 +432,4 @@ def main():
...
@@ -432,4 +432,4 @@ def main():
print
(
'==========================流程九结束=============================='
)
print
(
'==========================流程九结束=============================='
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_b3流程十请领业务流_二级库向边仓.air/a_b3流程十请领业务流_二级库向边仓.py
View file @
97ff94a1
...
@@ -334,4 +334,4 @@ def main():
...
@@ -334,4 +334,4 @@ def main():
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_b4流程十一请领业务流_二级库向直送.air/a_b4流程十一请领业务流_二级库向直送.py
View file @
97ff94a1
...
@@ -846,4 +846,4 @@ def main():
...
@@ -846,4 +846,4 @@ def main():
print
(
'==========================流程十一结束=============================='
)
print
(
'==========================流程十一结束=============================='
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_b5流程十二请领业务流_二级库向二级库.air/a_b5流程十二请领业务流_二级库向二级库.py
View file @
97ff94a1
...
@@ -444,4 +444,4 @@ def main():
...
@@ -444,4 +444,4 @@ def main():
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_b6流程十三请领业务流_三级库向二级库.air/a_b6流程十三请领业务流_三级库向二级库.py
View file @
97ff94a1
...
@@ -360,4 +360,4 @@ def main():
...
@@ -360,4 +360,4 @@ def main():
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error '
,
'1'
)
commonFuc
().
check_text_exist_result_text
(
'error '
,
'1'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_b7流程十四退库业务_消耗退库.air/a_b7流程十四退库业务_消耗退库.py
View file @
97ff94a1
...
@@ -590,4 +590,4 @@ def main():
...
@@ -590,4 +590,4 @@ def main():
commonFuc
().
check_text_exist_result_text
(
'SUCCESS'
,
'SUCCESS'
)
commonFuc
().
check_text_exist_result_text
(
'SUCCESS'
,
'SUCCESS'
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'SUCCESS'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'SUCCESS'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_b9流程十六退库业务_二级库向一级库退库.air/a_b9流程十六退库业务_二级库向一级库退库.py
View file @
97ff94a1
...
@@ -571,4 +571,4 @@ def main():
...
@@ -571,4 +571,4 @@ def main():
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_c0流程十七退货业务_中心库退供应商.air/a_c0流程十七退货业务_中心库退供应商.py
View file @
97ff94a1
...
@@ -635,4 +635,4 @@ def main():
...
@@ -635,4 +635,4 @@ def main():
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_c1流程十八中心库业务_拆包功能.air/a_c1流程十八中心库业务_拆包功能.py
View file @
97ff94a1
...
@@ -371,4 +371,4 @@ def main():
...
@@ -371,4 +371,4 @@ def main():
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
main
()
# main()
\ No newline at end of file
\ No newline at end of file
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