首页| 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
  • 睥睨 1天前 成为了本站会员

  • ? 1天前 成为了本站会员

  • IATWAY 2天前 成为了本站会员

  • 大智若愚 2天前 成为了本站会员

  • Mason 2天前 成为了本站会员

  • 2天前 成为了本站会员

  • Half_Punch 3天前 成为了本站会员

  • liqing71718 3天前 成为了本站会员

  • 伟国 3天前 成为了本站会员

  • songy 3天前 成为了本站会员

0.196932s