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