阅读下列说明,回答问题1至问题3。[说明]某测试小组对两个网站进行了系统测试。以

题库2022-08-02  41

问题 阅读下列说明,回答问题1至问题3。[说明]某测试小组对两个网站进行了系统测试。以下是连接速度的测试界面。7、[问题1]右图是该测试小组对网站制定的测试流程图,请将其补充完整。8、[问题2]Web测试包括:Cookie测试、数据库测试、连接速度测试、设计语言测试、负载测试、表单测试、压力测试、链接测试等。请将它们按功能测试和性能测试进行分类。9、[问题3]说明中的链接测试页面实现的功能是:如果10秒链接不上指定网站,则显示“链接超时”,否则显示链接时间(单位为秒)。请根据以上功能描述,补齐代码:<script>tim=1//时间初值(1)("tim++",100);//定时调用时间设定bTestFinish=0c=1var b=1var autour1=new Array ( ) autourl[1]="61.236.219.100"autourl[2]="220.181.26.132"//测试网站IP地址function butt( ){document.write("<form name=autof>")for(var i=1;i<autour1.1ength;i++){if(i==1|i==3||i==5){document.write("<input type=text class=noborder name==url"+i+"value=http://"+autourl+" size=40>→  <input type=text name=txt"+i+"size=10 class=noborder value=测试中…><br><br>")}else{document.write("<input type=text class=noborder name=url"+i+" value=http://"+autourl+" size=40>→&ubsp; <input type=text name=txt"+i+" size=10 class=noborder value=测试中…><br><br>")}}document.write("<br><div align='center'><input type=submit value=重新测试></div></form>")//初始测试页面}butt( )function auto(c){if(tim>(2) ){document.forms[O]["txt"+c).value="链接超时"}else{document.forms[0]["txt"+c].value="时间"+tim/10+"秒"}}//测试结果判断function run ( ){for(var i=1;i<autour1.1 ength;i++){document.write("<img src=http://"+autourl+"/"+Math.random( )+"width=1 height=1 onerror= (3) ("'+i+'")>");}}//运行测试run( );</script>

选项

答案

解析
转载请注明原文地址:https://www.tihaiku.com/congyezige/2422372.html

最新回复(0)