# yys_活动自动挑战 **Repository Path**: xiaoyun461/yys-activity-auto-challenge ## Basic Information - **Project Name**: yys_活动自动挑战 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-27 - **Last Updated**: 2021-06-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 自动挑战py脚本 ### 使用 pip 安装Airtest框架: pip install airtest ### 使用python命令行运行脚本 ### 以下是一个使用命令行运行的例子: >airtest run yys.air --device Android:///手机设备号 --log log/ >python -m airtest run yys.air --device Android:///手机设备号 --log log/ ### 关于设备字符串 在刚才的命令行中使用的 --device 参数,传入的是一个设备字符串,以安卓设备为例,字串完整定义如下: >Android://:/ ### mumu模拟器命令: >python -m airtest run yys.air --device Android://127.0.0.1:5037/127.0.0.1:7555 --log log/ ### cmd 运行命令 >"F:\util\AirtestIDE\AirtestIDE" runner "F:\util\py\awake.air" --device android://127.0.0.1:5037/127.0.0.1:7555?cap_method=MINICAP_STREAM&&ori_method=MINICAPORI&&touch_method=MINITOUCH