![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
自动化测试
iteye_8662
这个作者很懒,什么都没留下…
展开
-
Selenium 1.0 vs Selenium 2.0 (Selenium Web-driver)
Selenium is browser automation tool, for more information select this link. We already have Selenium1.0, why Selenium2.0? Selenium1.0 can't tackle following items. 1. Native keyboard and mouse events....原创 2011-10-03 16:23:05 · 119 阅读 · 0 评论 -
Selenium WebDriver 获取 existing Cache?
采用Selenium2 作为Web前段测试工具,跑测试脚本的时候遇到的问题是这样的: 比如进行10遍browser测试,在每次测试完成后,driver.quit(),关闭浏览器再重新开启后,对于IE,Cache会继续存在。所以对于需要Cache的测试,这样的Situation是满足的。 然而换成了Firefox后,FirefoxDriver目前采取的策略默认是新建profile。 ...2011-11-22 17:01:24 · 384 阅读 · 0 评论 -
Locator performance & considerations
When Doing Selenium tests, to locate the certain web elements, there are several methods. Like By.id, By.className, By.tagName, By.name... But among them all, we use By.xPath and By.cssSelector to sp...原创 2012-09-21 13:28:20 · 122 阅读 · 0 评论