相对定位采用相对定位的元素,相对以前的位置发生偏移。偏移量由top,left,right,bottom决定。比如{position:relative;top:10px;left:10px},相较以前位置向下、向右移动,bottom和right的方向相反,负值方向相反。如果没有指定偏移量,不会偏移。采...
分类:
Web程序 时间:
2015-03-22 01:38:03
阅读次数:
161
今天偶遇一个问题,运行项目时,发现这个问题:org.openqa.selenium.WebDriverException: f.QueryInterface is not a functionCommand duration or timeout: 30.17 secondsBuild info: ...
分类:
Web程序 时间:
2015-03-21 18:22:43
阅读次数:
587
今天尝试最新的webDriver与fireFox搭配: 运行代码时出现如下的问题,但是浏览器却可以打开:org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 70....
分类:
Web程序 时间:
2015-03-20 15:47:27
阅读次数:
152
Selenium IDE 基础教程1、下载安装 a 在火狐浏览其中搜索附件组件,查找 Selenium IDE b 下载安装,然后重启firefox2、界面讲解 在菜单-工具中找到Selenium IDE 打开Selenium IDE ,也可以将Selenium添加到快捷菜单中,Firefox...
分类:
其他好文 时间:
2015-03-20 10:31:18
阅读次数:
174
1,my first app(connected with pc)2,auto update3,reboot and power off.selenium
分类:
其他好文 时间:
2015-03-19 20:10:17
阅读次数:
127
from selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.support.ui import WebDriverWaitfrom selenium.webdrive...
分类:
编程语言 时间:
2015-03-19 11:27:02
阅读次数:
264
/** * Created by zhangminjie on 15/3/16. */public enum WebDriverManager { DRIVER; Logger log= LogManager.getLogger(WebDriverManager.class.getNam...
分类:
其他好文 时间:
2015-03-19 06:12:18
阅读次数:
158
public class BrowserChromeImpl implements BrowserDriver { @Override public WebDriver getDriver() { SeleniumListener seleniumListener = ne...
分类:
其他好文 时间:
2015-03-19 00:52:59
阅读次数:
134
一、Selenium 简介 Selenium 是 ThoughtWorks 专门为 Web 应用程序编写的一个验收测试工具。 与其他测试工具相比,使用 Selenium 的最大好处是: Selenium 测试直接在浏览器中运行,就像真实用户所做的一样。 Selenium 测试可以在 Windows、...
分类:
Web程序 时间:
2015-03-18 10:19:00
阅读次数:
143
Selenium也是一个用于Web应用程序测试的工具。Selenium测试直接运行在浏览器中,就像真正的用户在操作一样。支持的浏览器包括IE(7、8、9)、Mozilla Firefox、Mozilla Suite等。这个工具的主要功能包括:测试与浏览器的兼容性——测试你的应用程序看是否能够很好得工作在不同浏览器和操作系统之上。测试系统功能——创建回归测试检验软件功能和用户需求。支持自动录制动作和...
分类:
编程语言 时间:
2015-03-17 23:41:42
阅读次数:
211