一個簡單和易于測試的工具:Huxley
Huxley 可以監控你瀏覽的內容,進行屏幕截圖,然后告訴你發生了什么變化。來自 非死book 的 Web 應用的 UI 測試工具。
以下是它的簡單用法:
1. Install using pip install huxley
2.run server using the framework you use.
3.create a file named huxley with following contents
[test_name]
url=http://localhost:8000/test_page
4.You need to download selenium server
https://selenium.googlecode.com/files/selenium-server-standalone-2.33.0.jar
run the downloaded file
java -jar selenium-server-standalone-XXX.jar
6.Run huxley —record on the same directory as huxley File
7.press enter to take screenshots or use it in playback mode
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!