Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
75f2aa98
Commit
75f2aa98
authored
1 year ago
by
xiao-hesheng
Browse files
Options
Download
Email Patches
Plain Diff
脚本优化
parent
170555cd
master
core_flow
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
air_case/public1/public1/public1.py
+5
-0
air_case/public1/public1/public1.py
with
5 additions
and
0 deletions
+5
-0
air_case/public1/public1/public1.py
+
5
-
0
View file @
75f2aa98
...
@@ -2457,6 +2457,11 @@ def pickScan2(PICK_ID, udi_code, type=1): # 二级库出库拣货扫码
...
@@ -2457,6 +2457,11 @@ def pickScan2(PICK_ID, udi_code, type=1): # 二级库出库拣货扫码
print
(
'获取条码信息url'
,
url
)
print
(
'获取条码信息url'
,
url
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload59"
,
udi_code
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload59"
,
udi_code
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
import
pdb
pdb
.
set_trace
()
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
if
code
==
'14030053'
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'SUCCESS'
)
print
(
'获取条码信息result'
,
result
)
print
(
'获取条码信息result'
,
result
)
# 获取必要信息
# 获取必要信息
data1
=
commonFuc
().
analysis_json
(
'data'
,
result
)
data1
=
commonFuc
().
analysis_json
(
'data'
,
result
)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets