All Projects → seveniruby → Appcrawler

seveniruby / Appcrawler

Licence: apache-2.0
基于appium的app自动遍历工具

Programming Languages

scala
5932 projects

Projects that are alternatives of or similar to Appcrawler

Scrapingoutsourcing
ScrapingOutsourcing专注分享爬虫代码 尽量每周更新一个
Stars: ✭ 164 (-82.27%)
Mutual labels:  crawler, appium
Graphquery
GraphQuery is a query language and execution engine tied to any backend service.
Stars: ✭ 112 (-87.89%)
Mutual labels:  crawler, xpath
Spider Flow
新一代爬虫平台,以图形化方式定义爬虫流程,不写代码即可完成爬虫。
Stars: ✭ 365 (-60.54%)
Mutual labels:  crawler, xpath
Docs
《数据采集从入门到放弃》源码。内容简介:爬虫介绍、就业情况、爬虫工程师面试题 ;HTTP协议介绍; Requests使用 ;解析器Xpath介绍; MongoDB与MySQL; 多线程爬虫; Scrapy介绍 ;Scrapy-redis介绍; 使用docker部署; 使用nomad管理docker集群; 使用EFK查询docker日志
Stars: ✭ 118 (-87.24%)
Mutual labels:  crawler, xpath
Z-Spider
一些爬虫开发的技巧和案例
Stars: ✭ 33 (-96.43%)
Mutual labels:  xpath, appium
Crawlerforreader
Android 本地网络小说爬虫,基于jsoup及xpath
Stars: ✭ 312 (-66.27%)
Mutual labels:  crawler, xpath
Sirix
SirixDB is a temporal, evolutionary database system, which uses an accumulate only approach. It keeps the full history of each resource. Every commit stores a space-efficient snapshot through structural sharing. It is log-structured and never overwrites data. SirixDB uses a novel page-level versioning approach called sliding snapshot.
Stars: ✭ 638 (-31.03%)
Mutual labels:  xpath, diff
Zhihu Crawler
zhihu-crawler是一个基于Java的高性能、支持免费http代理池、支持横向扩展、分布式爬虫项目
Stars: ✭ 890 (-3.78%)
Mutual labels:  crawler
React Visual Diff
React component for rendering the diff of two React elements
Stars: ✭ 22 (-97.62%)
Mutual labels:  diff
Python
Python脚本。模拟登录知乎, 爬虫,操作excel,微信公众号,远程开机
Stars: ✭ 7,355 (+695.14%)
Mutual labels:  crawler
Appium Template
Appium template for android testing training
Stars: ✭ 5 (-99.46%)
Mutual labels:  appium
Webhere
HTML scraping for Objective-C.
Stars: ✭ 16 (-98.27%)
Mutual labels:  xpath
Language Diff
Stars: ✭ 22 (-97.62%)
Mutual labels:  diff
Psi Report
Crawls a website, gets PageSpeed Insights data for each page, and exports an HTML report.
Stars: ✭ 6 (-99.35%)
Mutual labels:  crawler
Ufodiff
UFO source file diff application
Stars: ✭ 23 (-97.51%)
Mutual labels:  diff
Torbot
Dark Web OSINT Tool
Stars: ✭ 821 (-11.24%)
Mutual labels:  crawler
Tumblthree
A Tumblr Blog Backup Application
Stars: ✭ 923 (-0.22%)
Mutual labels:  crawler
Diffuse
Diffuse is library that aims to simplify the diffing of two collections
Stars: ✭ 23 (-97.51%)
Mutual labels:  diff
Defiant.js
http://defiantjs.com
Stars: ✭ 907 (-1.95%)
Mutual labels:  xpath
Fscrawler
Elasticsearch File System Crawler (FS Crawler)
Stars: ✭ 906 (-2.05%)
Mutual labels:  crawler

AppCrawler

一个基于自动遍历的app爬虫工具. 支持android和iOS, 支持真机和模拟器. 最大的特点是灵活性. 可通过配置来设定遍历的规则.

为什么做这个工具

  • 各大云市场上自动遍历功能都多有限制企业无法自由定制.
  • 解决monkey等工具可控性差的缺点
  • 发现深层次的UI兼容性问题
  • 通过新老版本的diff可以发现每个版本的UI变动范围

设计目标

  • 自动爬取加上规则引导(完成)
  • 支持定制化, 可以自己设定遍历深度(完成)
  • 支持插件化, 允许别人改造和增强(完成)
  • 支持滑动等更多动作(完成)
  • 支持自动截获接口请求(完成)
  • 支持新老版本的界面对比(Doing)
  • 云端兼容性测试服务利用, 支持Testin MQC MTC(Doing)

安装依赖

mac下安装appium

#安装node和依赖
brew install node
brew install ideviceinstaller
brew install libimobiledevice
#安装appium
npm install -g appium
#检查appium环境正确性
appium-doctor

真机或者模拟器均可. 确保adb devices可以看到就行

启动appium

使用此工具需要一定的appium基础知识, 请自行google.
目前已经在appium 1.5.3下做过测试

启动appium

appium --session-override

下载appcrawler.

最新版本下载地址: https://pan.baidu.com/s/1dE0JDCH

运行

工具以jar包方式发布,需要java8以上的运行环境

java -jar appcrawler.jar  

快速遍历

#查看帮助文档
java -jar appcrawler.jar
#运行测试
java -jar appcrawler.jar -a xueqiu.apk

配置文件运行方式

#配置文件的方式运行
#Android测试
java -jar appcrawler.jar -c conf/xueqiu.yaml -a xueqiu.apk
#iOS测试
java -jar appcrawler.jar -c conf/xueqiu.yaml -a xueqiu.app

输出结果

默认在当前目录下会生成一个包含输出结果的目录, 以时间命名. 包含了如下的测试结果

  • 所有遍历过的控件组成的思维导图
  • 包含了遍历覆盖的html报告
  • 用于做diff分析的数据文件

示例

更多技术交流

测试技术交流社区: https://ceshiren.com

QQ技术交流群: 177933995

更多细节

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].