Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张浩
/
BrUITest
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
7ddc91b4
...
7ddc91b42a8aaa402ef2e93ab3e87cab1b4faa06
authored
2023-01-05 14:38:19 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
ba48fad4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
11 deletions
android/run.air/run.py
android/setting.air/setting.py
android/setting.air/tpl1672897999471.png
android/run.air/run.py
View file @
7ddc91b
...
...
@@ -17,11 +17,11 @@ from baoxian import *
auto_setup
(
__file__
,
logdir
=
True
)
connect_device
(
"Android:///2PF4C19807005028?cap_method=javacap&touch_method=adb"
)
sleep
(
3
)
wake
()
#
wake()
sleep
(
3
)
start_app
(
"com.borui.gsjk"
)
sleep
(
8
)
#
start_app("com.borui.gsjk")
#
sleep(8)
login
()
sleep
(
3
)
...
...
@@ -81,11 +81,11 @@ sleep(3)
shenghuozhoubian
()
sleep
(
3
)
enter
()
sleep
(
3
)
xiahua
()
tianqi
()
sleep
(
3
)
#
enter()
#
sleep(3)
#
xiahua()
#
tianqi()
#
sleep(3)
enter
()
sleep
(
3
)
...
...
android/setting.air/setting.py
View file @
7ddc91b
...
...
@@ -19,9 +19,7 @@ def enter():
def
xinlvzice
():
touch
(
Template
(
r"tpl1623744811046.png"
,
record_pos
=
(
-
0.315
,
-
0.38
),
resolution
=
(
1080
,
2340
)))
sleep
(
3
)
touch
(
Template
(
r"tpl1623748349958.png"
,
record_pos
=
(
-
0.006
,
0.35
),
resolution
=
(
1080
,
2340
)))
if
(
exists
(
Template
(
r"tpl1623748400309.png"
,
record_pos
=
(
0.241
,
0.828
),
resolution
=
(
1080
,
2340
)))
!=
False
):
touch
(
Template
(
r"tpl1623748400309.png"
,
record_pos
=
(
0.241
,
0.828
),
resolution
=
(
1080
,
2340
)))
touch
(
Template
(
r"tpl1672897999471.png"
,
record_pos
=
(
-
0.006
,
0.437
),
resolution
=
(
1080
,
2340
)))
sleep
(
30
)
touch
(
Template
(
r"tpl1623748540515.png"
,
record_pos
=
(
0.372
,
0.913
),
resolution
=
(
1080
,
2340
)))
sleep
(
3
)
...
...
android/setting.air/tpl1672897999471.png
0 → 100644
View file @
7ddc91b
21.4 KB
Please
register
or
sign in
to post a comment