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
2c65e340
Commit
2c65e340
authored
Mar 14, 2024
by
xiao-hesheng
Browse files
新增采购计划审核脚本
parent
3c93dc80
Changes
3
Hide whitespace changes
Inline
Side-by-side
air_case/b3_herp3_purchase/a_c4_采购计划审核_列表查询_条件查询_精确查询_根据计划类型.air/a_c4_采购计划审核_列表查询_条件查询_精确查询_根据计划类型.py
View file @
2c65e340
...
@@ -44,7 +44,7 @@ def test1():
...
@@ -44,7 +44,7 @@ def test1():
print
(
list2
)
print
(
list2
)
for
i
in
list2
:
for
i
in
list2
:
# # 请求体
# # 请求体
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload1
7_4
"
,
i
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload1
8_3
"
,
i
)
# 发送请求
# 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
print
(
'result'
,
result
)
...
@@ -60,7 +60,7 @@ def test1():
...
@@ -60,7 +60,7 @@ def test1():
commonFuc
().
check_text_exist
(
'error'
,
result
)
commonFuc
().
check_text_exist
(
'error'
,
result
)
# 计划类型为全部
# 计划类型为全部
# # 请求体
# # 请求体
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload1
7_5
"
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload1
8_4
"
)
# 发送请求
# 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
print
(
'result'
,
result
)
...
...
data/b3_herp3_purchase/data
View file @
2c65e340
...
@@ -63,7 +63,7 @@ json_headers2: {
...
@@ -63,7 +63,7 @@ json_headers2: {
"payload18": {"pageNum":1,"pageSize":50,"queryObject":{"orderNo":"","hosId":"h0347","status":"10","startTime":null,"endTime":null}}
"payload18": {"pageNum":1,"pageSize":50,"queryObject":{"orderNo":"","hosId":"h0347","status":"10","startTime":null,"endTime":null}}
"payload18_1": {"pageNum":1,"pageSize":50,"queryObject":{"orderNo":"%s","hosId":"h0347","status":"10","startTime":null,"endTime":null}}
"payload18_1": {"pageNum":1,"pageSize":50,"queryObject":{"orderNo":"%s","hosId":"h0347","status":"10","startTime":null,"endTime":null}}
"payload18_2": {"pageNum":1,"pageSize":50,"queryObject":{"orderNo":"","hosId":"h0347","status":"10","startTime":"%s","endTime":"%s"}}
"payload18_2": {"pageNum":1,"pageSize":50,"queryObject":{"orderNo":"","hosId":"h0347","status":"10","startTime":"%s","endTime":"%s"}}
"payload18_3": {"pageNum":1,"pageSize":50,"queryObject":{"orderNo":"","recType":"%s","hosId":"h0347","status":"","startTime":null,"endTime":null}}
"payload18_4": {"pageNum":1,"pageSize":50,"queryObject":{"orderNo":"","recType":"","hosId":"h0347","status":"","startTime":null,"endTime":null}}
checkDict2: {"code": 0,'msg': None,'data':1}
checkDict2: {"code": 0,'msg': None,'data':1}
report/summary.html
View file @
2c65e340
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<tr
width=
"600"
>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a_c4_采购计划审核_列表查询_条件查询_精确查询_根据计划类型/log.html'
target=
'_blank'
>
a_c4_采购计划审核_列表查询_条件查询_精确查询_根据计划类型
</a></td>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a_c4_采购计划审核_列表查询_条件查询_精确查询_根据计划类型/log.html'
target=
'_blank'
>
a_c4_采购计划审核_列表查询_条件查询_精确查询_根据计划类型
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
1.2
5
8
</td>
<td
class=
"details-col-elapsed"
>
1.28
5
</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