美文网首页测试圈测试杂谈测试基础简介
处理每次运行appium脚本弹出Unlock和setting的安

处理每次运行appium脚本弹出Unlock和setting的安

作者: 测试猴 | 来源:发表于2017-09-29 10:25 被阅读223次

关于处理appium每次运行都要安装Unlock,setting

window的appium安装目录下

appium/node-modules/appium/lib/devices/android/android.js中注释如下行:

//this.uninstallApp.bind(this),108

//this.installAppForTest.bind(this),109

//this.pushSettingsApp.bind(this),113

//this.pushUnlock.bind(this),114

注释掉以上代码即可,如果要自动安装解开注释即可

108和109的代码可以不注释掉,因为这是关于测试的APP的安装包是否安装的

相关文章

网友评论

    本文标题:处理每次运行appium脚本弹出Unlock和setting的安

    本文链接:https://www.haomeiwen.com/subject/wkabextx.html