码迷,mamicode.com
首页 >  
搜索关键字:selenium frmae    ( 6251个结果
Ubuntu下搭建Robotframework+Selenium环境
Ubuntu下面搭建RobotFramework+Selenium环境...
分类:其他好文   时间:2014-06-16 12:49:17    阅读次数:177
Selenium中的几种等待方式,需特别注意implicitlyWait的用法(转)
最近在项目过程中使用selenium 判断元素是否存在的时候 遇到一个很坑爹的问题, 用以下方法执行的时候每次都会等待很长一段时间,原因是因为对selenium实现方法了解不足导致一直找不到解决方法。 private boolean isElementPresent(By by) { t...
分类:其他好文   时间:2014-06-13 20:30:46    阅读次数:352
phantomjs + selenium headless test
1. 安装seleniumpip install selenium2. 安装phantomjs如果你是Ubuntu12.04,默认安装的版本是1.4.这个会出错。需要安装1.9.7cd /usr/local/sharesudo wget https://bitbucket.org/ariya/pha...
分类:Web程序   时间:2014-06-13 07:32:47    阅读次数:305
查看webdriver针对浏览器的一些函数
在用webdriver对浏览器进行操作时,很多操作并不是那么好找,后来在朋友的推荐下可以用下面的方法来寻找针对浏览器的一些操作,函数或属性等,这样方便我们可以查找一些方法去完成我们要的操作。下面是查看的方法:from selenium import webdriverbrowser = webdri...
分类:Web程序   时间:2014-06-12 09:03:31    阅读次数:230
[Selenium]对弹出的Alert窗口进行操作
Alert alert = driver.switchTo().alert();alert.accept();
分类:其他好文   时间:2014-06-11 13:05:22    阅读次数:169
Selenium(ThoughtWorks公司开发的web自动化测试工具)
Selenium也是一个用于Web应用程序测试的工具。Selenium测试直接运行在浏览器中,就像真正的用户在操作一样。支持的浏览器包括IE(7、8、9)、Mozilla Firefox、Mozilla Suite等。这个工具的主要功能包括:测试与浏览器的兼容性——测试你的应用程序看是否能够很好得工...
分类:Web程序   时间:2014-06-08 22:29:03    阅读次数:328
使用python编写appium用例
安装Python依赖 pip3.4 install nose pip3.4 install selenium pip3.4 install Appium-Python-Client 运行测试用例android_contacts.py import os import unittest from appium import webdriver from time import slee...
分类:移动开发   时间:2014-06-08 05:55:17    阅读次数:482
Test Automation With Selenium Using Page Object Design
WebDriver IntroductionA different way of automating the browser.. Create a browser-specific driver to control the browser directly and have to do this...
分类:其他好文   时间:2014-06-07 07:14:40    阅读次数:290
Selenium错误:selenium.common.exceptions.WebDriverException: Message: "Can't load the profile.
错误描述:在python代码中通过selenium来初始化一个firefox浏览器失败,看了下selenium的版本是2.35,然后用firefox --version看了下是28.0,firefox好像不听话自动升级了导致了旧版selenium不支持。 Traceback (most recent call last):   File "C:\Python27\erSiteCompare.p...
分类:Web程序   时间:2014-06-02 22:31:07    阅读次数:611
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!