摘要: 3. (1)下载Selenium Java 2.53.0版本,并在Eclipse中导入。 下载地址:http://selenium-release.storage.googleapis.com/index.html?path=2.53/。下载之后解压,得到如下目录结构: 然后把上面解压出来的文件拷到 阅读全文
posted @ 2018-04-16 19:13 lenglinshan 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-27 18:47 lenglinshan 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 一、安装Junit/harcrest/eclemma 选择使用eclipse作为实验工具,在eclipse上安装这三种jar; Junit和harcrest安装前,先到相对应的官方网站下载所需要的版本,这里下载的是Junit(4.12)和Hamcrest(all.1.3)版本,下载完成后,在ecli 阅读全文
posted @ 2018-03-22 12:03 lenglinshan 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1. The findLast() function Fault: In the for loop, it should search to 0, not 1; Test1: no test case will not execute the fault Test2: no test case wi 阅读全文
posted @ 2018-03-15 21:03 lenglinshan 阅读(70) 评论(0) 推荐(0) 编辑
摘要: for(int i=1;i<size;++i) { if(b==a[i]) { pos = i+1; break; } }输入: a{4,5,7,4,6,8},b=4 输出: 位置是4(错误,这儿应该是1,但程序未失败。)改成:for(int i=0;i<size;++i) { if(b==a[i] 阅读全文
posted @ 2018-03-13 21:52 lenglinshan 阅读(87) 评论(0) 推荐(0) 编辑