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
d3fa4cae
Commit
d3fa4cae
authored
Sep 25, 2024
by
xiao-hesheng
Browse files
流程五脚本提交
parent
79a09917
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_b1流程八_高值跟台业务流程.air/a_b1流程八_高值跟台业务流程.py
View file @
d3fa4cae
...
@@ -327,7 +327,11 @@ def out_return_gt():
...
@@ -327,7 +327,11 @@ def out_return_gt():
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload38"
,
DR_Id
,
deptid1
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload38"
,
DR_Id
,
deptid1
)
print
(
'跟台退货出库确认——中心库'
,
'request_body'
,
request_body
)
print
(
'跟台退货出库确认——中心库'
,
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'跟台退货出库确认——中心库==,result'
,
result
)
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
if
code
==
1400001
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
else
:
print
(
'跟台退货出库确认——中心库==,result'
,
result
)
def
dept2_set
():
def
dept2_set
():
...
@@ -368,5 +372,5 @@ def main():
...
@@ -368,5 +372,5 @@ def main():
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
print
(
'================流程八结束==========================='
)
print
(
'================流程八结束==========================='
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'
1
'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'
succees
'
)
# main()
# main()
\ 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