android常识

adb命令

查看已打开的软件的package名和activity名
adb shell dumpsys activity | grep "mResume"

appium json连接配置
{
"platformName": "Android",
"platformVersion": "", #adb shell getprop ro.build.version.release
"deviceName": "", #adb devices -l
"appPackage": "", #adb shell dumpsys activity | grep "mResume"
"appActivity": "
}

weditor安装及使用

pip3 install --pre -U uiautomator2
pip3 install --pre weditor
python3 -m uiautomator2 init
# 启动 weditor
python3 -m weditor

参考
https://blog.csdn.net/gjj920318/article/details/120225402
https://www.cnblogs.com/rookie-c/p/15732094.html
https://baijiahao.baidu.com/s?id=1662021502495073716&wfr=spider&for=pc

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • (目的:方便自己下次看,有点流水账)简介:   信号处理与特征提取   传统声学模型   基于深度学习的声学模型 ...
    糖爰阅读 2,436评论 0 1
  • 移动端测试 知识概览 一、 移动端测试是什么 移动端测试是指对移动应用进行的测试,即实体的特性满足需求的程度。 二...
    G_eebd阅读 1,390评论 0 0
  • 知识概览 一、 移动端测试是什么 移动端测试是指对移动应用进行的测试,即实体的特性满足需求的程度。 二、 移动端测...
    __65a0阅读 1,908评论 1 10
  • 从零开始Android鸿蒙混合打包 参考: https://mp.weixin.qq.com/s/v4jT-DHk...
    九烟大师阅读 2,579评论 0 1
  • 前面几节我们主要介绍了线下场景的监控,线下场景不管是 android studio 还是 MAT 或者 adb命令...
    杰洛特world阅读 536评论 0 0