
selenium
vagabond1
这个作者很懒,什么都没留下…
展开
-
Watij 与 Selenium 的比较
来源:http://developer.51cto.com/art/201111/302564_1.htm下面本文将介绍 Watij 和 Selenium 的异同。Watij 和 Selenium 都是可用于网页自动化测试的开源工具,两者都具有各自的特点及优势,它们之间有何异同,到底要如何取舍?首先,Watij 和 Selenium 都是直接在浏览器中运行脚本,并允许在脚本运行时将浏览转载 2012-04-28 14:26:16 · 1289 阅读 · 0 评论 -
WebDriver Wait Commands
Address: http://assertselenium.com/2013/01/29/webdriver-wait-commands/Wait commands in WebDriverListing out the different WebDriver Wait statements that can be useful for an effective script转载 2013-06-27 13:13:48 · 2663 阅读 · 0 评论 -
webdriver下的maven项目
我的pom里面的所有依赖包 junit junit 4.11 test org.seleniumhq.selenium selenium-java 2.32.0 org.seleniumhq.selenium selenium-server 2.18.0 org.apache.原创 2013-06-22 20:10:01 · 2309 阅读 · 2 评论 -
WebDriver2.32 IllegalStateException: The path to the driver executable
今天在安装了selenium-2.32.0,碰到了一些问题如果想要保证运行,建议用selenium-server-standalone-2.32.0.jar,包括了RC和webdriver运行下面的一段测试程序@Test public void testBaiduSearch() throws InterruptedException { // Optional, if not原创 2013-05-12 17:33:21 · 5260 阅读 · 1 评论 -
Behavior-driven development(BDD)
什么是BDD看看WiKi: http://en.wikipedia.org/wiki/Behavior_Driven_DevelopmentBDD is a second-generation, outside–in, pull-based, multiple-stakeholder, multiple-scale, high-automation, agile methodolo转载 2012-06-27 11:38:44 · 1002 阅读 · 0 评论 -
开源应用架构之Selenium WebDriver
这几篇文章有些看不懂,不过先存了,再细细品。(上)http://www.infoq.com/cn/news/2011/06/selenium-arch前不久,InfoQ向大家推荐了几本有关软件架构的新书,引起了国内读者的广泛兴趣。其中一本是《开源应用架构(The Architecture of Open Source Applications)》,来自知名开源项目转载 2012-07-09 13:19:30 · 1589 阅读 · 0 评论 -
获取页面元素和xpath
在做web测试时,经常需要检测页面元素和xpath可以应用firefox下面的两个插件达到这样的目的。Firebughttp://getfirebug.com/FirePathhttps://addons.mozilla.org/zh-CN/firefox/addon/firepath/原创 2012-06-25 10:20:40 · 1712 阅读 · 0 评论 -
用autoIt解决selenium不能操作对话框的问题
这几天在研究selenium,碰到javascript中弹出对话框,而通过selenium无法捕捉到这个活动窗口。所以用autoIt解决。http://www.autoitscript.com/site/autoit/ 安装完毕后编写脚本如:WinWaitActive("Message from webpage", "") If WinActivate("Message f原创 2012-05-10 13:04:34 · 4286 阅读 · 1 评论 -
Selenium WebDriver history and today
Address: http://www.aosabook.org/en/selenium.htmlSelenium is a browser automation tool, commonly used for writingend-to-end tests of web applications. A browser automation tooldoes exactly w转载 2013-07-19 08:58:24 · 3894 阅读 · 0 评论