commit
Showing
30 changed files
with
86 additions
and
10 deletions
| ... | @@ -113,3 +113,71 @@ def mingxingbang(): | ... | @@ -113,3 +113,71 @@ def mingxingbang(): |
| 113 | sleep(5) | 113 | sleep(5) |
| 114 | touch(Template(r"tpl1625023820110.png", record_pos=(-0.444, -0.936), resolution=(1080, 2340))) | 114 | touch(Template(r"tpl1625023820110.png", record_pos=(-0.444, -0.936), resolution=(1080, 2340))) |
| 115 | sleep(5) | 115 | sleep(5) |
| 116 | |||
| 117 | def kehuxiangqing(): | ||
| 118 | touch(Template(r"tpl1624949356815.png", record_pos=(-0.359, -0.935), resolution=(1080, 2340))) | ||
| 119 | sleep(10) | ||
| 120 | baoxianpre() | ||
| 121 | touch(Template(r"tpl1624949600509.png", record_pos=(-0.131, 0.352), resolution=(1080, 2340))) | ||
| 122 | sleep(5) | ||
| 123 | touch(Template(r"tpl1624949635102.png", record_pos=(-0.355, -0.523), resolution=(1080, 2340))) | ||
| 124 | sleep(5) | ||
| 125 | touch(Template(r"tpl1630034923610.png", record_pos=(0.336, -0.434), resolution=(1080, 2340))) | ||
| 126 | sleep(5) | ||
| 127 | touch(Template(r"tpl1630034951702.png", record_pos=(0.003, 0.414), resolution=(1080, 2340))) | ||
| 128 | sleep(5) | ||
| 129 | touch(Template(r"tpl1630034970636.png", record_pos=(-0.155, -0.519), resolution=(1080, 2340))) | ||
| 130 | sleep(5) | ||
| 131 | touch(Template(r"tpl1630034989372.png", record_pos=(-0.13, -0.421), resolution=(1080, 2340))) | ||
| 132 | sleep(5) | ||
| 133 | touch(Template(r"tpl1630035002240.png", record_pos=(0.125, -0.423), resolution=(1080, 2340))) | ||
| 134 | sleep(5) | ||
| 135 | touch(Template(r"tpl1630035018192.png", record_pos=(0.374, -0.424), resolution=(1080, 2340))) | ||
| 136 | sleep(5) | ||
| 137 | touch(Template(r"tpl1630035034327.png", record_pos=(-0.448, -0.938), resolution=(1080, 2340))) | ||
| 138 | sleep(5) | ||
| 139 | touch(Template(r"tpl1630035047950.png", record_pos=(-0.445, -0.938), resolution=(1080, 2340))) | ||
| 140 | sleep(5) | ||
| 141 | touch(Template(r"tpl1630035060570.png", record_pos=(-0.444, -0.934), resolution=(1080, 2340))) | ||
| 142 | sleep(5) | ||
| 143 | touch(Template(r"tpl1630035077281.png", record_pos=(-0.444, -0.94), resolution=(1080, 2340))) | ||
| 144 | sleep(5) | ||
| 145 | |||
| 146 | def kehudianhua(): | ||
| 147 | touch(Template(r"tpl1624949356815.png", record_pos=(-0.359, -0.935), resolution=(1080, 2340))) | ||
| 148 | sleep(10) | ||
| 149 | baoxianpre() | ||
| 150 | touch(Template(r"tpl1624949600509.png", record_pos=(-0.131, 0.352), resolution=(1080, 2340))) | ||
| 151 | sleep(5) | ||
| 152 | touch(Template(r"tpl1630035136131.png", record_pos=(-0.01, 0.885), resolution=(1080, 2340))) | ||
| 153 | sleep(5) | ||
| 154 | touch(Template(r"tpl1630035158839.png", record_pos=(-0.299, 0.06), resolution=(1080, 2340))) | ||
| 155 | sleep(3) | ||
| 156 | touch(Template(r"tpl1630035175051.png", record_pos=(0.0, 0.061), resolution=(1080, 2340))) | ||
| 157 | sleep(3) | ||
| 158 | touch(Template(r"tpl1630035191676.png", record_pos=(0.294, 0.063), resolution=(1080, 2340))) | ||
| 159 | sleep(3) | ||
| 160 | touch(Template(r"tpl1630035206651.png", record_pos=(-0.297, 0.222), resolution=(1080, 2340))) | ||
| 161 | sleep(3) | ||
| 162 | touch(Template(r"tpl1630035218729.png", record_pos=(0.0, 0.222), resolution=(1080, 2340))) | ||
| 163 | sleep(3) | ||
| 164 | touch(Template(r"tpl1630035230333.png", record_pos=(0.295, 0.223), resolution=(1080, 2340))) | ||
| 165 | sleep(3) | ||
| 166 | touch(Template(r"tpl1630035240828.png", record_pos=(-0.3, 0.384), resolution=(1080, 2340))) | ||
| 167 | sleep(3) | ||
| 168 | touch(Template(r"tpl1630035252822.png", record_pos=(-0.004, 0.386), resolution=(1080, 2340))) | ||
| 169 | sleep(3) | ||
| 170 | touch(Template(r"tpl1630035264723.png", record_pos=(0.297, 0.388), resolution=(1080, 2340))) | ||
| 171 | sleep(3) | ||
| 172 | touch(Template(r"tpl1630035275059.png", record_pos=(-0.002, 0.547), resolution=(1080, 2340))) | ||
| 173 | sleep(3) | ||
| 174 | touch(Template(r"tpl1630035286274.png", record_pos=(-0.297, 0.058), resolution=(1080, 2340))) | ||
| 175 | sleep(3) | ||
| 176 | touch(Template(r"tpl1630035306615.png", record_pos=(-0.006, 0.703), resolution=(1080, 2340))) | ||
| 177 | sleep(5) | ||
| 178 | touch(Template(r"tpl1630035351128.png", record_pos=(-0.008, 0.83), resolution=(1080, 2340))) | ||
| 179 | sleep(5) | ||
| 180 | touch(Template(r"tpl1630035367070.png", record_pos=(-0.448, -0.935), resolution=(1080, 2340))) | ||
| 181 | sleep(5) | ||
| 182 | touch(Template(r"tpl1630035381539.png", record_pos=(-0.45, -0.935), resolution=(1080, 2340))) | ||
| 183 | sleep(5) | ... | ... |
android/baoxian.air/tpl1630034923610.png
0 → 100644
6.17 KB
android/baoxian.air/tpl1630034951702.png
0 → 100644
5.8 KB
android/baoxian.air/tpl1630034970636.png
0 → 100644
7.99 KB
android/baoxian.air/tpl1630034989372.png
0 → 100644
5.34 KB
android/baoxian.air/tpl1630035002240.png
0 → 100644
8.63 KB
android/baoxian.air/tpl1630035018192.png
0 → 100644
8.93 KB
android/baoxian.air/tpl1630035034327.png
0 → 100644
4.36 KB
android/baoxian.air/tpl1630035047950.png
0 → 100644
3.04 KB
android/baoxian.air/tpl1630035060570.png
0 → 100644
2.98 KB
android/baoxian.air/tpl1630035077281.png
0 → 100644
3.01 KB
android/baoxian.air/tpl1630035136131.png
0 → 100644
9.29 KB
android/baoxian.air/tpl1630035158839.png
0 → 100644
1.42 KB
android/baoxian.air/tpl1630035175051.png
0 → 100644
3 KB
android/baoxian.air/tpl1630035191676.png
0 → 100644
3.52 KB
android/baoxian.air/tpl1630035206651.png
0 → 100644
2.35 KB
android/baoxian.air/tpl1630035218729.png
0 → 100644
3.17 KB
android/baoxian.air/tpl1630035230333.png
0 → 100644
3.56 KB
android/baoxian.air/tpl1630035240828.png
0 → 100644
2.3 KB
android/baoxian.air/tpl1630035252822.png
0 → 100644
3.93 KB
android/baoxian.air/tpl1630035264723.png
0 → 100644
3.41 KB
android/baoxian.air/tpl1630035275059.png
0 → 100644
3.25 KB
android/baoxian.air/tpl1630035286274.png
0 → 100644
1.27 KB
android/baoxian.air/tpl1630035306615.png
0 → 100644
6.38 KB
android/baoxian.air/tpl1630035351128.png
0 → 100644
11.5 KB
android/baoxian.air/tpl1630035367070.png
0 → 100644
2.97 KB
android/baoxian.air/tpl1630035381539.png
0 → 100644
2.96 KB
| ... | @@ -93,29 +93,22 @@ sleep(3) | ... | @@ -93,29 +93,22 @@ sleep(3) |
| 93 | 93 | ||
| 94 | enter() | 94 | enter() |
| 95 | sleep(3) | 95 | sleep(3) |
| 96 | xiahua() | ||
| 96 | tianqi() | 97 | tianqi() |
| 97 | sleep(3) | 98 | sleep(3) |
| 98 | 99 | ||
| 99 | enter() | 100 | enter() |
| 100 | sleep(3) | 101 | sleep(3) |
| 102 | xiahua() | ||
| 101 | jibu() | 103 | jibu() |
| 102 | sleep(3) | 104 | sleep(3) |
| 103 | 105 | ||
| 104 | enter() | 106 | enter() |
| 105 | sleep(3) | 107 | sleep(3) |
| 108 | xiahua() | ||
| 106 | xinwen() | 109 | xinwen() |
| 107 | sleep(3) | 110 | sleep(3) |
| 108 | 111 | ||
| 109 | # enter() | ||
| 110 | # sleep(3) | ||
| 111 | # tizhicheng() | ||
| 112 | # sleep(3) | ||
| 113 | |||
| 114 | # homePre() | ||
| 115 | # sleep(3) | ||
| 116 | # daohang() | ||
| 117 | # sleep(3) | ||
| 118 | |||
| 119 | homePre() | 112 | homePre() |
| 120 | sleep(3) | 113 | sleep(3) |
| 121 | kehu() | 114 | kehu() |
| ... | @@ -141,6 +134,16 @@ sleep(3) | ... | @@ -141,6 +134,16 @@ sleep(3) |
| 141 | mingxingbang() | 134 | mingxingbang() |
| 142 | sleep(3) | 135 | sleep(3) |
| 143 | 136 | ||
| 137 | homePre() | ||
| 138 | sleep(3) | ||
| 139 | kehuxiangqing() | ||
| 140 | sleep(3) | ||
| 141 | |||
| 142 | homePre() | ||
| 143 | sleep(3) | ||
| 144 | kehudianhua() | ||
| 145 | sleep(3) | ||
| 146 | |||
| 144 | exitLogin() | 147 | exitLogin() |
| 145 | sleep(3) | 148 | sleep(3) |
| 146 | 149 | ... | ... |
| ... | @@ -3,6 +3,11 @@ __author__ = "sifude" | ... | @@ -3,6 +3,11 @@ __author__ = "sifude" |
| 3 | 3 | ||
| 4 | from airtest.core.api import * | 4 | from airtest.core.api import * |
| 5 | 5 | ||
| 6 | def xiahua(): | ||
| 7 | swipe(Template(r"tpl1630030403614.png", record_pos=(-0.108, 0.066), resolution=(1080, 2340)), vector=[-0.0077, -0.3895]) | ||
| 8 | sleep(3) | ||
| 9 | |||
| 10 | |||
| 6 | def gongjiao(): | 11 | def gongjiao(): |
| 7 | touch(Template(r"tpl1624351712709.png", record_pos=(-0.291, 0.267), resolution=(1080, 2340))) | 12 | touch(Template(r"tpl1624351712709.png", record_pos=(-0.291, 0.267), resolution=(1080, 2340))) |
| 8 | sleep(5) | 13 | sleep(5) | ... | ... |
android/setting2.air/tpl1630030403614.png
0 → 100644
18.7 KB
-
Please register or sign in to post a comment