GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - wallaceok/AndroidTestScripts: Android测试中常用到的脚本

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
image
image
 
 
python
python
 
 
shell
shell
 
 
README.md
README.md
 
 

Repository files navigation

AndroidTestScripts

Android测试中常用到的脚本

###主要脚本功能

批量安装应用(支持以中文命名的apk)、批量卸载、截屏、录制视频、获取当前应用的apk文件、包名、Activity名等。

###2015.02.12 因日常工作需要,增加备份设备中安装的第三方应用的脚本backup_app.py。(区别于adb backup命令,只备份apk)

###2015.01.31 修改screenrecord.py中的默认录制时间,默认最长录制时间为180秒

###2015.01.29 新增脚本get_cpu_mem_info.py,获取设备当前运行的应用的cpu、memory信息,默认top times取值为20次,可自己修改脚本中的该参数

脚本运行需要安装pychartdir模块,安装方法请参考 http://blog.csdn.net/gb112211/article/details/43272049
直接运行脚本,会生成线性图表存放于chart目录下,图表类似于:
image

###2015.01.28 修改了设备状态判断的代码(脚本自己都曾使用OK,如有问题,可以QQ联系:274925460)

###2015.01.26

1.改写python分类中的脚本结构,将大部分方法分装进了scriptUtils包中的utils模块中
2.新增screenrecord.py(录制视频,Android4.4新增功能)
3.使用时请直接在脚本目录下运行脚本(可以将脚本目录复制到桌面上,使用时很方便)
4.需要配置ANDROID_HOME,如果脚本执行失败,请在命令行模式下运行脚本,查看报错信息

About

Android测试中常用到的脚本

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.