Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xm-uitest-sow
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiamai-test
xm-uitest-sow
Commits
c34fdbf2
Commit
c34fdbf2
authored
Jul 06, 2021
by
mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review
parent
b2120487
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
config/config.ini
+1
-1
src/framework/appDriver.py
+1
-0
No files found.
config/config.ini
View file @
c34fdbf2
...
@@ -7,7 +7,7 @@ browserName = Chrome
...
@@ -7,7 +7,7 @@ browserName = Chrome
[testServer]
[testServer]
#调试客户端本地文件路径
#调试客户端本地文件路径
win_app_location
=
C:
\U
sers
\A
dministrator
\A
ppData
\L
ocal
\P
rograms
\x
mqxy
\小
麦企学院.exe
win_app_location
=
C:
\U
sers
\A
dministrator
\A
ppData
\L
ocal
\P
rograms
\x
mqxy
\小
麦企学院.exe
mac_app_location
=
C:
\U
sers
\A
dministrator
\A
ppData
\L
ocal
\P
rograms
\x
mqxy
\
小
麦企学院
mac_app_location
=
/Applications/小麦企学院.app/Contents/MacOS/
小麦企学院
[account]
[account]
# 白名单账号
# 白名单账号
...
...
src/framework/appDriver.py
View file @
c34fdbf2
...
@@ -14,6 +14,7 @@ if platform.system().lower() == "windows":
...
@@ -14,6 +14,7 @@ if platform.system().lower() == "windows":
service
=
webdriver
.
chrome
.
service
.
Service
(
file_abspath
()
+
"/tools/chromedriver.exe"
)
service
=
webdriver
.
chrome
.
service
.
Service
(
file_abspath
()
+
"/tools/chromedriver.exe"
)
elif
platform
.
system
()
.
lower
()
==
"darwin"
:
elif
platform
.
system
()
.
lower
()
==
"darwin"
:
service
=
webdriver
.
chrome
.
service
.
Service
(
file_abspath
()
+
"/tools/chromedriver"
)
service
=
webdriver
.
chrome
.
service
.
Service
(
file_abspath
()
+
"/tools/chromedriver"
)
os
.
system
(
'chmod 777 {}'
.
format
(
file_abspath
()
+
"/tools/chromedriver"
))
service
.
start
()
service
.
start
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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