摘要: /*创建的类为junit class*/package Selenium_lassen;import static org.junit.Assert.*;import java.io.File;import org.junit.After;import org.junit.Before;import... 阅读全文
posted @ 2015-12-09 17:00 dieyaxianju 阅读(217) 评论(0) 推荐(0) 编辑
摘要: /*创建类的时候是TestNG Class*/package Selenium_lassen;import static org.junit.Assert.*;import java.util.concurrent.TimeUnit;import org.junit.After;import org... 阅读全文
posted @ 2015-12-09 16:55 dieyaxianju 阅读(597) 评论(0) 推荐(0) 编辑
摘要: 创建MAVEN项目pom.xml报错Failure to transfer org.apache.maven:maven-archiver:jar:2.4.2 from http://repo.maven.apache.org/maven2 was cached in the local repos... 阅读全文
posted @ 2015-12-09 12:56 dieyaxianju 阅读(467) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/sushengmiyan/article/details/40142771使用maven创建一个helloworld在本地硬盘创建一个文件夹作为maven项目工作目录,cmd切换到这个目录,然后执行如下cmd命令:第一步:mvnarchetype:gener... 阅读全文
posted @ 2015-12-09 10:11 dieyaxianju 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1.window-preferences-java-Installed JREs-Add-Standard VM-[添加jre6或jre7的路径] 阅读全文
posted @ 2015-12-08 16:25 dieyaxianju 阅读(565) 评论(0) 推荐(0) 编辑
摘要: http://jingyan.baidu.com/article/295430f136e8e00c7e0050b9.html必须先下载并安装JDK,配置JDK的环境变量JAVA_HOME,否则maven将无法使用eclipse安装maven插件后必须重新定位maven到本地maven目录如下定位:为... 阅读全文
posted @ 2015-12-08 14:56 dieyaxianju 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 对于sikuli,需要安装32位的jdk且不能高于1.7的版本对于64位系统的C盘,Program Files文件夹是64位的,Program File(x86)文件夹是32位的需要安装一个32位jdk则默认安装到Program File(x86)的java里,然后sikuli_IDE才可以用 阅读全文
posted @ 2015-12-08 10:08 dieyaxianju 阅读(319) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/quanyongan/archive/2013/04/17/3025971.htmlmaven新建web项目http://blog.csdn.net/clj198606061111/article/details/20221133 阅读全文
posted @ 2015-12-04 14:38 dieyaxianju 阅读(114) 评论(0) 推荐(0) 编辑
摘要: http://www.blogjava.net/qileilove/archive/2014/12/11/421309.htmlselenium webdriver定位不到元素的五种原因及解决办法 1.动态id定位不到元素 for example: //WebElement xiexin_el... 阅读全文
posted @ 2015-12-04 11:02 dieyaxianju 阅读(1076) 评论(0) 推荐(0) 编辑
摘要: 转:http://blog.csdn.net/jillliang/article/details/82064021.创建Fixfox web driver实例 WebDriver driver = new ForefoxDriver(); WebDriver driver = new Inter... 阅读全文
posted @ 2015-12-03 09:33 dieyaxianju 阅读(592) 评论(0) 推荐(0) 编辑