appium===使用weditor代替ui automator viewer


 

 

weditor 一個元素定位工具,並可實現通過wifi連接移動端進行定位。

 https://github.com/openatx/uiautomator2

 

python安裝方式:

pip install --pre weditor

 

然后執行:

python -m uiautomator2 init

安裝完成,設備上會多一個uiautomator的應用。

 

啟動命令:
python -m weditor

 

接入方式:

查看設備接入序列號:adb devices

在http://atx.open.netease.com網頁輸入設備序列號進行鏈接;

 

關於wifi鏈接的方式,需要參考uiautomator2的使用.

 

 

順便提一下

 

如果有任何問題,你可以在這里找到我 ,軟件測試交流qq群,209092584

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM