Skip to main content

MonkeyRunnerTestCase

Project description

README

  • 待完成

适配window和mac系统 > 已完成

对接接口,上传数据

对接GUI

  • 功能

对APP进行滑动点击操作后,收集应用的错误日志及性能数据(cpu,memery)

  • 安装
pip install monkeyrun
  • 执行
from monkeyrun import run

run.run(device=devices, fpath=fpath, scheme=scheme, activity=activity, m=5)
  • 参数解释
    :param device: the devices of android 设备token
    :param fpath: the path of apk package apk包远程下载地址
    :param scheme: the scheme of your business line scheme地址
    :param activity: the activity of you scheme scheme对应的activity名
    :param d: day 日
    :param h: hour 时
    :param m: minus 分
    :param s: second 秒
  • APK

将apk文件下载到执行目录,执行结束后删除

  • LOG

执行log生成于你的执行目录,log/*.log

  • DB

会在执行目录下生成DB文件

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monkeyrun-0.0.6.tar.gz (16.0 kB view hashes)

Uploaded source

Built Distribution

monkeyrun-0.0.6-py2-none-any.whl (21.9 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page