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
2c681744
Commit
2c681744
authored
Nov 07, 2023
by
章 登恒
Browse files
commit
parent
aa82a61d
Changes
2
Hide whitespace changes
Inline
Side-by-side
testcase/test_scene6/test_scene6_mainflow1.py
View file @
2c681744
...
...
@@ -2,6 +2,7 @@ from testcase.test_scene6.scene6_mainflow import *
def
test_scene6_mainflow1
():
try
:
print
(
'
\n
流程六:手术请领-手术还回流程开始!!!'
)
# step1 = LoginSys()
step2_1
=
SurgicalOrder
()
step2_2
=
PurchaseOrder
()
...
...
@@ -45,6 +46,7 @@ def test_scene6_mainflow1():
# el='vxe-body--column col_19 col--center col--ellipsis dw-click-cell',
# qrcond='销售订单号')#进入表单视图
# step8.button_click2()#审核订单
print
(
'流程六:手术请领-手术还回流程结束!!!'
)
except
(
Exception
,
AssertionError
)
as
e
:
step9
=
ExceptionHandling
()
traceback
.
print_exc
()
...
...
testcase/test_scene6/test_scene6_mainflow2.py
View file @
2c681744
...
...
@@ -2,6 +2,7 @@ from testcase.test_scene6.scene6_mainflow import *
def
test_scene6_mainflow2
():
try
:
print
(
'
\n
流程六:手术请领-销售流程开始!!!'
)
# step1 = LoginSys()
step2_1
=
SurgicalOrder
()
step2_2
=
PurchaseOrder
()
...
...
@@ -45,6 +46,7 @@ def test_scene6_mainflow2():
el
=
'vxe-body--column col_19 col--center col--ellipsis dw-click-cell'
,
qrcond
=
'销售订单号'
)
#进入表单视图
step8
.
button_click2
()
#审核订单
print
(
'流程六:手术请领-销售流程结束!!!'
)
except
(
Exception
,
AssertionError
)
as
e
:
step9
=
ExceptionHandling
()
traceback
.
print_exc
()
...
...
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