web测试方法总结



Web测试方法总结

一、输入框

   1、字符型输入框:
  (1)字符型输入框:英文全角、英文半角、数字、空或者空格、特殊字符“~!@#¥%……&*?[]{}”特别要注意单引号和&符号。禁止直接输入特殊字符时,使用“粘贴、拷贝”功能尝试输入。
  (2)长度检查:最小长度、最大长度、最小长度-1、最大长度+1、输入超工字符比如把整个文章拷贝过去。
  (3)空格检查:输入的字符间有空格、字符前有空格、字符后有空格、字符前后有空格
  (4)多行文本框输入:允许回车换行、保存后再显示能够保存输入的格式、仅输入回车换行,检查能否正确保存(若能,检查保存结果,若不能,查看是否有正常提示)、
  (5)安全性检查:输入特殊字符串(null,NULL,
  ,javascript,,<html>,<td>)、</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  输入脚本函数</span>(<script>alert("abc")</script>)、</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>doucment.write("abc")、<b>hello</b>)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>2、数值型输入框:</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>1)边界值:最大值、最小值、最大值+1、最小值-1</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>2)位数:最小位数、最大位数、最小位数-1最大位数+1、输入超长值、输入整数</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>3)异常值、特殊字符:输入空白(NULL)、空格或"</span><u><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;text-decoration:underline;">~!@#$%</span></u><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;">^&*()_+{}|</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>[]:"<>?;',./?;:'-=等可能导致系统错误的字符、禁止直接输入特殊字符时,尝试使用粘贴拷贝查看是否能正常提交、word</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  中的特殊功能,通过剪贴板拷贝到输入框,分页符,分节符类似公式的上下标等、数值的特殊符号如</span>∑,?,?,∏,+,-等、</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  输入负整数、负小数、分数、输入字母或汉字、小数(小数前</span>0点舍去的情况,多个小数点的情况)、首位为0的数字如01、02、科学计数法是否支持1.0E2、全角数字与半角数字、数字与字母混合、16进制,8进制数值、货币型输入(允许小数点后面几位)、</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>4)安全性检查:不能直接输入就copy</span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;">3、日期型输入框:</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>1)合法性检查:(输入0日、1日、32日)、月输入[1、3、5、7、8、10、12]、日输入[31]、月输入</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>[4、6、9、11]、日输入[30][31]、输入非闰年,月输入[2],日期输入[28、29]、输入闰年,月输入[2]、日期输入[29、30]、</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  月输入</span>[0、1、12、13]</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>(2)异常值、特殊字符:输入空白或NULL、输入~!@#¥%……&*(){}[]等可能导致系统错误的字符</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>3)安全性检查:不能直接输入,就copy,是否数据检验出错?</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>4、信息重复:在一些需要命名,且名字应该唯一的信息输入重复的名字或ID,看系统有没有处理,会否报错,重名包括是否区分大小写,以及在输入内容的前后输入空格,系统是否作出正确处理.</span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="color:rgb(62,62,62);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:12pt;font-style:normal;font-weight:normal;"> </span></p> <p style="text-align:left;"><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">二、搜索功能</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  若查询条件为输入框,则参考输入框对应类型的测试方法</span></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、功能实现:</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>1)如果支持模糊查询,搜索名称中任意一个字符是否能搜索到</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>2)比较长的名称是否能查到</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>3)输入系统中不存在的与之匹配的条件</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>4)用户进行查询操作时,一般情况是不进行查询条件的清空,除非需求特殊说明。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>2、组合测试:</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>1)不同查询条件之间来回选择,是否出现页面错误(单选框和多选框最容易出错)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>2)测试多个查询条件时,要注意查询条件的组合测试,可能不同组合的测试会报错。</span></p> <p style="text-align:left;"><span style="font-family:'宋体';font-size:12pt;"><br></span><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">三、添加、修改功能</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、特殊键:(1)是否支持Tab键 (2)是否支持回车键</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>2、提示信息:(1)不符合要求的地方是否有错误提示</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>3、唯一性:(1)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:9pt;font-style:normal;font-weight:normal;"><span style="font-family:'宋体';">字段</span></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">唯一的,是否可以重复添加,添加后是否能修改为已存在的字段(字段包括区分大小写以及在输入的内容前后输入空格,保存后,数据是否真的插入到数据库中,注意保存后数据的正确性)</span></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>4、数据 正确性:</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>1)对编辑页的每个编辑项进行修改,点击保存,是否可以保存成功,检查想关联的数据是否得到更新。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>2)进行必填项检查(即是否给出提示以及提示后是否依然把数据存到数据库中;是否提示后出现页码错乱等)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>3)是否能够连续添加(针对特殊情况)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>4)在编辑的时候,注意编辑项的长度限制,有时在添加的时候有,在编辑的时候却没有(注意要添加和修改规则是否一致)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>5)对于有图片上传功能的编辑框,若不上传图片,查看编辑页面时是否显示有默认的图片,若上传图片,查看是否显示为上传图片</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>6)修改后增加数据后,特别要注意查询页面的数据是否及时更新,特别是在首页时要注意数据的更新。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>7)提交数据时,连续多次点击,查看系统会不会连续增加几条相同的数据或报错。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>8)若结果列表中没有记录或者没选择某条记录,点击修改按钮,系统会抛异常。</span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="color:rgb(62,62,62);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:12pt;font-style:normal;font-weight:normal;"> </span></p> <p style="text-align:left;"><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">四、删除功能</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、特殊键:(1)是否支持Tab键 (2)是否支持回车键</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>2、提示信息:(1)不选择任何信息,直接点击删除按钮,是否有提示(2)删除某条信息时,应该有确认提示</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>3、数据 实现:(1)是否能连续删除多个产品(2)当只有一条数据时,是否可以删除成功</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>3)删除一条数据后,是否可以添加相同的数据(4)如系统支持批量删除,注意删除的信息是否正确</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>5)如有全选,注意是否把所有的数据删除(6)删除数据时,要注意相应查询页面的数据是否及时更新 (7)如删除的数据与其他业务数据关联,要注意其关联性(如删除部门信息时,部门下游员工,则应该给出提示)(8)如果结果列表中没有记录或没有选择任何一条记录,点击删除按钮系统会报错。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  如:某一功能模块具有最基本的增删改查功能,则需要进行以下测试</span></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  单项功能测试(增加、修改、查询、删除)</span></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  增加</span>——>增加——>增加 (连续增加测试)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  增加</span>——>删除</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  增加</span>——>删除——>增加 (新增加的内容与删除内容一致)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  增加</span>——>修改——>删除</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  修改</span>——>修改——>修改 (连续修改测试)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  修改</span>——>增加(新增加的内容与修改前内容一致)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  修改</span>——>删除</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  修改</span>——>删除——>增加 (新增加的内容与删除内容一致)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  删除</span>——>删除——>删除 (连续删除测试)</span></p> <p style="text-align:left;"><span style="font-family:'宋体';font-size:12pt;"><br></span><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">五、注册、登陆模块</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、注册功能:</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>1)注册时,设置密码为特殊版本号,检查登录时是否会报错</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>2)注册成功后,页面应该以登陆状态跳转到首页或指定页面</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>3)在注册信息中删除已输入的信息,检查是否可以注册成功。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>2、登陆 功能:</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>1)输入正确的用户名和正确的密码</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>2)输入正确的用户名和错误的密码</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>3)输入错误的用户名和正确的密码</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>4)输入错误的用户名和错误的密码</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>5)不输入用户名和密码(均为空格)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>6)只输入用户名,密码为空</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>7)用户名为空,只输入密码</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>8)输入正确的用户名和密码,但是不区分大小写</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>9)用户名和密码包括特殊字符</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>10)用户名和密码输入超长值</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>11)已删除的用户名和密码</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>12)登录时,当页面刷新或重新输入数据时,验证码是否更新</span></p> <p style="text-align:left;"><span style="font-family:'宋体';font-size:12pt;"><br></span><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">六、上传图片测试</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、功能 实现:</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>1)文件类型正确、大小合适</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>2)文件类型正确,大小不合适</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>3)文件类型错误,大小合适</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>4)文件类型和大小都合适,上传一个正在使用中的图片</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>5)文件类型大小都合适,手动输入存在的图片地址来上传</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>6)文件类型和大小都合适,输入不存在的图片地址来上传</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>7)文件类型和大小都合适,输入图片名称来上传</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>8)不选择文件直接点击上传,查看是否给出提示</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>9)连续多次选择不同的文件,查看是否上传最后一次选择的文件</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';"> </span></span><strong><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:bold;"><span style="font-family:'宋体';"> </span></span></strong></p> <p style="text-align:left;"><span style="font-family:'宋体';font-size:12pt;"><br></span><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">七、查询结果列表</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、功能 实现:</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>1)列表、列宽是否合理</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>2)列表数据太宽有没有提供横向滚动</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>3)列表的列名有没有与内容对应</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>4)列表的每列的列名是否描述的清晰</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>5)列表是否把不必要的列都显示出来</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>6)点击某列进行排序,是否会报错(点击查看每一页的排序是否正确)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>7)双击或单击某列信息,是否会报错</span></p> <p style="text-align:left;"><span style="font-family:'宋体';font-size:12pt;"><br></span><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">八、返回键检查</span></span></p> <p><span style="font-family:'Times New Roman';font-size:12pt;"> </span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、一条已经成功提交的记录,返回后再提交,是否做了处理</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>2、检查多次使用返回键的情况,在有返回键的地方,返回到原来的页面多次,查看是否会出错</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="font-family:'宋体';font-size:12pt;"><br></span><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">九、回车键检查</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、在输入结果后,直接按回车键,看系统如何处理,是否会报错</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';"> </span></span></p> <p style="text-align:left;"><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">十、刷新键检查</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、在Web系统中,使用刷新键,看系统如何处理,是否会报错</span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="color:rgb(62,62,62);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:12pt;font-style:normal;font-weight:normal;"> </span></p> <p style="text-align:left;"><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">十一、直接</span>URL链接检查</span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、在Web系统中,在地址栏直接输入各个功能页面的URL地址,看系统如何处理,是否能够直接链接查看(匿名查看),是否有权限控制,是否直接执行,并返回相应结果页;</span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="color:rgb(62,62,62);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:12pt;font-style:normal;font-weight:normal;"> </span></p> <p style="text-align:left;"><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">十二、界面和易用性测试</span></span></p> <p><span style="font-family:'Times New Roman';font-size:12pt;"> </span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、风格、样式、颜色是否协调</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>2、界面布局是否整齐、协调(保证全部显示出来的,尽量不要使用滚动条</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>3、界面操作、标题描述是否恰当(描述有歧义、注意是否有错别字)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>4、操作是否符合人们的常规习惯(有没有把相似的功能的控件放在一起,方便操作)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>5、提示界面是否符合规范(不应该显示英文的cancel、ok,应该显示中文的确定等)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>6、界面中各个控件是否对齐</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>7、日期控件是否可编辑</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>8、日期控件的长度是否合理,以修改时可以把时间全部显示出来为准</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>9、查询结果列表列宽是否合理、标签描述是否合理</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>10、查询结果列表太宽没有横向滚动提示</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>11、对于信息比较长的文本,文本框有没有提供自动竖直滚动条</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>12、数据录入控件是否方便</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>13、有没有支持Tab键,键的顺序要有条理,不乱跳</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>14、有没有提供相关的热键</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>15、控件的提示语描述是否正确</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>16、模块调用是否统一,相同的模块是否调用同一个界面</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>17、用滚动条移动页面时,页面的控件是否显示正常</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>18、日期的正确格式应该是XXXX-XX-XX或XXXX-XX-XX XX:XX:XX</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>19、页面是否有多余按钮或标签</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>20、窗口标题或图标是否与菜单栏的统一</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>21、窗口的最大化、最小化是否能正确切换</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>22、对于正常的功能,用户可以不必阅读用户手册就能使用</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>23、执行风险操作时,有确认、删除等提示吗</span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;">24、操作顺序是否合理</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>25、正确性检查:检查页面上的form, button, table, header, footer,提示信息,还有其他文字拼写,句子的语法等是否正确。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>26、系统应该在用户执行错误的操作之前提出警告,提示信息.</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>27、页面分辨率检查,在各种分辨率浏览系统检查系统界面友好性。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>28、合理性检查:做delete, update, add, cancel, back等操作后,查看信息回到的页面是否合理。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>29、检查本地化是否通过:英文版不应该有中文信息,英文翻译准确,专业。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';"> </span></span><strong><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:bold;"><span style="font-family:'宋体';"> </span></span></strong></p> <p style="text-align:left;"><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">十三、兼容性测试</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  兼容性测试不只是指界面在不同操作系统或浏览器下的兼容,有些功能方面的测试,也要考虑到兼容性,</span></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  包括操作系统兼容和应用软件兼容,可能还包括硬件兼容</span></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  比如涉及到</span>ajax、jquery、javascript等技术的,都要考虑到不同浏览器下的兼容性问题。</span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="color:rgb(62,62,62);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:12pt;font-style:normal;font-weight:normal;"> </span></p> <p style="text-align:left;"><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">十四、链接测试</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  主要是保证链接的可用性和正确性,它也是网站测试中比较重要的一个方面。</span></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  可以使用特定的工具如</span>XENU来进行链接测试。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1导航测试</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  导航描述了用户在一个页面内操作的方式,在不同的用户接口控制之间,例如按钮、对话框、列表和窗口等;或在不同的连接页面之间。通过考虑下列问题,可以决定一个</span>Web应用系统是否易于导航:导航是否直观?Web系统的主要部分是否可通过主页存取?Web系统是否需要站点地图、搜索引擎或其他的导航帮助?</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  在一个页面上放太多的信息往往起到与预期相反的效果。</span>Web应用系统的用户趋向于目的驱动,很快地扫描一个Web应用系统,看是否有满足自己需要的信息,如果没有,就会很快地离开。很少有用户愿意花时间去熟悉Web应用系统的结构,因此,Web应用系统导航帮助要尽可能地准确。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  导航的另一个重要方面是</span>Web应用系统的页面结构、导航、菜单、连接的风格是否一致。确保用户凭直觉就知道Web应用系统里面是否还有内容,内容在什么地方。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>Web应用系统的层次一旦决定,就要着手测试用户导航功能,让最终用户参与这种测试,效果将更加明显。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>2图形测试</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  在</span>Web应用系统中,适当的图片和动画既能起到广告宣传的作用,又能起到美化页面的功能。一个Web应用系统的图形可以包括图片、动画、边框、颜色、字体、背景、按钮等。图形测试的内容有:</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>1)要确保图形有明确的用途,图片或动画不要胡乱地堆在一起,以免浪费传输时间。Web应用系统的图片尺寸要尽量地小,并且要能清楚地说明某件事情,一般都链接到某个具体的页面。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>2)验证所有页面字体的风格是否一致。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>3)背景颜色应该与字体颜色和前景颜色相搭配。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>4)图片的大小和质量也是一个很重要的因素,一般采用JPG或GIF压缩,最好能使图片的大小减小到30k以下</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>5)最后,需要验证的是文字回绕是否正确。如果说明文字指向右边的图片,应该确保该图片出现在右边。不要因为使用图片而使窗口和段落排列古怪或者出现孤行。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  通常来说,使用少许或尽量不使用背景是个不错的选择。如果您想用背景,那么最好使用单色的,和导航条一起放在页面的左边。另外,图案和图片可能会转移用户的注意力。</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="color:rgb(62,62,62);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:12pt;font-style:normal;font-weight:normal;"> </span></p> <p style="text-align:left;"><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">十五、业务流程测试(主要功能测试)</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  业务流程,一般会涉及到多个模块的数据,所以在对业务流程测试时,首先要保证单个模块功能的正确性,其次就要对各个模块间传递的数据进行测试,这往往是容易出现问题的地方,测试时一定要设计不同的数据进行测试。</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="color:rgb(62,62,62);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:12pt;font-style:normal;font-weight:normal;"> </span></p> <p style="text-align:left;"><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">十六、安全性测试</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="color:rgb(62,62,62);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:12pt;font-style:normal;font-weight:normal;"> </span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>1)SQL注入(比如登陆页面)</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>2)XSS跨网站脚本攻击:程序或数据库没有对一些特殊字符进行过滤或处理,导致用户所输入的一些破坏性的脚本语句能够直接写进数据库中,浏览器会直接执行这些脚本语句,破坏网站的正常显示,或网站用户的信息被盗,构造脚本语句时,要保证脚本的完整性。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>document.write("abc")</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span><script>alter("abc")</script></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>3)URL地址后面随便输入一些符号,并尽量是动态参数靠后</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>4)验证码更新问题</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>5)现在的Web应用系统基本采用先注册,后登陆的方式。因此,必须测试有效和无效的用户名和密码,要注意到是否大小写敏感,可以试多少次的限制,是否可以不登陆而直接浏览某个页面等。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>6)Web应用系统是否有超时的限制,也就是说,用户登陆后在一定时间内(例如15分钟)没有点击任何页面,是否需要重新登陆才能正常使用。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>7)为了保证Web应用系统的安全性,日志文件是至关重要的。需要测试相关信息是否写进了日志文件、是否可追踪。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>8)当使用了安全套接字时,还要测试加密是否正确,检查信息的完整性。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  (</span>9)服务器端的脚本常常构成安全漏洞,这些漏洞又常常被黑客利用。所以,还要测试没有经过授权,就不能在服务器端放置和编辑脚本的问题。</span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="color:rgb(62,62,62);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:12pt;font-style:normal;font-weight:normal;"> </span><span style="background:rgb(254,255,255);color:rgb(0,0,255);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">十七、性能测试</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1连接速度测试</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  用户连接到</span>Web应用系统的速度根据上网方式的变化而变化,他们或许是电话拨号,或是宽带上网。当下载一个程序时,用户可以等较长的时间,但如果仅仅访问一个页面就不会这样。如果Web系统响应时间太长(例如超过5秒钟),用户就会因没有耐心等待而离开。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  另外,有些页面有超时的限制,如果响应速度太慢,用户可能还没来得及浏览内容,就需要重新登陆了。而且,连接速度太慢,还可能引起数据丢失,使用户得不到真实的页面。</span></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>2负载测试</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  负载测试是为了测量</span>Web系统在某一负载级别上的性能,以保证Web系统在需求范围内能正常工作。负载级别可以是某个时刻同时访问Web系统的用户数量,也可以是在线数据处理的数量。例如:Web应用系统能允许多少个用户同时在线?如果超过了这个数量,会出现什么现象?Web应用系统能否处理大量用户对同一个页面的请求?</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>3压力测试</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  负载测试应该安排在</span>Web系统发布以后,在实际的网络环境中进行测试。因为一个企业内部员工,特别是项目组人员总是有限的,而一个Web系统能同时处理的请求数量将远远超出这个限度,所以,只有放在Internet上,接受负载测试,其结果才是正确可信的。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  进行压力测试是指实际破坏一个</span>Web应用系统,测试系统的反映。压力测试是测试系统的限制和故障恢复能力,也就是测试Web应用系统会不会崩溃,在什么情况下会崩溃。黑客常常提供错误的数据负载,直到Web应用系统崩溃,接着当系统重新启动时获得存取权。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  压力测试的区域包括表单、登陆和其他信息传输页面等。</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">备注:</span></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、负载/压力测试应该关注什么</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  测试需要验证系统能否在同一时间响应大量的用户,在用户传送大量数据的时候能否响应,系统能否长时间运行。可访问性对用户来说是极其重要的。如果用户得到</span>“系统忙”的信息,他们可能放弃,并转向竞争对手。系统检测不仅要使用户能够正常访问站点,在很多情况下,可能会有黑客试图通过发送大量数据包来攻击服务器。出于安全的原因,测试人员应该知道当系统过载时,需要采取哪些措施,而不是简单地提升系统性能。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1)瞬间访问高峰</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  如果您的站点用于公布彩票的抽奖结果,最好使系统在中奖号码公布后的一段时间内能够响应上百万的请求。负载测试工具能够模拟</span>X个用户同时访问测试站点。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>2)每个用户传送大量数据</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  网上书店的多数用户可能只订购</span>1-5书,但是大学书店可能会订购5000本有关心理学介绍的课本?或者一个祖母为她的50个儿孙购买圣诞礼物(当然每个孩子都有自己的邮件地址)系统能处理单个用户的大量数据吗?</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>3)长时间的使用</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  如果站点用于处理鲜花订单,那么至少希望它在母亲节前的一周内能持续运行。如果站点提供基于</span>web的email服务,那么点最好能持续运行几个月,甚至几年。可能需要使用自动测试工具来完成这种类型的测试,因为很难通过手工完成这些测试。你可以想象组织100个人同时点击某个站点。但是同时组织100000个人呢。通常,测试工具在第二次使用的时候,它创造的效益,就足以支付成本。而且,测试工具安装完成之后,再次使用的时候,只要点击几下。</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  采取措施:采用性能测试工具</span>WAS、ACT,LR等协助进行测试</span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="color:rgb(62,62,62);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:12pt;font-style:normal;font-weight:normal;"> </span></p> <p style="text-align:left;"><span></span><span style="background:rgb(254,255,255);color:rgb(89,89,89);font-family:'宋体';font-size:12pt;"><span style="font-family:'宋体';">十八、测试中应该注意的其他情况</span></span></p> <p style="background:rgb(255,255,255);line-height:19.2pt;text-indent:0pt;"> <span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>1、在测试时,与网络有关的步骤或者模块必须考虑到断网的情况</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>2、每个页面都有相应的Title,不能为空,或者显示“无标题页”</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>3、在测试的时候要考虑到页面出现滚动条时,滚动条上下滚动时,页面是否正常</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>4、URL不区分大小写,大小写不敏感</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>5、、对于电子商务网站,当用户并发购买数量大于库存的数量时,系统如何处理</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>6、测试数据避免单纯输入“123”、“abc“之类的,让测试数据尽量接近实际</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>7、进行测试时,尽量不要用超级管理员进行测试,用新建的用户进行测试。测试人员尽量不要使用同一个用户进行测试</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>8、提示信息:提示信息是否完整、正确、详细</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>9、帮助信息:是否提供帮助信息,帮助信息的表现形式(页面文字、提示信息、帮助文件),帮助信息是否正确、详细</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>10、可扩展性:是否由升级的余地,是否保留了接口</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>11、稳定性:运行所需的软硬件配置,占用资源情况,出现问题时的容错性,对数据的保护</span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'宋体';font-size:10.5pt;font-style:normal;font-weight:normal;"><br></span><span style="background:rgb(255,255,255);color:rgb(51,51,51);text-transform:none;letter-spacing:0pt;font-family:'微软雅黑';font-size:10.5pt;font-style:normal;font-weight:normal;"><span style="font-family:'微软雅黑';">  </span>12、运行速度:运行的快慢,带宽占用情况。</span></p> <p style="text-align:left;"><span style="font-family:'Times New Roman';font-size:10.5pt;"> </span></p> </div> </div> </div> </div> </div> <!--PC和WAP自适应版--> <div id="SOHUCS" sid="1275724421083971584"></div> <script type="text/javascript" src="/views/front/js/chanyan.js"></script> <!-- 文章页-底部 动态广告位 --> <div class="youdao-fixed-ad" id="detail_ad_bottom"></div> </div> <div class="col-md-3"> <div class="row" id="ad"> <!-- 文章页-右侧1 动态广告位 --> <div id="right-1" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad"> <div class="youdao-fixed-ad" id="detail_ad_1"> </div> </div> <!-- 文章页-右侧2 动态广告位 --> <div id="right-2" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad"> <div class="youdao-fixed-ad" id="detail_ad_2"></div> </div> <!-- 文章页-右侧3 动态广告位 --> <div id="right-3" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad"> <div class="youdao-fixed-ad" id="detail_ad_3"></div> </div> </div> </div> </div> </div> </div> <div class="container"> <h4 class="pt20 mb15 mt0 border-top">你可能感兴趣的:(web测试方法总结)</h4> <div id="paradigm-article-related"> <div class="recommend-post mb30"> <ul class="widget-links"> <li><a href="/article/1834338430004326400.htm" title="计算机视觉中的数据增强方法总结" target="_blank">计算机视觉中的数据增强方法总结</a> <span class="text-muted">CV技术指南(公众号)</span> <a class="tag" taget="_blank" href="/search/CV%E6%8A%80%E6%9C%AF%E6%80%BB%E7%BB%93/1.htm">CV技术总结</a><a class="tag" taget="_blank" href="/search/%E8%AE%A1%E7%AE%97%E6%9C%BA%E8%A7%86%E8%A7%89/1.htm">计算机视觉</a><a class="tag" taget="_blank" href="/search/%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0/1.htm">深度学习</a><a class="tag" taget="_blank" href="/search/%E5%8D%B7%E7%A7%AF%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C/1.htm">卷积神经网络</a> <div>前言:在计算机视觉方向,数据增强的本质是人为地引入人视觉上的先验知识,可以很好地提升模型的性能,目前基本成为模型的标配。最近几年逐渐出了很多新的数据增强方法,在本文将对数据增强做一个总结。本文介绍了数据增强的作用,数据增强的分类,数据增强的常用方法,一些特殊的方法,如Cutout,RandomErasing,Mixup,Hide-and-Seek,CutMix,GridMask,FenceMask</div> </li> <li><a href="/article/1834225286300921856.htm" title="清单革命" target="_blank">清单革命</a> <span class="text-muted">中号裁判_乐读1z1b</span> <div>这本书应该是读完没有具体感受,只能方法总结的一类,需要实际操作不断积累的一种方法。本书围绕“清单”分三个部分讲述。1,任命常犯的错有哪些?就根源来讲,犯错来自于两个方面,一个是无知,一个是无能。无知代表没有相关知识而犯的错误。现在社会分工越来越细化,专业知识,及知识传递普及获取方式都大大提高,可以预见,无知类的错误会越来越少。无能的错误,来自于人们无法把控的范畴,健忘,焦虑,环境影响,都会造成无能</div> </li> <li><a href="/article/1833445106376601600.htm" title="掌财社:在html5中使用video进行全屏播放与自动播放的代码方法总结!" target="_blank">掌财社:在html5中使用video进行全屏播放与自动播放的代码方法总结!</a> <span class="text-muted">weixin_45378258</span> <a class="tag" taget="_blank" href="/search/HTML/1.htm">HTML</a> <div>今天由于在之前小编在项目中遇到的有关于:“在html5中使用video进行全屏播放与自动播放的代码方法总结!”这方面的内容,所以今天就来和大家分享有关于这方面的相关内容!近期开始开发公司新版官网,首页顶部(header)是一个全屏播放的小视频,现简单总结如下:页面代码:其中php简单判断了一下是否是移动设备,移动设备不展示视频(如果移动端展示的话,需要解决iOS上无法自动播放的问题):ps:如果H</div> </li> <li><a href="/article/1832909666825367552.htm" title="SystemTap 工作原理" target="_blank">SystemTap 工作原理</a> <span class="text-muted">weixin_30275415</span> <div>《systemtap原理及使用》https://www.cnblogs.com/youngerchina/p/5624588.html这篇帖子前边系统介绍了systemtap的工作原理,摘取几个图。《使用Kprobes调试内核》https://www.ibm.com/developerworks/cn/linux/l-kprobes.html这篇帖子介绍了用kprobes调试内核的方法总结:kpr</div> </li> <li><a href="/article/1832259660049117184.htm" title="如何快速下载huggingface模型——全方法总结" target="_blank">如何快速下载huggingface模型——全方法总结</a> <span class="text-muted">u013250861</span> <a class="tag" taget="_blank" href="/search/%23/1.htm">#</a><a class="tag" taget="_blank" href="/search/elasticsearch/1.htm">elasticsearch</a><a class="tag" taget="_blank" href="/search/%E5%A4%A7%E6%95%B0%E6%8D%AE/1.htm">大数据</a><a class="tag" taget="_blank" href="/search/%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E/1.htm">搜索引擎</a> <div>原文发布于本人博客:如何快速下载huggingface大模型-padeoe的小站这是博主第一次上知乎发文章,欢迎评论、交流!Update:推荐huggingface镜像站:https://hf-mirror.com。Update:推荐官方的huggingface-cli命令行工具、以及本人开发的</div> </li> <li><a href="/article/1831497217282764800.htm" title="C# 命名空间与程序结构" target="_blank">C# 命名空间与程序结构</a> <span class="text-muted">Freesial_</span> <a class="tag" taget="_blank" href="/search/C%23%E7%AC%94%E8%AE%B0/1.htm">C#笔记</a><a class="tag" taget="_blank" href="/search/c%23/1.htm">c#</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>目录前言一、命名空间声明二、命名空间的引用:using语句三、C#的程序结构1、程序结构2、C#的Main()方法总结前言现实世界中不同对象间的相互联系和相互作用构成了各种不同的系统,不同系统间的相互联系和相互作用构成了更庞大的系统,进而构成了整个世界。在面向对象概念中把这些系统称为命名空间。命名空间提供了一种组织相关类和其它类型的方式。与文件或组件不同,命名空间是一种逻辑组合,而不是物理组合,应</div> </li> <li><a href="/article/1831345586142539776.htm" title="华为APP UI自动化测试岗面试真题,真实面试经历。" target="_blank">华为APP UI自动化测试岗面试真题,真实面试经历。</a> <span class="text-muted">自动化测试君</span> <a class="tag" taget="_blank" href="/search/%E8%87%AA%E5%8A%A8%E5%8C%96%E6%B5%8B%E8%AF%95/1.htm">自动化测试</a><a class="tag" taget="_blank" href="/search/%E6%8E%A5%E5%8F%A3%E6%B5%8B%E8%AF%95/1.htm">接口测试</a><a class="tag" taget="_blank" href="/search/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95/1.htm">软件测试</a><a class="tag" taget="_blank" href="/search/ui/1.htm">ui</a><a class="tag" taget="_blank" href="/search/%E9%9D%A2%E8%AF%95/1.htm">面试</a><a class="tag" taget="_blank" href="/search/%E8%81%8C%E5%9C%BA%E5%92%8C%E5%8F%91%E5%B1%95/1.htm">职场和发展</a><a class="tag" taget="_blank" href="/search/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/1.htm">经验分享</a><a class="tag" taget="_blank" href="/search/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95/1.htm">软件测试</a> <div>1.AndroidAPP内存不足时,如何获得内存?系统优先结束被挂起(暂停)的进程,释放内存。2.APP测试常见问题有哪些?原因有哪些?常见的有crash、ANR(应用无响应、卡死),一般由设备碎片化、网络波动大、内存泄漏、代码编写错误。3.APP自动化测试工具开放性问题,带点主观意见:对比其他熟悉的自动化工具的优缺点;自动化的简要方案(简要的同时关键内容请具体)。4.Android与web测试区</div> </li> <li><a href="/article/1831005491594096640.htm" title="深度学习基础之循环神经网络" target="_blank">深度学习基础之循环神经网络</a> <span class="text-muted">Ctrl+CV九段手</span> <a class="tag" taget="_blank" href="/search/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E5%92%8C%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0/1.htm">机器学习和深度学习</a><a class="tag" taget="_blank" href="/search/rnn/1.htm">rnn</a><a class="tag" taget="_blank" href="/search/%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0/1.htm">深度学习</a><a class="tag" taget="_blank" href="/search/%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C/1.htm">神经网络</a><a class="tag" taget="_blank" href="/search/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/1.htm">人工智能</a><a class="tag" taget="_blank" href="/search/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/1.htm">机器学习</a><a class="tag" taget="_blank" href="/search/%E5%AD%A6%E4%B9%A0/1.htm">学习</a> <div>目录基本概念与特点定义与工作原理结构组成应用领域自然语言处理语音识别时间序列分析优缺点优点缺点改进方法总结循环神经网络在自然语言处理中的最新应用和研究进展是什么?长短期记忆网络(LSTM)与门控循环单元(GRU)在解决梯度消失和爆炸问题上的具体差异和优势是什么?LSTM的结构与优势GRU的结构与优势具体差异门的数量:计算复杂度:性能对比:总结双向循环神经网络如何增强模型的上下文捕捉能力,与单向RN</div> </li> <li><a href="/article/1830273793642295296.htm" title="Python进阶————面向对象高级" target="_blank">Python进阶————面向对象高级</a> <span class="text-muted">记得多吃点</span> <a class="tag" taget="_blank" href="/search/Python%E8%BF%9B%E9%98%B6%E7%9F%A5%E8%AF%86/1.htm">Python进阶知识</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>面向对象高级前言一、继承1.1.单继承1.2.多继承1.3.方法重写1.4.子类调用父类方法1.4.1父类名.父类方法名()1.4.2super().父类方法名()1.5.多层继承二、封装2.1.私有属性2.2.私有方法三、多态3.1.多态的条件3.2.多态的定义四、面向对象的其他特性4.1.对象属性4.2.类属性4.3.类方法4.4.静态方法总结前言接下来我们学习Python中的继承、封装、多态</div> </li> <li><a href="/article/1829216008729096192.htm" title="小学英语教学方法总结" target="_blank">小学英语教学方法总结</a> <span class="text-muted">翻白眼_f5c4</span> <div>作为一名小学英语教师,如何在此刻的岗位上发光发热,如何让学生在有限的课堂时光里学好英语这门语言,教育教学中有太多的东西值得我去深思,去探索。透过八年的工作实践,我认识到,小学英语教学不就应只满足于对单词、句型的概念化解释和程序化分析,那样只会使教学资料平淡、课堂气氛沉闷,使学生不能全身心地投入到英语学习中来,使他们原有的兴趣和信心很快丧失殆尽。那么,怎样才能做好小学英语的教学工作呢?以下是我教学过</div> </li> <li><a href="/article/1829057852933763072.htm" title="利用命令模式实现一个手游后端架构的方法总结" target="_blank">利用命令模式实现一个手游后端架构的方法总结</a> <span class="text-muted">LQS2020</span> <a class="tag" taget="_blank" href="/search/%E5%91%BD%E4%BB%A4%E6%A8%A1%E5%BC%8F/1.htm">命令模式</a> <div>命令模式(CommandPattern)是一种行为设计模式,它将请求或操作封装为一个对象。这种模式允许用户使用不同的请求、队列或日志请求来参数化其他对象,并且支持可撤销的操作。在手游后端架构中,命令模式可以用于实现以下方面:请求的封装与调度:将每个操作封装为一个命令对象,这些对象可以被存储、传递和调用。解耦发送者和接收者:发送者(Invoker)通过命令对象来调用操作,而不必知道具体操作的实现细节</div> </li> <li><a href="/article/1828786421398335488.htm" title="Qt:设置Qwidget类背景方法总结" target="_blank">Qt:设置Qwidget类背景方法总结</a> <span class="text-muted">面条有点辣</span> <a class="tag" taget="_blank" href="/search/Qt/1.htm">Qt</a><a class="tag" taget="_blank" href="/search/qt/1.htm">qt</a><a class="tag" taget="_blank" href="/search/ui/1.htm">ui</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>目录1、引言2、使用样式表(setStyleSheet)3、QPalette4、paintEvent事件5、简洁方式6、总结1、引言  在实现一个页面跳转功能时,选择PushButton或QWidget可以有效当作按钮,而Qwidget可以添加label或者其它控件,自定义程度更高,因此本文给出几种给Qwidget绘制背景图片方法。2、使用样式表(setStyleSheet)ui->widget-</div> </li> <li><a href="/article/1828510485121691648.htm" title="Java笔试面试题AI答之线程(24)" target="_blank">Java笔试面试题AI答之线程(24)</a> <span class="text-muted">工程师老罗</span> <a class="tag" taget="_blank" href="/search/Java%E7%AC%94%E8%AF%95%E9%9D%A2%E8%AF%95%E9%A2%98AI%E7%AD%94/1.htm">Java笔试面试题AI答</a><a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>文章目录139.简述为什么wait(),notify()和notifyAll()必须在同步方法或者同步块中被调用?140.简述为什么Thread类的sleep()和yield()方法是静态的?1.sleep()方法2.yield()方法总结141.简述同步方法和同步块,哪个是更好的选择?同步方法同步块选择建议142.简述如何创建守护线程?143.简述什么是JavaTimer类?如何创建一个有特定时</div> </li> <li><a href="/article/1828091374252158976.htm" title="【python】错误 SyntaxError: invalid syntax的解决方法总结" target="_blank">【python】错误 SyntaxError: invalid syntax的解决方法总结</a> <span class="text-muted">二川bro</span> <a class="tag" taget="_blank" href="/search/%E4%BC%98%E5%8C%96/1.htm">优化</a><a class="tag" taget="_blank" href="/search/bug%E9%9B%86%E5%90%88/1.htm">bug集合</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>【python】错误SyntaxError:invalidsyntax的解决方法总结在Python编程中,SyntaxError:invalidsyntax是一个常见的错误,通常表示Python解释器在尝试解析代码时遇到了语法错误。这种错误可能由多种原因引起,包括拼写错误、缺少关键字、不恰当的缩进等。本文将深入探讨这个错误,包括其发生的原因、解决思路、具体解决方法、常见场景分析以及扩展与高级技巧。</div> </li> <li><a href="/article/1828032703442808832.htm" title="大模型微调方法总结:LoRA、Adapter、Prefix-tuning、P-tuning、Prompt-tuning" target="_blank">大模型微调方法总结:LoRA、Adapter、Prefix-tuning、P-tuning、Prompt-tuning</a> <span class="text-muted">百度_开发者中心</span> <a class="tag" taget="_blank" href="/search/prompt/1.htm">prompt</a><a class="tag" taget="_blank" href="/search/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/1.htm">人工智能</a><a class="tag" taget="_blank" href="/search/%E5%A4%A7%E6%A8%A1%E5%9E%8B/1.htm">大模型</a> <div>随着深度学习技术的不断发展,大型预训练模型已成为许多任务的重要工具。然而,微调(finetuning)这些大模型以适应特定任务是一个复杂且计算密集型的过程。本文将重点介绍五种不同的微调方法:LoRA、Adapter、Prefix-tuning、P-tuning和Prompt-tuning,并对它们进行总结。LoRA(LearnedRepresentationsforFinetuning)LoRA是</div> </li> <li><a href="/article/1827537977862090752.htm" title="数组循环遍历方法总结及区别" target="_blank">数组循环遍历方法总结及区别</a> <span class="text-muted">zwt_vip</span> <a class="tag" taget="_blank" href="/search/javascript/1.htm">javascript</a><a class="tag" taget="_blank" href="/search/%E5%89%8D%E7%AB%AF/1.htm">前端</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>数组循环遍历方法总结及区别前言一、for循环二、while循环三、do...while...循环四、forEach五、filter六、some七、every八、reduce,reduceRight九、map十、for...in...循环1.数字数组2.遍历对象3.数组的真相3.for...in...性能十一、for...of...循环总结前言不同的场景使用不同的遍历方法可以大大提高计算效率,优化代</div> </li> <li><a href="/article/1827532179048067072.htm" title="js循环遍历的方法总结" target="_blank">js循环遍历的方法总结</a> <span class="text-muted">healer-</span> <a class="tag" taget="_blank" href="/search/js/1.htm">js</a><a class="tag" taget="_blank" href="/search/javascript/1.htm">javascript</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a><a class="tag" taget="_blank" href="/search/ecmascript/1.htm">ecmascript</a> <div>在js中什么叫做循环遍历:循环遍历:循环遍历是指通过重复执行一段代码来遍历(访问)一个数据集合中的每个元素。可用于处理数组、对象或者其它可迭代的数据结构。可迭代:可迭代(iterable)是指一种数据结构,它可以被迭代(遍历)访问其元素。当我们说一个数据结构是可迭代的,意味着我们可以按照一定的顺序逐个访问其中的元素。总而言之,可迭代的数据结构提供了一种方式来访问它们的元素,通常是通过循环遍历的方式</div> </li> <li><a href="/article/1827529783391645696.htm" title="JavaScript 循环遍历方法总结" target="_blank">JavaScript 循环遍历方法总结</a> <span class="text-muted">不知名靓仔</span> <a class="tag" taget="_blank" href="/search/javascript/1.htm">javascript</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a><a class="tag" taget="_blank" href="/search/ecmascript/1.htm">ecmascript</a> <div>引言JavaScript提供了多种循环遍历数组、对象等数据结构的方法。掌握这些方法不仅能够帮助你写出更加高效、简洁的代码,还能让你更好地理解JavaScript的核心概念。本文将总结JavaScript中常见的循环遍历方法,并提供具体的使用示例。1.for循环1.1基本用法for循环是最常见的循环结构之一,适用于遍历已知长度的数组。示例遍历数组:javascript深色版本1constnumber</div> </li> <li><a href="/article/1827345133369126912.htm" title="Java的Math.abs()返回的一定都是非负数吗?" target="_blank">Java的Math.abs()返回的一定都是非负数吗?</a> <span class="text-muted">龙大.</span> <a class="tag" taget="_blank" href="/search/Java/1.htm">Java</a><a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E5%90%8E%E7%AB%AF/1.htm">后端</a> <div>结论在使用Math.abs()时,除非处理Integer.MIN_VALUE或Long.MIN_VALUE,返回的绝对值通常是非负的。Math.abs()方法总结功能:Math.abs()方法用于返回数字的绝对值。返回类型:适用于不同的数据类型,包括int、long、float和double。返回值特性:正数和零:对于绝大多数有效输入,Math.abs()返回的结果是非负数(即要么是正数,要么是零</div> </li> <li><a href="/article/1827087959183159296.htm" title="2021-07-21学习记录" target="_blank">2021-07-21学习记录</a> <span class="text-muted">蓝澜2021</span> <div>10:18刚才背完了单词,发现把单词分为两组学也不太难。扇贝推送了考研阅读三刷方法,刚刚看了一下,总的内容和我现在做的差不多,方法总结和词句篇的梳理,它分成一二刷,但是建议几天内做完一二刷,其实可以算作一刷吧。虽然我不太理解为什么要先方法再词句梳理。三刷全面复习。中间的复习方法可以借鉴,当天的即时记忆和一周一次的间隔记忆,我的问题就是不爱复习。那就反思一下复习问题。专业课,还没背,如果背的话应该会</div> </li> <li><a href="/article/1826977568008531968.htm" title="深度学习--常用的调整张量形状的方法总结" target="_blank">深度学习--常用的调整张量形状的方法总结</a> <span class="text-muted">Ambition_LAO</span> <a class="tag" taget="_blank" href="/search/%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0/1.htm">深度学习</a> <div>在深度学习中,调整张量的形状是一个常见且重要的操作。它使我们能够调整数据的形式以适应模型的输入要求或进行其他处理。以下是一些常用的调整张量形状的方法,以及这些方法的详细解释和应用场景。1.reshape()功能:reshape()方法用于将张量重新调整为指定的形状,而不改变数据的顺序或总的元素数量。如何使用:在TensorFlow中,可以使用tf.reshape()。在NumPy中,可以使用.re</div> </li> <li><a href="/article/1826817898245615616.htm" title="受导者的“好”也许只有她自己知道" target="_blank">受导者的“好”也许只有她自己知道</a> <span class="text-muted">心理咨询师翁慧</span> <div>OTT心理咨询是源于多年心理学专业学习和个案实践的基础上结合咨询师个人经验的方法总结,简单分为三个阶段:1.OPEN:对本体感觉保持开放2.TRUST:信任与安全感的构建3.TRUTH:让看不见的东西被看见,通过身体的一些症状真正地透过现象去看见事情的本质。图片发自App上周末闺蜜介绍了一位朱女士来做OTT心理咨询的受导体验者。朱女士33岁,儿子上幼儿园,由于自己上班加上带孩子双重压力,最近失眠和</div> </li> <li><a href="/article/1826260872385884160.htm" title="2024APP测试面试题汇总!" target="_blank">2024APP测试面试题汇总!</a> <span class="text-muted">自动化测试薰儿</span> <a class="tag" taget="_blank" href="/search/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95%E9%9D%A2%E8%AF%95/1.htm">软件测试面试</a><a class="tag" taget="_blank" href="/search/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95/1.htm">软件测试</a><a class="tag" taget="_blank" href="/search/%E9%9D%A2%E8%AF%95/1.htm">面试</a><a class="tag" taget="_blank" href="/search/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95/1.htm">软件测试</a><a class="tag" taget="_blank" href="/search/%E9%9D%A2%E8%AF%95/1.htm">面试</a><a class="tag" taget="_blank" href="/search/%E8%BD%AF%E4%BB%B6%E6%B5%8B%E8%AF%95%E9%9D%A2%E8%AF%95/1.htm">软件测试面试</a> <div>一、基础篇1、请介绍一下,APP测试流程?APP测试流程与web测试流程类似,分为如下七个阶段:1.根据需求说明书编写测试计划;2.制定测试方案,主要是测试任务、测试人员和测试时间的分配;3.测试准备,包括搭建测试环境,准备测试数据,确定测试方法;4.测试用例的设计与编写,进行用例评审及补充完善;5.执行测试时首先进行冒烟测试,然后对主功能流程进行测试,包括客户端的单个功能模块,及功能业务逻辑功能</div> </li> <li><a href="/article/1826219781808812032.htm" title="【Python】入门到放弃之第九章《字典》" target="_blank">【Python】入门到放弃之第九章《字典》</a> <span class="text-muted">花凝雨</span> <a class="tag" taget="_blank" href="/search/Python/1.htm">Python</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>上一篇:【Python】入门到放弃之第八章《元组》下一篇:【Python】入门到放弃之第十章《控制流语句》文章目录前言一、定义二、创建字典三、访问字典元素四、添加和修改元素五、删除元素六、遍历字典七、检查键是否存在八、字典的其他方法总结前言这是本系列的第九章节内容,《字典》。一、定义在Python中,字典(Dictionary)是一种内置的数据结构,用于存储键值对(key-valuepairs)。</div> </li> <li><a href="/article/1772076544416612352.htm" title="排序方法总结" target="_blank">排序方法总结</a> <span class="text-muted">wx20041102</span> <a class="tag" taget="_blank" href="/search/%E6%8E%92%E5%BA%8F%E7%AE%97%E6%B3%95/1.htm">排序算法</a><a class="tag" taget="_blank" href="/search/%E7%AE%97%E6%B3%95/1.htm">算法</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/1.htm">数据结构</a> <div>下列具体实现了希尔排序插入排序快速排序归并排序(包括递归和非递归)如若有任何不懂之处,欢迎评论,我会尽我之力解答希尔排序:总结:对gap的运用voidShellSort(int*nums,intnumsSize){inti=0;intend=0;inttemp=0;intgap=numsSize;while(gap>1){gap=gap/3+1;//+1是为了保证最后gap为1,进行插入排序,从而</div> </li> <li><a href="/article/1769805010847203328.htm" title="程序人生——Java中基本类型使用建议" target="_blank">程序人生——Java中基本类型使用建议</a> <span class="text-muted">Perley620</span> <a class="tag" taget="_blank" href="/search/%23/1.htm">#</a><a class="tag" taget="_blank" href="/search/Java%E9%9D%A2%E8%AF%95%E4%B8%8A%E5%B2%B8%E4%B8%93%E6%A0%8F/1.htm">Java面试上岸专栏</a><a class="tag" taget="_blank" href="/search/%E7%A8%8B%E5%BA%8F%E4%BA%BA%E7%94%9F/1.htm">程序人生</a><a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a> <div>目录引出Java中基本类型使用建议建议21:用偶判断,不用奇判断建议22:用整数类型处理货币建议23:不要让类型默默转换建议24:边界、边界、还是边界建议25:不要让四舍五入亏了一方建议26:提防包装类型的null值建议27:谨慎包装类型的大小比较建议28:优先使用整型池建议29:优先选择基本类型建议30:不要随便设置随机种子深入认识JVMJVM内存分配,类加载创建对象的4种方法总结垃圾回收GCJ</div> </li> <li><a href="/article/1768335514785611776.htm" title="WIFI攻击方法总结" target="_blank">WIFI攻击方法总结</a> <span class="text-muted">安全方案</span> <a class="tag" taget="_blank" href="/search/%E6%99%BA%E8%83%BD%E8%B7%AF%E7%94%B1%E5%99%A8/1.htm">智能路由器</a><a class="tag" taget="_blank" href="/search/%E7%BD%91%E7%BB%9C/1.htm">网络</a> <div>WIFI攻击是指黑客利用各种手段,对WIFI网络进行非法入侵和攻击,以获取用户的个人信息、网络权限或其他敏感数据。常见的WIFI攻击方式主要包括以下几种:伪造认证页面:黑客可以创建一个伪造的认证页面,当用户尝试连接到WIFI网络时,会被重定向到这个伪造页面。用户在这个页面上输入用户名和密码后,黑客就能获取到这些信息,进而窃取用户的上网凭证。利用忘记密码功能:许多WIFI网络在忘记密码时提供重置密码</div> </li> <li><a href="/article/1759937454623780864.htm" title="已解决ModuleNotFoundError: No module named ‘tensorflow‘异常的正确解决方法,亲测有效!!!" target="_blank">已解决ModuleNotFoundError: No module named ‘tensorflow‘异常的正确解决方法,亲测有效!!!</a> <span class="text-muted">小 明</span> <a class="tag" taget="_blank" href="/search/Bug%E8%A7%A3%E5%86%B3%E5%A4%A7%E5%85%A8/1.htm">Bug解决大全</a><a class="tag" taget="_blank" href="/search/tensorflow/1.htm">tensorflow</a><a class="tag" taget="_blank" href="/search/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/1.htm">人工智能</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a><a class="tag" taget="_blank" href="/search/Exception/1.htm">Exception</a><a class="tag" taget="_blank" href="/search/Error/1.htm">Error</a> <div>已解决ModuleNotFoundError:Nomodulenamed'tensorflow'异常的正确解决方法,亲测有效!!!文章目录问题分析报错原因解决思路解决方法总结在深度学习和机器学习项目中,TensorFlow是一个极为常用和功能强大的库。如果你在导入TensorFlow时遭遇到了ModuleNotFoundError:Nomodulenamed'tensorflow'这一错误,那么本</div> </li> <li><a href="/article/1759934520792018944.htm" title="String.format()详细用法" target="_blank">String.format()详细用法</a> <span class="text-muted">简单的绿竹</span> <a class="tag" taget="_blank" href="/search/.net%28C%23%29/1.htm">.net(C#)</a><a class="tag" taget="_blank" href="/search/%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86/1.htm">基础知识</a><a class="tag" taget="_blank" href="/search/c%23/1.htm">c#</a> <div>String类有一个强大的字符串格式化方法format()。下面是常用的方法总结。一、占位符类型Stringformatted=String.format("%s今年%d岁。","小李",25);//"小李今年25岁。"二、字符串和整数格式化//将第二个入参拼接到模板中,入参长度如果不足10左侧用空格补齐,超过10全量输出System.out.println(String.format("%10s</div> </li> <li><a href="/article/1759919490067427328.htm" title="SQL实现模糊查询的四种方法总结" target="_blank">SQL实现模糊查询的四种方法总结</a> <span class="text-muted">浮生若梦777</span> <a class="tag" taget="_blank" href="/search/sql/1.htm">sql</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a><a class="tag" taget="_blank" href="/search/mysql/1.htm">mysql</a> <div>目录一、一般模糊查询二、利用通配符查询1._表示任意的单个字符2.%表示匹配任意多个任意字符3.[]表示筛选范围4.查询包含通配符的字符串一、一般模糊查询1.单条件查询//查询所有姓名包含“张”的记录select*fromstudentwherenamelike'张'2.多条件查询//查询所有姓名包含“张”,地址包含四川的记录select*fromstudentwherenamelike'张'an</div> </li> <li><a href="/article/99.htm" title="ios内付费" target="_blank">ios内付费</a> <span class="text-muted">374016526</span> <a class="tag" taget="_blank" href="/search/ios/1.htm">ios</a><a class="tag" taget="_blank" href="/search/%E5%86%85%E4%BB%98%E8%B4%B9/1.htm">内付费</a> <div>近年来写了很多IOS的程序,内付费也用到不少,使用IOS的内付费实现起来比较麻烦,这里我写了一个简单的内付费包,希望对大家有帮助。   具体使用如下: 这里的sender其实就是调用者,这里主要是为了回调使用。 [KuroStoreApi kuroStoreProductId:@"产品ID" storeSender:self storeFinishCallBa</div> </li> <li><a href="/article/226.htm" title="20 款优秀的 Linux 终端仿真器" target="_blank">20 款优秀的 Linux 终端仿真器</a> <span class="text-muted">brotherlamp</span> <a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a><a class="tag" taget="_blank" href="/search/linux%E8%A7%86%E9%A2%91/1.htm">linux视频</a><a class="tag" taget="_blank" href="/search/linux%E8%B5%84%E6%96%99/1.htm">linux资料</a><a class="tag" taget="_blank" href="/search/linux%E8%87%AA%E5%AD%A6/1.htm">linux自学</a><a class="tag" taget="_blank" href="/search/linux%E6%95%99%E7%A8%8B/1.htm">linux教程</a> <div>  终端仿真器是一款用其它显示架构重现可视终端的计算机程序。换句话说就是终端仿真器能使哑终端看似像一台连接上了服务器的客户机。终端仿真器允许最终用户用文本用户界面和命令行来访问控制台和应用程序。(LCTT 译注:终端仿真器原意指对大型机-哑终端方式的模拟,不过在当今的 Linux 环境中,常指通过远程或本地方式连接的伪终端,俗称“终端”。) 你能从开源世界中找到大量的终端仿真器,它们</div> </li> <li><a href="/article/353.htm" title="Solr Deep Paging(solr 深分页)" target="_blank">Solr Deep Paging(solr 深分页)</a> <span class="text-muted">eksliang</span> <a class="tag" taget="_blank" href="/search/solr%E6%B7%B1%E5%88%86%E9%A1%B5/1.htm">solr深分页</a><a class="tag" taget="_blank" href="/search/solr%E5%88%86%E9%A1%B5%E6%80%A7%E8%83%BD%E9%97%AE%E9%A2%98/1.htm">solr分页性能问题</a> <div>转载请出自出处:http://eksliang.iteye.com/blog/2148370 作者:eksliang(ickes) blg:http://eksliang.iteye.com/ 概述 长期以来,我们一直有一个深分页问题。如果直接跳到很靠后的页数,查询速度会比较慢。这是因为Solr的需要为查询从开始遍历所有数据。直到Solr的4.7这个问题一直没有一个很好的解决方案。直到solr</div> </li> <li><a href="/article/480.htm" title="数据库面试题" target="_blank">数据库面试题</a> <span class="text-muted">18289753290</span> <a class="tag" taget="_blank" href="/search/%E9%9D%A2%E8%AF%95%E9%A2%98+%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">面试题 数据库</a> <div>1.union ,union all 网络搜索出的最佳答案: union和union all的区别是,union会自动压缩多个结果集合中的重复结果,而union all则将所有的结果全部显示出来,不管是不是重复。 Union:对两个结果集进行并集操作,不包括重复行,同时进行默认规则的排序; Union All:对两个结果集进行并集操作,包括重复行,不进行排序; 2.索引有哪些分类?作用是</div> </li> <li><a href="/article/607.htm" title="Android TV屏幕适配" target="_blank">Android TV屏幕适配</a> <span class="text-muted">酷的飞上天空</span> <a class="tag" taget="_blank" href="/search/android/1.htm">android</a> <div>先说下现在市面上TV分辨率的大概情况 两种分辨率为主 1.720标清,分辨率为1280x720. 屏幕尺寸以32寸为主,部分电视为42寸 2.1080p全高清,分辨率为1920x1080 屏幕尺寸以42寸为主,此分辨率电视屏幕从32寸到50寸都有   适配遇到问题,已1080p尺寸为例: 分辨率固定不变,屏幕尺寸变化较大。 如:效果图尺寸为1920x1080,如果使用d</div> </li> <li><a href="/article/734.htm" title="Timer定时器与ActionListener联合应用" target="_blank">Timer定时器与ActionListener联合应用</a> <span class="text-muted">永夜-极光</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a> <div>功能:在控制台每秒输出一次   代码: package Main; import javax.swing.Timer; import java.awt.event.*; public class T { private static int count = 0; public static void main(String[] args){ </div> </li> <li><a href="/article/861.htm" title="Ubuntu14.04系统Tab键不能自动补全问题解决" target="_blank">Ubuntu14.04系统Tab键不能自动补全问题解决</a> <span class="text-muted">随便小屋</span> <a class="tag" taget="_blank" href="/search/Ubuntu+14.04/1.htm">Ubuntu 14.04</a> <div>Unbuntu 14.4安装之后就在终端中使用Tab键不能自动补全,解决办法如下:   1、利用vi编辑器打开/etc/bash.bashrc文件(需要root权限) sudo vi /etc/bash.bashrc  接下来会提示输入密码 2、找到文件中的下列代码 #enable bash completion in interactive shells #if</div> </li> <li><a href="/article/988.htm" title="学会人际关系三招 轻松走职场" target="_blank">学会人际关系三招 轻松走职场</a> <span class="text-muted">aijuans</span> <a class="tag" taget="_blank" href="/search/%E8%81%8C%E5%9C%BA/1.htm">职场</a> <div>要想成功,仅有专业能力是不够的,处理好与老板、同事及下属的人际关系也是门大学问。如何才能在职场如鱼得水、游刃有余呢?在此,教您简单实用的三个窍门。   第一,多汇报 最近,管理学又提出了一个新名词“追随力”。它告诉我们,做下属最关键的就是要多请示汇报,让上司随时了解你的工作进度,有了新想法也要及时建议。不知不觉,你就有了“追随力”,上司会越来越了解和信任你。   第二,勤沟通 团队的力</div> </li> <li><a href="/article/1115.htm" title="《O2O:移动互联网时代的商业革命》读书笔记" target="_blank">《O2O:移动互联网时代的商业革命》读书笔记</a> <span class="text-muted">aoyouzi</span> <a class="tag" taget="_blank" href="/search/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/1.htm">读书笔记</a> <div>移动互联网的未来:碎片化内容+碎片化渠道=各式精准、互动的新型社会化营销。   O2O:Online to OffLine 线上线下活动 O2O就是在移动互联网时代,生活消费领域通过线上和线下互动的一种新型商业模式。   手机二维码本质:O2O商务行为从线下现实世界到线上虚拟世界的入口。   线上虚拟世界创造的本意是打破信息鸿沟,让不同地域、不同需求的人</div> </li> <li><a href="/article/1242.htm" title="js实现图片随鼠标滚动的效果" target="_blank">js实现图片随鼠标滚动的效果</a> <span class="text-muted">百合不是茶</span> <a class="tag" taget="_blank" href="/search/JavaScript/1.htm">JavaScript</a><a class="tag" taget="_blank" href="/search/%E6%BB%9A%E5%8A%A8%E5%B1%9E%E6%80%A7%E7%9A%84%E8%8E%B7%E5%8F%96/1.htm">滚动属性的获取</a><a class="tag" taget="_blank" href="/search/%E5%9B%BE%E7%89%87%E6%BB%9A%E5%8A%A8/1.htm">图片滚动</a><a class="tag" taget="_blank" href="/search/%E5%B1%9E%E6%80%A7%E8%8E%B7%E5%8F%96/1.htm">属性获取</a><a class="tag" taget="_blank" href="/search/%E9%A1%B5%E9%9D%A2%E5%8A%A0%E8%BD%BD/1.htm">页面加载</a> <div>1,获取样式属性值 top 与顶部的距离 left 与左边的距离 right 与右边的距离 bottom 与下边的距离 zIndex 层叠层次     例子:获取左边的宽度,当css写在body标签中时 <div id="adver" style="position:absolute;top:50px;left:1000p</div> </li> <li><a href="/article/1369.htm" title="ajax同步异步参数async" target="_blank">ajax同步异步参数async</a> <span class="text-muted">bijian1013</span> <a class="tag" taget="_blank" href="/search/jquery/1.htm">jquery</a><a class="tag" taget="_blank" href="/search/Ajax/1.htm">Ajax</a><a class="tag" taget="_blank" href="/search/async/1.htm">async</a> <div>        开发项目开发过程中,需要将ajax的返回值赋到全局变量中,然后在该页面其他地方引用,因为ajax异步的原因一直无法成功,需将async:false,使其变成同步的。         格式: $.ajax({ type: 'POST', ur</div> </li> <li><a href="/article/1496.htm" title="Webx3框架(1)" target="_blank">Webx3框架(1)</a> <span class="text-muted">Bill_chen</span> <a class="tag" taget="_blank" href="/search/eclipse/1.htm">eclipse</a><a class="tag" taget="_blank" href="/search/spring/1.htm">spring</a><a class="tag" taget="_blank" href="/search/maven/1.htm">maven</a><a class="tag" taget="_blank" href="/search/%E6%A1%86%E6%9E%B6/1.htm">框架</a><a class="tag" taget="_blank" href="/search/ibatis/1.htm">ibatis</a> <div>Webx是淘宝开发的一套Web开发框架,Webx3是其第三个升级版本;采用Eclipse的开发环境,现在支持java开发; 采用turbine原型的MVC框架,扩展了Spring容器,利用Maven进行项目的构建管理,灵活的ibatis持久层支持,总的来说,还是一套很不错的Web框架。 Webx3遵循turbine风格,velocity的模板被分为layout/screen/control三部</div> </li> <li><a href="/article/1623.htm" title="【MongoDB学习笔记五】MongoDB概述" target="_blank">【MongoDB学习笔记五】MongoDB概述</a> <span class="text-muted">bit1129</span> <a class="tag" taget="_blank" href="/search/mongodb/1.htm">mongodb</a> <div>MongoDB是面向文档的NoSQL数据库,尽量业界还对MongoDB存在一些质疑的声音,比如性能尤其是查询性能、数据一致性的支持没有想象的那么好,但是MongoDB用户群确实已经够多。MongoDB的亮点不在于它的性能,而是它处理非结构化数据的能力以及内置对分布式的支持(复制、分片达到的高可用、高可伸缩),同时它提供的近似于SQL的查询能力,也是在做NoSQL技术选型时,考虑的一个重要因素。Mo</div> </li> <li><a href="/article/1750.htm" title="spring/hibernate/struts2常见异常总结" target="_blank">spring/hibernate/struts2常见异常总结</a> <span class="text-muted">白糖_</span> <a class="tag" taget="_blank" href="/search/Hibernate/1.htm">Hibernate</a> <div> Spring ①ClassNotFoundException: org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldException 缺少aspectjweaver.jar,该jar包常用于spring aop中   ②java.lang.ClassNotFoundException: org.sprin</div> </li> <li><a href="/article/1877.htm" title="jquery easyui表单重置(reset)扩展思路" target="_blank">jquery easyui表单重置(reset)扩展思路</a> <span class="text-muted">bozch</span> <a class="tag" taget="_blank" href="/search/form/1.htm">form</a><a class="tag" taget="_blank" href="/search/jquery+easyui/1.htm">jquery easyui</a><a class="tag" taget="_blank" href="/search/reset/1.htm">reset</a> <div>在jquery easyui表单中 尚未提供表单重置的功能,这就需要自己对其进行扩展。 扩展的时候要考虑的控件有: combo,combobox,combogrid,combotree,datebox,datetimebox 需要对其添加reset方法,reset方法就是把初始化的值赋值给当前的组件,这就需要在组件的初始化时将值保存下来。 在所有的reset方法添加完毕之后,就需要对fo</div> </li> <li><a href="/article/2004.htm" title="编程之美-烙饼排序" target="_blank">编程之美-烙饼排序</a> <span class="text-muted">bylijinnan</span> <a class="tag" taget="_blank" href="/search/%E7%BC%96%E7%A8%8B%E4%B9%8B%E7%BE%8E/1.htm">编程之美</a> <div> package beautyOfCoding; import java.util.Arrays; /* *《编程之美》的思路是:搜索+剪枝。有点像是写下棋程序:当前情况下,把所有可能的下一步都做一遍;在这每一遍操作里面,计算出如果按这一步走的话,能不能赢(得出最优结果)。 *《编程之美》上代码有很多错误,且每个变量的含义令人费解。因此我按我的理解写了以下代码: */ </div> </li> <li><a href="/article/2131.htm" title="Struts1.X 源码分析之ActionForm赋值原理" target="_blank">Struts1.X 源码分析之ActionForm赋值原理</a> <span class="text-muted">chenbowen00</span> <a class="tag" taget="_blank" href="/search/struts/1.htm">struts</a> <div>struts1在处理请求参数之前,首先会根据配置文件action节点的name属性创建对应的ActionForm。如果配置了name属性,却找不到对应的ActionForm类也不会报错,只是不会处理本次请求的请求参数。 如果找到了对应的ActionForm类,则先判断是否已经存在ActionForm的实例,如果不存在则创建实例,并将其存放在对应的作用域中。作用域由配置文件action节点的s</div> </li> <li><a href="/article/2258.htm" title="[空天防御与经济]在获得充足的外部资源之前,太空投资需有限度" target="_blank">[空天防御与经济]在获得充足的外部资源之前,太空投资需有限度</a> <span class="text-muted">comsci</span> <a class="tag" taget="_blank" href="/search/%E8%B5%84%E6%BA%90/1.htm">资源</a> <div>       这里有一个常识性的问题:       地球的资源,人类的资金是有限的,而太空是无限的.....       就算全人类联合起来,要在太空中修建大型空间站,也不一定能够成功,因为资源和资金,技术有客观的限制.... &</div> </li> <li><a href="/article/2385.htm" title="ORACLE临时表—ON COMMIT PRESERVE ROWS" target="_blank">ORACLE临时表—ON COMMIT PRESERVE ROWS</a> <span class="text-muted">daizj</span> <a class="tag" taget="_blank" href="/search/oracle/1.htm">oracle</a><a class="tag" taget="_blank" href="/search/%E4%B8%B4%E6%97%B6%E8%A1%A8/1.htm">临时表</a> <div>ORACLE临时表 转 临时表:像普通表一样,有结构,但是对数据的管理上不一样,临时表存储事务或会话的中间结果集,临时表中保存的数据只对当前 会话可见,所有会话都看不到其他会话的数据,即使其他会话提交了,也看不到。临时表不存在并发行为,因为他们对于当前会话都是独立的。 创建临时表时,ORACLE只创建了表的结构(在数据字典中定义),并没有初始化内存空间,当某一会话使用临时表时,ORALCE会</div> </li> <li><a href="/article/2512.htm" title="基于Nginx XSendfile+SpringMVC进行文件下载" target="_blank">基于Nginx XSendfile+SpringMVC进行文件下载</a> <span class="text-muted">denger</span> <a class="tag" taget="_blank" href="/search/%E5%BA%94%E7%94%A8%E6%9C%8D%E5%8A%A1%E5%99%A8/1.htm">应用服务器</a><a class="tag" taget="_blank" href="/search/Web/1.htm">Web</a><a class="tag" taget="_blank" href="/search/nginx/1.htm">nginx</a><a class="tag" taget="_blank" href="/search/%E7%BD%91%E7%BB%9C%E5%BA%94%E7%94%A8/1.htm">网络应用</a><a class="tag" taget="_blank" href="/search/lighttpd/1.htm">lighttpd</a> <div>    在平常我们实现文件下载通常是通过普通 read-write方式,如下代码所示。 @RequestMapping("/courseware/{id}") public void download(@PathVariable("id") String courseID, HttpServletResp</div> </li> <li><a href="/article/2639.htm" title="scanf接受char类型的字符" target="_blank">scanf接受char类型的字符</a> <span class="text-muted">dcj3sjt126com</span> <a class="tag" taget="_blank" href="/search/c/1.htm">c</a> <div>/* 2013年3月11日22:35:54 目的:学习char只接受一个字符 */ # include <stdio.h> int main(void) { int i; char ch; scanf("%d", &i); printf("i = %d\n", i); scanf("%</div> </li> <li><a href="/article/2766.htm" title="学编程的价值" target="_blank">学编程的价值</a> <span class="text-muted">dcj3sjt126com</span> <a class="tag" taget="_blank" href="/search/%E7%BC%96%E7%A8%8B/1.htm">编程</a> <div>发一个人会编程, 想想以后可以教儿女, 是多么美好的事啊, 不管儿女将来从事什么样的职业, 教一教, 对他思维的开拓大有帮助   像这位朋友学习:   http://blog.sina.com.cn/s/articlelist_2584320772_0_1.html   VirtualGS教程 (By @林泰前): 几十年的老程序员,资深的</div> </li> <li><a href="/article/2893.htm" title="二维数组(矩阵)对角线输出" target="_blank">二维数组(矩阵)对角线输出</a> <span class="text-muted">飞天奔月</span> <a class="tag" taget="_blank" href="/search/%E4%BA%8C%E7%BB%B4%E6%95%B0%E7%BB%84/1.htm">二维数组</a> <div>今天在BBS里面看到这样的面试题目,   1,二维数组(N*N),沿对角线方向,从右上角打印到左下角如N=4: 4*4二维数组  { 1 2 3 4 } { 5 6 7 8 } { 9 10 11 12 } {13 14 15 16 } 打印顺序  4 3 8 2 7 12 1 6 11 16 5 10 15 9 14 13 要</div> </li> <li><a href="/article/3020.htm" title="Ehcache(08)——可阻塞的Cache——BlockingCache" target="_blank">Ehcache(08)——可阻塞的Cache——BlockingCache</a> <span class="text-muted">234390216</span> <a class="tag" taget="_blank" href="/search/%E5%B9%B6%E5%8F%91/1.htm">并发</a><a class="tag" taget="_blank" href="/search/ehcache/1.htm">ehcache</a><a class="tag" taget="_blank" href="/search/BlockingCache/1.htm">BlockingCache</a><a class="tag" taget="_blank" href="/search/%E9%98%BB%E5%A1%9E/1.htm">阻塞</a> <div>可阻塞的Cache—BlockingCache          在上一节我们提到了显示使用Ehcache锁的问题,其实我们还可以隐式的来使用Ehcache的锁,那就是通过BlockingCache。BlockingCache是Ehcache的一个封装类,可以让我们对Ehcache进行并发操作。其内部的锁机制是使用的net.</div> </li> <li><a href="/article/3147.htm" title="mysqldiff对数据库间进行差异比较" target="_blank">mysqldiff对数据库间进行差异比较</a> <span class="text-muted">jackyrong</span> <a class="tag" taget="_blank" href="/search/mysqld/1.htm">mysqld</a> <div>  mysqldiff该工具是官方mysql-utilities工具集的一个脚本,可以用来对比不同数据库之间的表结构,或者同个数据库间的表结构    如果在windows下,直接下载mysql-utilities安装就可以了,然后运行后,会跑到命令行下: 1) 基本用法    mysqldiff --server1=admin:12345</div> </li> <li><a href="/article/3274.htm" title="spring data jpa 方法中可用的关键字" target="_blank">spring data jpa 方法中可用的关键字</a> <span class="text-muted">lawrence.li</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/spring/1.htm">spring</a> <div>spring data jpa 支持以方法名进行查询/删除/统计。 查询的关键字为find 删除的关键字为delete/remove (>=1.7.x) 统计的关键字为count (>=1.7.x)   修改需要使用@Modifying注解 @Modifying @Query("update User u set u.firstna</div> </li> <li><a href="/article/3401.htm" title="Spring的ModelAndView类" target="_blank">Spring的ModelAndView类</a> <span class="text-muted">nicegege</span> <a class="tag" taget="_blank" href="/search/spring/1.htm">spring</a> <div>项目中controller的方法跳转的到ModelAndView类,一直很好奇spring怎么实现的? /* * Copyright 2002-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * yo</div> </li> <li><a href="/article/3528.htm" title="搭建 CentOS 6 服务器(13) - rsync、Amanda" target="_blank">搭建 CentOS 6 服务器(13) - rsync、Amanda</a> <span class="text-muted">rensanning</span> <a class="tag" taget="_blank" href="/search/centos/1.htm">centos</a> <div>(一)rsync Server端 # yum install rsync # vi /etc/xinetd.d/rsync service rsync { disable = no flags = IPv6 socket_type = stream wait </div> </li> <li><a href="/article/3655.htm" title="Learn Nodejs 02" target="_blank">Learn Nodejs 02</a> <span class="text-muted">toknowme</span> <a class="tag" taget="_blank" href="/search/nodejs/1.htm">nodejs</a> <div>(1)npm是什么 npm is the package manager for node 官方网站:https://www.npmjs.com/ npm上有很多优秀的nodejs包,来解决常见的一些问题,比如用node-mysql,就可以方便通过nodejs链接到mysql,进行数据库的操作 在开发过程往往会需要用到其他的包,使用npm就可以下载这些包来供程序调用 &nb</div> </li> <li><a href="/article/3782.htm" title="Spring MVC 拦截器" target="_blank">Spring MVC 拦截器</a> <span class="text-muted">xp9802</span> <a class="tag" taget="_blank" href="/search/spring+mvc/1.htm">spring mvc</a> <div>Controller层的拦截器继承于HandlerInterceptorAdapter HandlerInterceptorAdapter.java  1  public   abstract   class  HandlerInterceptorAdapter  implements  HandlerIntercep</div> </li> </ul> </div> </div> </div> <div> <div class="container"> <div class="indexes"> <strong>按字母分类:</strong> <a href="/tags/A/1.htm" target="_blank">A</a><a href="/tags/B/1.htm" target="_blank">B</a><a href="/tags/C/1.htm" target="_blank">C</a><a href="/tags/D/1.htm" target="_blank">D</a><a href="/tags/E/1.htm" target="_blank">E</a><a href="/tags/F/1.htm" target="_blank">F</a><a href="/tags/G/1.htm" target="_blank">G</a><a href="/tags/H/1.htm" target="_blank">H</a><a href="/tags/I/1.htm" target="_blank">I</a><a href="/tags/J/1.htm" target="_blank">J</a><a href="/tags/K/1.htm" target="_blank">K</a><a href="/tags/L/1.htm" target="_blank">L</a><a href="/tags/M/1.htm" target="_blank">M</a><a href="/tags/N/1.htm" target="_blank">N</a><a href="/tags/O/1.htm" target="_blank">O</a><a href="/tags/P/1.htm" target="_blank">P</a><a href="/tags/Q/1.htm" target="_blank">Q</a><a href="/tags/R/1.htm" target="_blank">R</a><a href="/tags/S/1.htm" target="_blank">S</a><a href="/tags/T/1.htm" target="_blank">T</a><a href="/tags/U/1.htm" target="_blank">U</a><a href="/tags/V/1.htm" target="_blank">V</a><a href="/tags/W/1.htm" target="_blank">W</a><a href="/tags/X/1.htm" target="_blank">X</a><a href="/tags/Y/1.htm" target="_blank">Y</a><a href="/tags/Z/1.htm" target="_blank">Z</a><a href="/tags/0/1.htm" target="_blank">其他</a> </div> </div> </div> <footer id="footer" class="mb30 mt30"> <div class="container"> <div class="footBglm"> <a target="_blank" href="/">首页</a> - <a target="_blank" href="/custom/about.htm">关于我们</a> - <a target="_blank" href="/search/Java/1.htm">站内搜索</a> - <a target="_blank" href="/sitemap.txt">Sitemap</a> - <a target="_blank" href="/custom/delete.htm">侵权投诉</a> </div> <div class="copyright">版权所有 IT知识库 CopyRight © 2000-2050 E-COM-NET.COM , All Rights Reserved. <!-- <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">京ICP备09083238号</a><br>--> </div> </div> </footer> <!-- 代码高亮 --> <script type="text/javascript" src="/static/syntaxhighlighter/scripts/shCore.js"></script> <script type="text/javascript" src="/static/syntaxhighlighter/scripts/shLegacy.js"></script> <script type="text/javascript" src="/static/syntaxhighlighter/scripts/shAutoloader.js"></script> <link type="text/css" rel="stylesheet" href="/static/syntaxhighlighter/styles/shCoreDefault.css"/> <script type="text/javascript" src="/static/syntaxhighlighter/src/my_start_1.js"></script> </body> </html>