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-sc
Commits
6f5b49b2
Commit
6f5b49b2
authored
Nov 09, 2023
by
章 登恒
Browse files
commit
parent
98dc0e4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
testcase/test_scene6/scene6_mainflow.py
View file @
6f5b49b2
...
...
@@ -743,7 +743,7 @@ if __name__ == '__main__':
# step8.query_click(menu_name='手术借出转销售', orderno=xstorderno,
# el='vxe-body--column col_19 col--center col--ellipsis dw-click-cell',
# qrcond='销售订单号')#进入表单视图
# step
8
.button_click2(
)#
审核订单
# step
2_2
.button_click2(
msg1='流程结束') #
审核订单
except
(
Exception
,
AssertionError
)
as
e
:
step9
=
ExceptionHandling
()
traceback
.
print_exc
()
...
...
testcase/test_scene6/test_scene6_mainflow2.py
View file @
6f5b49b2
...
...
@@ -3,8 +3,8 @@ from testcase.test_scene6.scene6_mainflow import *
def
test_scene6_mainflow2
():
print
(
'
\n
流程六:手术请领-销售流程开始!!!'
)
#
step1 = LoginSys()
#
step1.loginsys(SIT_URL, usr2, pwd2)
step1
=
LoginSys
()
step1
.
loginsys
(
SIT_URL
,
usr2
,
pwd2
)
step2_1
=
SurgicalOrder
()
step2_2
=
PurchaseOrder
()
...
...
@@ -46,7 +46,7 @@ def test_scene6_mainflow2():
step8
.
query_click
(
menu_name
=
'手术借出转销售'
,
orderno
=
xstorderno
,
el
=
'vxe-body--column col_19 col--center col--ellipsis dw-click-cell'
,
qrcond
=
'销售订单号'
)
#进入表单视图
step
8
.
button_click2
()
#审核订单
step
2_2
.
button_click2
(
msg1
=
'流程结束'
)
#审核订单
print
(
'流程六:手术请领-销售流程结束!!!'
)
chrome
.
quit
()
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