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
b77f4cf6
Commit
b77f4cf6
authored
Mar 12, 2024
by
xiao-hesheng
Browse files
新增采购计划模块脚本
parent
7c7fc172
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b3_herp3_purchase/a_b9_采购计划_列表查询_条件查询_根据计划类型查询.air/a_b9_采购计划_列表查询_条件查询_根据计划类型查询.py
View file @
b77f4cf6
...
...
@@ -52,13 +52,13 @@ def test1():
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
data
=
commonFuc
().
analysis_json
(
'data'
,
result
)
total
=
commonFuc
().
analysis_json
(
'total'
,
data
)
closeStatus
=
commonFuc
().
analysis_json
(
'closeStatus'
,
data
)
print
(
'closeStatus'
,
closeStatus
)
closeStatus
=
commonFuc
().
analysis_json
(
'closeStatus'
,
data
)
print
(
'closeStatus'
,
closeStatus
)
if
code
==
0
and
len
(
data
)
>=
0
and
total
>=
0
:
commonFuc
().
check_text_exist
(
0
,
result
)
else
:
commonFuc
().
check_text_exist
(
'error'
,
result
)
#计划
状态
为全部
#
计划
类型
为全部
# # 请求体
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload17_5"
)
# 发送请求
...
...
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