首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 自动比较浏览器视口像素单元测试

自动比较浏览器视口像素单元测试

资 源 简 介

About Screencompare is a Selenium-based JUnit-framework to compare browser-viewports pixel-wise. It basically opens your webpages in different browsers, makes screenshots and allows you to compare those automatically. This allows you to create automated visual layout-tests for full webpages or specific elements. This software was created as part of my bachelor thesis about Website Testing (pdf, german) at the University of Basel. Example Compare the rendering of "google.ch" in Firefox and IE with a maximum allowed difference of 5%: ``` public class CompareFirefoxIETest extends ScreencompareTestCase { public void test() throws Exception { start("http://www.google.ch", Browser.FIREFOX); Screen firefox = captureScreen(); stop();

文 件 列 表

screencompare
data
doc
examples
lib
runExample.bat
runExample.sh
startSelenium.bat
startSelenium.sh

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.168427s