zoukankan      html  css  js  c++  java
  • appium使用常见问题汇总--持续更新

    问题1:使用adb devices查看连接设备,提示unauthorized

    解决方案:进入进程管理,关闭adb进程,然后再查看连接设备

     问题2:adb connect ip提示远程计算机积极拒绝,无法连接

    解决方案:使用adb tcpip 5555开启5555端口,然后再连接

     问题3:有些手机已经安装了setting和unlock,每次运行时都重新安装:

    解决方案:进入Appium ode_modulesappiumlibdevicesandroid,打开Android.js文件,注释112、113、114、117行的代码,然后重启appium,问题解决;

    问题4:appium运行app运行报错:Keyword 'Capture Page Screenshot' could not be run on failure: No application is open;

     

    解决方案:进入Appium ode_modulesappium ode_modulesappium-adblib目录,修改adb.js   位置大概在1139左右,添加如下代码:outlines.shift()  然后重启appium即可解决

     

  • 相关阅读:
    378. Kth Smallest Element in a Sorted Matrix
    295. Find Median from Data Stream
    857. Minimum Cost to Hire K Workers
    373. Find K Pairs with Smallest Sums
    767. Reorganize String
    无序列表
    有序列表
    缩写
    设计者详细信息
    强调
  • 原文地址:https://www.cnblogs.com/yinrw/p/9542100.html
Copyright © 2011-2022 走看看