RobotFramework + UiAutomator多設備協作自動化實現

安裝環境

使用環境ubuntu14.04

請參考:https://github.com/huaping/StabilityKPI

安裝基礎庫:
sudo apt-get install python-pip mplayer2 libudev-dev
sudo pip install robotframework
sudo pip install uiautomator

安裝RobotFramework IDE

sudo apt-get install python-wxgtk2.8
sudo pip install robotframework-ride

具體架構:



編寫測試用例要點:

熟悉 uiautomator python wrapper, 使用Common UI Lib編寫你自己的關鍵字(在UI Driver中), 這些關鍵字會被RobotFramework使用。

怎麼寫uiautomator的UI操作,將會在其他章節中詳細談到。

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