Skip to main content

UI Test Automation Framework for Games and Apps on Android/iOS/Windows/Linux/Web

Project description

Airobots

整合了Airtest Project和RobotFramework框架的方法。

另外整合了HTTPRunner,实现一个框架同时支持Android、IOS、WEB、API的自动化测试及性能测试(HTTPRunner提供的基于Locust的压力生成器,不带资源监控)。

安装框架依赖包, 执行

pip install https://github.com/BSTester/Airtest/archive/master.zip          # Python3.8 请先安装这个版本的Airtest
pip install airobots -i https://mirrors.aliyun.com/pypi/simple

运行WEB测试,需要安装ChromeDriver,请自行下载安装,或安装node之后执行 npm install -g chromedriver 安装

执行测试

Allure 报告

airobots -t api ./API/Case/Path/ --alluredir=Results             # API测试
airobots -t web ./Web/Case/Path/ --alluredir=Results             # Web测试
airobots -t android ./Android/Case/Path/ --alluredir=Results     # Android测试
airobots -t ios ./IOS/Case/Path/ --alluredir=Results             # IOS测试

HTML 报告

airobots -t api ./API/Case/Path/ --html=Results/report.html          # API测试
airobots -t web ./Web/Case/Path/ --html=Results/report.html          # Web测试
airobots -t android ./Android/Case/Path/ --html=Results/report.html  # Android测试
airobots -t ios ./IOS/Case/Path/ --html=Results/report.html          # IOS测试

演示项目: https://github.com/BSTester/AirobotsDemo

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

airobots-1.0.0b0.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file airobots-1.0.0b0.tar.gz.

File metadata

  • Download URL: airobots-1.0.0b0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for airobots-1.0.0b0.tar.gz
Algorithm Hash digest
SHA256 e0647c7e5fbb6bc8881f24faba0858e41f03961985369882be3fd03bd9734652
MD5 7fdb809273c809534b1ccf3351fd328d
BLAKE2b-256 084b27947fa64384e9953c873968ccaf2a6abba1be74450900d0665e3e9a51f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page