随笔分类 -  Software Testing

摘要:1、安装SeleniumIDE插件 添加组件-搜索Selenium IDE 安装后重启浏览器可以看到工具中存在此IDE 2、学会使用SeleniumIDE录制脚本和导出脚本 工具--Selenium IDE,得到界面如图 以百度搜索天津大学为例,如下图 红色的是录制按钮,base url是当前开始录 阅读全文
posted @ 2017-03-26 10:47 wuxinyi 阅读(95) 评论(0) 推荐(0)
摘要:1. 基于Junit 及Eclemma (jacoco )实现一个主路径覆盖的测试 package cn.scs.st; public class PrintPrime { public static String printPrimes (int n) { int MAXPRIMES = 10; 阅读全文
posted @ 2017-03-14 17:19 wuxinyi 阅读(134) 评论(0) 推荐(0)
摘要:LAB 01 一、安装JUnit, Hamcrest, Eclemma 1. Junit和Hamcrest的安装:新建工程,然后选择buildpath Eclemma可以通过eclipse的help安装,搜索Eclemma的本地位置,同意安装后重启即可。 二、实验内容 实验程序判断三角形类型,输入参 阅读全文
posted @ 2017-03-13 10:05 wuxinyi 阅读(133) 评论(0) 推荐(0)
摘要:1. Identify the fault 1) for (int i=x.length-1; i > 0; i--) Change to:for (int i=x.length; i > 0; i--) 2) for (int i = 0; i < x.length; i++) Change to 阅读全文
posted @ 2017-03-02 16:27 wuxinyi 阅读(136) 评论(0) 推荐(0)
摘要:There are always plenty of errors that we will meet in the process of theproject development. And these errors occur in any stages of the process.Rece 阅读全文
posted @ 2017-02-27 16:35 wuxinyi 阅读(104) 评论(0) 推荐(0)