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

您现在的位置是:虫虫源码 > Java > 一个跨浏览器自动化测试工具基于硒硒2,网格2,TestNG和图像比较

一个跨浏览器自动化测试工具基于硒硒2,网格2,TestNG和图像比较

资 源 简 介

browserspy is a cross browser automation test tool based on selenium 2.0, namely webdriver, selenium grid 2.0, testng and image compare. How to use it: 1. setup selenium grid 2.0 env a. setup selenium grid hub, run following command in CMD. java -jar selenium-server-standalone-2.20.0.jar -role hub b. setup selenium grid node, ie,ff etc, pls run following command in CMD. java -jar selenium-server-standalone-2.20.0.jar -role webdriver -hub http://localhost:4444/grid/register -browser browserName=iexplore,platform=WINDOWS java -jar selenium-server-standalone-2.20.0.jar -role webdriver -hub http://localhost:4444/grid/register -browser browserName=firefox,platform=WINDOWS c. for more info, pls visit selenium grid website. 2. write selenium test case and use BrowserSpy API. a. following is the sample code to do search use BAIDU. public class BaiduRemoteWebDriverTest { > public WebDriver driver; > public BrowserSpy spy; > @Parameters({ "browser" }) > @BeforeClass > public void setup(Str

文 件 列 表

brower-spy
test-output
src
script
resource
lib
doc
dist
build
bin
.classpath
.project
.settings
.svn
entries
build.xml
selenium-grid-1.0.8
testng-difftypebrowser.xml
testng-sametypebrowser.xml
.settings
.svn
selenium-grid-1.0.8

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.189759s