Git Product home page Git Product logo

maxauto's Introduction

简介

使用前请阅读https://testerhome.com/topics/16909

使用开源工具Maxim进行Monkey测试,包含如下功能:
1.安装测试
2.启动测试
3.登录测试
4.Monkey测试
5.性能数据统计
6.崩溃日志及崩溃回溯图片

更新日志

12月29日

1.修改崩溃图片查询方式
2.新增apk包检查功能

使用命令如下:

cd checker
python run.py apk_path mail_list(多个人逗号分隔)

登录测试

需要在lanuchtest/lanuchapp.py实现登录测试, 使用appium进行元素定位即可

可以By.xpath、By.id,后面写元素的值.

self.driver.find_element(By.XPATH,self.sure).click()

环境依赖

1.adb环境
brew install adb
2.appium环境
npm install appium
3.python库
在根目录,执行python setup.py会安装有python需要的库

邮件

需要在report/mailconfig.py中配置发件人相关信息

# 设置服务器,用户名、口令以及邮箱的后缀
mail_host = "smtp.exmail.qq.com"
mail_user = "[email protected]"
mail_pass = "xxxxx"
mail_postfix = "xxxxxx"

运行

cd到根目录下

apk_path:本地apk路径
device_name:设备号,使用adb devices查看
run_time:运行时间,单位分钟
mail_list:报告邮件人,多人用逗号分隔

python run.py apk_path device_name run_time mail_list

报告

在report/reports目录下生成,效果展示如下

report1.png

report2.png

report3.png

maxauto's People

Contributors

dependabot[bot] avatar xinxi1990 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.