一个简单和易于测试的工具: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 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!