
webDriver
vagabond1
这个作者很懒,什么都没留下…
展开
-
开源应用架构之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 评论 -
WebDriver 捕获IE8下的ID值后,点击和提交操作不管用
今天在尝试用IE8回放WebDriver代码时碰到的问题。比方这样的例子:driver.findElement(By.id("ID")).click这个ID是能够找到的,但是不能触发click事件。用firefox回放没有问题。当把语句改为driver.findElement(By.name("name")).click,回放成功。所以总结一下,如果driver是IE8,做一下特殊原创 2012-07-09 16:11:06 · 1565 阅读 · 0 评论 -
Handle AJAX elements in Selenium 2 (WebDriver)
Address: http://www.thoughtworks-studios.com/twist/2.3/help/how_do_i_handle_ajax_in_selenium2.htmlThe implicit wait in Selenium 2 might not work for Ajax elements. We recommend you to use an转载 2012-07-12 15:21:38 · 1037 阅读 · 0 评论 -
Web Driver处理模态窗口无法获得句柄的问题
今天在用web driver的方法:driver.getWindowHandles()只能得到一个句柄,但是明明打开了一个父窗口和一个子窗口,而子窗口是模态窗口。这是怎么一回事呢?看到网上的这篇文章http://17test.info/?p=712的回复后,我得到了答案。原来是2.21版本的问题。于是就从seleniumhq.com下载了新的版本2.24.句柄终于拿到了。普及一下模态和原创 2012-07-09 22:41:41 · 3179 阅读 · 1 评论 -
webdriver API中文版
Address: http://blog.tianya.cn/blogger/post_read.asp?BlogID=4686115&PostID=508652751.1 下载selenium2.0的lib包http://code.google.com/p/selenium/downloads/list 官方UserGuide:http://seleniumh转载 2013-05-18 09:16:42 · 3345 阅读 · 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 评论 -
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 评论 -
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 评论 -
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 评论