![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
app自动化测试
kokenjjj
这个作者很懒,什么都没留下…
展开
-
使用adb监控日志
1、关闭APP 2、打开cmd,使用<adb logcat |find "START">监控启动的APP,打开APP 3、获得包名,START u0 {cmp=cn.com.bluemoon.delivery/. 。。。。。。。这种cmp=<包名>/. 4、监控此包的日志,adb logcat | find"cn.com.bluemoon.delivery" 5、如果查看全部应用的日志,adblogcat,(可以看到更多,一般使用这个可以也可以) 6、如果...原创 2021-12-16 17:22:45 · 895 阅读 · 0 评论 -
App自动化模块封装
from selenium.common.exceptions import NoSuchElementException from appium import webdriver from time import sleep from time import strftime caps = \ { "platformName": "Android", "platformVersion": "4.4.2", "de.原创 2021-10-16 14:21:30 · 183 阅读 · 0 评论 -
App自动化用例脚本
from appium import webdriver from time import sleep import unittest from selenium.common.exceptions import NoSuchElementException from App_auto.day03.Tools.mode_kaoyan_test import * from time import strftime from appium.webdriver.common.touch_action impor.原创 2021-10-16 14:19:50 · 636 阅读 · 0 评论