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
6cd535dd
Commit
6cd535dd
authored
Jun 28, 2024
by
xiao-hesheng
Browse files
脚本优化
parent
32b2fc8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_a1_流程一外网企业注册审批.air/a_a1_流程一外网企业注册审批.py
View file @
6cd535dd
...
...
@@ -29,4 +29,4 @@ try:
test1
()
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'
1
'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'
succees
'
)
common/run_cmd_script.py
View file @
6cd535dd
import
os
import
sys
current_directory
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
sys
.
argv
[
0
]))
sys
.
path
.
append
(
current_directory
)
from
common.common_func
import
commonFuc
pro_path
=
commonFuc
().
get_pro_path
()
...
...
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