摘要
Ajax技术使Web应用能够通过异步请求从服务端获取数据,并在网页上局部刷新显示。这使得一张网页可以包含多个不同状态,状态数的激增使其关系变得更加复杂,给Web应用的建模与测试带来了更大的难度。研究基于Ajax技术的Web应用的建模与测试用例生成方法,给出一种可行的产生测试用例的技术。结合课题组自身开发的项目进行建模与测试用例的生成分析,结果表明,该技术能有效地得到所需的测试用例。
Ajax technology enables Web applications to get data from the server through an asynchronous request, and partially refresh the Web page. This allows a Web page contains multiple different states. The sharp increase of the number of states makes the Web applications more complicated and brings greater difficulty to modeling and testing of Web applications. We researched modeling and test case generation method of Web applications and gave a feasible tech- nology to generate test case. Finally, we verified the method combining with the project developed by our research group. And according to results of verification, it can generate test case effectively.
出处
《计算机科学》
CSCD
北大核心
2014年第8期219-223,244,共6页
Computer Science
基金
国家自然科学基金项目(61170044
61073050
61262010)
上海市自然科学基金(13ZR1429600)
上海高校青年教师培养资助计划(ZZSD13008)资助