上一页 1 ··· 170 171 172 173 174 175 176 177 178 ··· 186 下一页
摘要: import re #一定要引入,否则不提示错误,但找不到目标def jiance(sjh): aakk="adb -s {0} shell dumpsys activity activities".format(sjh) aak="adb -s {0} shell am start -n com. 阅读全文
posted @ 2020-12-05 21:18 myrj 阅读(590) 评论(0) 推荐(0)
摘要: aakk="adb devices" aakk="adb shell dumpsys window w |findstr \/ |findstr name=" zh=[] lx=[] p = subprocess.Popen(aakk, shell=True, stdout=subprocess.P 阅读全文
posted @ 2020-12-04 17:38 myrj 阅读(75) 评论(0) 推荐(0)
摘要: import datetime,time def jsyx(aa1,aa2): jssj=datetime.datetime.strptime(str(datetime.date.today()+datetime.timedelta(days=1))+" 05:48:00",'%Y-%m-%d %H 阅读全文
posted @ 2020-12-04 10:38 myrj 阅读(655) 评论(0) 推荐(0)
摘要: #利用ADB DEVICES结果判断指定手机是否正常连接,如果为offline,则adb disconnect sjh;adb connect sjh#如果没有,则执行adb connect sjhdef jianchaad(sjh): aakk="adb devices" zh=[] lx=[] 阅读全文
posted @ 2020-12-04 07:16 myrj 阅读(1403) 评论(0) 推荐(0)
摘要: 自动化测试需要获得当前的activity,来判断处于的页面是否正确; hierarchy view经常连不上真机,无法获得activity,所以直接用 adb命令来查看当前运行的 activity就可以; 方法一: 1、cmd命令中输入:adb shell 进入shell命令模式 2、shell中输 阅读全文
posted @ 2020-12-03 14:07 myrj 阅读(562) 评论(0) 推荐(0)
摘要: VS2013 产品密钥 – 所有版本 Visual Studio Ultimate 2013 KEY(密钥):BWG7X-J98B3-W34RT-33B3R-JVYW9 Visual Studio Premium 2013 KEY(密钥):FBJVC-3CMTX-D8DVP-RTQCT-92494 阅读全文
posted @ 2020-12-02 16:44 myrj 阅读(674) 评论(0) 推荐(0)
摘要: import time, threading, copy import win32api, win32con import win32gui import win32gui def zhaojb(aa): mu=0 jh=[] hwnd_title = dict() def get_all_hwnd 阅读全文
posted @ 2020-12-02 13:52 myrj 阅读(1239) 评论(1) 推荐(0)
摘要: 点击“USB线”一栏中的“刷新设备列表”按钮,随后设备序列号会显示出来; ·点击“获取设备IP”,随后在“无线”一栏中会显示设备的IP地址; ·点击“启动adbd”,这时候可以拔下USB线了; ·点击“无线”一栏中的“无线连接”; ·再次点击“USB线”一栏中的“刷新设备列表”按钮,在“设备序列号” 阅读全文
posted @ 2020-12-01 05:46 myrj 阅读(4678) 评论(0) 推荐(0)
摘要: from PyQt5 import QtCore,QtWidgets import win32gui, win32api, win32con # 调用win32api的模拟点击功能实现ctrl+v粘贴快捷键 def ctrlV(): win32api.keybd_event(17,0,0,0) #c 阅读全文
posted @ 2020-11-23 16:40 myrj 阅读(598) 评论(0) 推荐(0)
摘要: //记录每个题的答案序号var daAn=new Array("2" ,"0","1","2","3","1","3","0","2","3","1","3","0","3","1","1","1","1","0",&q 阅读全文
posted @ 2020-11-23 10:10 myrj 阅读(373) 评论(0) 推荐(0)
上一页 1 ··· 170 171 172 173 174 175 176 177 178 ··· 186 下一页