AppiumDeskTop Second for Android
在教程First已經完成AppiumDeskTop安裝,接下來我們完成App錄製指令碼,並生成測試報告
1.錄製指令碼
2.生成報告
這裡使用我已經搭建好的框架:App-autotest(連結:https://pan.baidu.com/s/1SbaM9d2jB0Y-dmK5DrFpUg 密碼:lmul)
我們選擇指令碼語言為Python,用HtmlTestRunner配合生成報告,這之前要按照node.js
安裝Homebrew:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
安裝python3:brew install python3(建議用3.6的)
安裝nose:pip3 install nose
安裝client:pip3 install Appium-Python-Client
安裝HtmlTestRunner:pip3 install html-testRunner
進入測試專案Runner目錄,輸入python3 runner.py
測試報告
error注意:
1.TabError: Inconsistent use of tabs and spaces in indentation
解決:把Tab都換成空格就好
HtmlTestRunner模板目錄:
/usr/local/lib/python3.6/site-packages/HtmlTestRunner/template
相關文章
- Ext JS in Action, Second EditionJS
- Errata in Effective Java Second EditionJava
- ACM ICPC Vietnam National Second RoundACM
- Run root.sh on second node failAI
- Oracle INTERVAL DAY TO SECOND資料型別Oracle資料型別
- Omi 入坑指南 The second floor 初步接觸
- 關於INTERVAL DAY TO SECOND資料型別資料型別
- Effective Java Second Edition中文版已出版Java
- [Vue] how to encapsulate second time of ui componentsVueUI
- PHP 控制 QPS (Query Per Second) 的寫法PHP
- Effective Java Second Edition中文版勘誤列表Java
- 201012 Oracle OpenWorld Second DayOracle
- [LeetCode] 671. Second Minimum Node In a Binary TreeLeetCode
- [20170315]資料型別interval day to second資料型別
- [Shell] get after|before year,month,day,week,hour,minute,second
- 陳皓:關於閏秒(leap second)的小知識
- Oracle INTERVAL YEAR TO MONTH 和INTERVAL DAY TO SECOND 資料型別Oracle資料型別
- Tutor 9 How to crack Second Copy 97 version 5.31 build 96UI
- How to Configure A Second Listener on a Separate Network in 11.2 Grid
- jni編譯non-numeric second argument to `wordlist' function錯誤編譯Function
- 題解:AT_abc140_e [ABC140E] Second Sum
- [安裝包] Appium 國內下載地址 (百度雲盤,已更新至 AppiumDesktop_1.7.1)APP
- Effective Java Second Edition中文翻譯術語表討論專用貼Java
- Can you create a second voting disk in a different ASM diskgroup when using External Redundancy in 1ASM
- Microsoft Visual J#2.0 Second Edition安裝程式返回錯誤程式碼"1603'ROS
- Second Dinner 工作室正與漫威合作,開發一款漫畫改編遊戲遊戲
- 【MySQL】second behind master不準確的處理(監控主從延遲) pt-heartbeatMySqlAST
- 在win 7下安裝vSphere Client v5.0報錯:microsoft virtual j# 2.0 second editonclientROS
- Springboot2.x整合lettuce連線redis叢集報超時異常Command timed out after 6 second(s)Spring BootRedis
- Android學習—— Android佈局Android
- Android之android exported="false"作用AndroidExportFalse
- [Android元件化]Android app BundleAndroid元件化APP
- 聚焦 Android 11: Android 開發者工具Android
- 【Android】Android設計準則Android
- Android Transition(Android過渡動畫)Android動畫
- 愛上Android之初識AndroidAndroid
- [Android]Android原始碼下載Android原始碼
- [android]android命令列截圖Android命令列