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
5a50004e
Commit
5a50004e
authored
Feb 28, 2024
by
xiao-hesheng
Browse files
新增角色管理脚本
parent
041fe4af
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/b2_herp3_bs/r_e4用户管理_角色管理_保存角色菜单.air/r_e4用户管理_角色管理_保存角色菜单.py
View file @
5a50004e
...
...
@@ -47,10 +47,10 @@ def test1():
commonFuc
().
get_business_data
(
module
,
"X-APP-CODE"
))
# # 请求体
request_body
=
commonFuc
().
get_business_data
(
module
,
'payload63_3'
)
request_body
=
str
(
request_body
)
#
request_body=str(request_body)
new_request_body
=
request_body
.
replace
(
"'"
,
'"'
)
new_request_body
=
new_request_body
.
replace
(
"None"
,
'null'
)
print
(
new_request_body
)
#
new_request_body = new_request_body.replace("None", 'null')
#
print(new_request_body)
import
json
request_body_json
=
json
.
loads
(
new_request_body
)
print
(
'request_body_json'
,
request_body_json
)
...
...
report/summary.html
View file @
5a50004e
...
...
@@ -74,7 +74,7 @@
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/r_e4用户管理_角色管理_保存角色菜单/log.html'
target=
'_blank'
>
r_e4用户管理_角色管理_保存角色菜单
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
1.9
7
5
</td>
<td
class=
"details-col-elapsed"
>
1.95
2
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</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