對Appium的認識 get

來源:互聯網
上載者:User

標籤:phone   應用   color   請求   one   web   strong   轉寄   jar包   

介紹

Appium是一個開源、跨平台的測試架構,可以用來測試原生及混合的移動端應用。Appium支援iOS、Android及FirefoxOS平台測試。Appium使用WebDriver的json wire協議,來驅動Apple系統的UIAutomation庫、Android系統的UIAutomator架構。

特點:

  • 跨架構
  • 跨裝置
  • 跨語言
  • 跨app
  • 不依賴原始碼
  • 不限制測試架構和平台

Appium的載入流程
? 調用android adb完成基本的系統操作

? 向android上部署bootstrap.jar包並啟動

? Forward android的連接埠到pc機器上
? Pc上監聽連接埠接受請求,使用webdriver協議

? 分析命令並轉通過forward的連接埠發給 bootstrap.jar
? Bootstrap.jar接受請求並把命令發給 uiautomator或者插樁體系

如:執行send_keys命令,發送到remote webdriver /wd/hub/session/xxx/keys,然後pc處理請求並轉寄給android和iphone,接著Bootstrap.jar調用uiautomator,Uiautomator調用settext方法

對Appium的認識 get

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.