自动化测试平台用例执行_Android

 

一、搭建过程

参考:https://testerhome.com/topics/15534 (https://github.com/jerrylizilong/autotest_platform)

二、Android 测试用例的执行

2.1 下载 atxserver2-android-provider (https://github.com/openatx/atxserver2-android-provider)

2.2 下载atxserver2 (https://github.com/openatx/atxserver2)

三、执行过程

3.1 启动MySql;

3.2 启动rethinkdb

3.3 在atxserver2-android-provider 目录下执行: python3 main.py --server http://localhost:4000

3.4 在atxserver2 目录下执行: python3 main.py

3.5 在autotest_platform目录下启动run.py; (自动化测试平台可以在浏览器打开)

3.6 添加并关联Android 的测试用例;

3.7 执行atxcore.py, 每6秒会轮训待执行的Android 测试用例;(切记: Android的测试用例一定要关联到Test Suite 中,否则无法执行用例)

原文地址:https://www.cnblogs.com/jiguanghover/p/15165926.html