appium環境搭建

  1. 安裝pycharm
  2. 下載appium.dmg
    https://bitbucket.org/appium/appium.app/downloads/
  3. 安裝appium
  4. 安裝appium client
    • 下載:python client
    • 安裝:python setup.py install
    • 因權限安裝失敗時,切到root再執行
  5. 下載testapp工程
    • xcode打開testapp
  6. 打開pycharm
    • 新建pthon文件
    • 在testapp文件夾中找到對應的python測試demo
    • 拷貝到當前pycharm文件,執行
  7. 測試用例執行時遇到一些問題
    • find_element_by_name執行失敗
      • 該方法已被棄用,我這裏替換成find_element_bt_identifier

環境:
1. appium1.5.3
2. xcode7.2
3. python3.4.3

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章