摘要: 问题:解决办法: 阅读全文
posted @ 2015-12-09 22:17 dieyaxianju 阅读(1751) 评论(2) 推荐(0) 编辑
摘要: 1.在Eclipse中引入JUnitjar文件2.右键Build Path>Configure Bulid Path3.Libraries>Add Library4.Junit>next5.JUnit library version>JUnit4 finish 阅读全文
posted @ 2015-12-09 21:26 dieyaxianju 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 一个完整的maven配置selenium webdriver工程实例 http://www.spasvo.com/ceshi/open/kygncsgj/Selenium/2013122095800.html自动化测试【Maven+Eclipse+Selenium+Java环境搭建和测试】http:... 阅读全文
posted @ 2015-12-09 17:26 dieyaxianju 阅读(115) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/xc5683/article/details/9629827 阅读全文
posted @ 2015-12-09 17:23 dieyaxianju 阅读(258) 评论(0) 推荐(0) 编辑
摘要: /*创建的类为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) 编辑