自动化测试
文章平均质量分 62
zyl26
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
解决Selenium2Library中的select frame无法选择没有名字,没有id的frame或者iframe的问题
Selenium2Library中原有的select_frame函数(对应的关键字为select frame)可根据locator选择frame,但是,若某个frame或者iframe没有id,没有name,而页面存在多个frame或者iframe,则原函数无法实现选择该frame或者iframe的功能。其原因是原函数默认locator可以唯一选择。解决方法为修改Selenium2Library中的select_frame函数,支持索引选择功能原创 2015-05-20 10:39:45 · 3672 阅读 · 4 评论 -
Selenium 调用IEDriverServer打开IE浏览器
Selenium 调用IEDriverServer打开IE浏览器无论是selenium2(WebDriver)还是selenium2Library,如果想要调用ie浏览器,均需以下步骤。下载IEDriverServer。进入索引页,首先选择版本号,IEDriverServer的版本号和Selenium的版本号一定要一致,因为我选择的是selenium-2.53,所以IEDriverServer也选原创 2016-03-30 09:49:37 · 36995 阅读 · 7 评论
分享