Windows下搭建appium+python的測試開發環境

來源:互聯網
上載者:User

標籤:windows      手機用戶端   電子書   視頻分享   

QQ群522720170,無商業廣告,每日乾貨電子書+視頻分享

荔枝FM手機用戶端搜尋“挨踢脫口秀”即可訂閱我們

視頻匯總首頁:http://xqtesting.blog.51cto.com/4626073/1669386

1、安裝nodejs

:https://nodejs.org/download/

2、安裝Appium

http://appium.io/下載完畢後解壓到pc本地,將壓縮包裡有appium.cmd檔案的路徑設定到環境變數path中

驗證:appium-doctor

在我電腦上的操作如

650) this.width=650;" src="http://s1.51cto.com/wyfs02/M02/7D/25/wKiom1bhAf2w052TAAC9VPsvh5E930.png" title="1.png" alt="wKiom1bhAf2w052TAAC9VPsvh5E930.png" />

3、安裝python

這裡以python2.7為例,到python官網下載包一路next即可

配置環境變數到path

4、安裝Appium-Python-Client(必須)

到此處下載:https://github.com/appium/python-client

解壓,進入到解壓後的目錄運行命令:python setup.py install即可安裝

5、啟動appium服務

cmd中輸入appium即可,成功後會提示你all successful

6、編寫你的程式運行即可

650) this.width=650;" src="http://s2.51cto.com/wyfs02/M00/7D/23/wKioL1bhA-SiHVfpAAC7xM3r2nY605.jpg" title="挨踢脫口秀訂閱號.jpg" alt="wKioL1bhA-SiHVfpAAC7xM3r2nY605.jpg" />

本文出自 “小強效能測試&產品經理窩” 部落格,請務必保留此出處http://xqtesting.blog.51cto.com/4626073/1749529

Windows下搭建appium+python的測試開發環境

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.