zoukankan      html  css  js  c++  java
  • AppiumForMac安装2

    安装了两天的Python和Appium,各种不成功,到现在还不知道要怎么才能使用,两者之间的关联性还是没找到.
    虽然很乱,还是把这期间用到的知识汇总下:
    1、爬墙很重要,下载东西慢的很。
    2、最新的MacOS有一个安全机制SIP,导致很多东西下载后不能直接安装,也就是读写权限被禁。找到几个方法:
    > Homebrew安装
    > 使用sudo
    > 使用 pip install Appium-Python-Client --user -U
     
    Appium官方网站:http://appium.io/
    Easy setup process, run a test now.
    > brew install node        # get node.js
    > npm install -g appium  # get appium 该步骤一直不成功,原因不明
    > npm install wd          # get appium client
    > appium &                # start appium
    > node your-appium-test.js
    官方首页给出了appium的安装步骤。
    卸载appium的方法
    npm uninstall -g appium && npm install -g appium --no-shrinkwrap
     
    当点击Appium的gui中的doctor时,提示如下
    I installed appium-1.5.3.dmg But when I click the stethoscope button the Appium is show error :
    ✔ Xcode is installed at: /Library/Developer/CommandLineTools [Error: Could not detect Mac OS X Version from sw_vers output: '10.12 ']
    解决方法:
     
    当点击Appium的gui中的doctor后提示Xcode Command Line Tools are NOT installed!
    参考以下方法:
  • 相关阅读:
    事务,视图,索引
    SQL 编辑
    相关子查询
    4
    3
    2
    1
    BaseEditor
    EDCheckPrefabRef
    UIUseImgWindow
  • 原文地址:https://www.cnblogs.com/TomBombadil/p/10971348.html
Copyright © 2011-2022 走看看