期刊文献+

基于状态迁移的Web应用功能测试用例生成方法 被引量:6

Test case generation method for Web applications based on state transition
下载PDF
导出
摘要 针对Web应用测试方法错误覆盖率低的问题,提出了一种基于状态迁移的Web应用功能测试用例生成方法。该方法通过构造页面状态迁移图、事件迁移表和导航迁移表对Web应用的链接关系进行表示。基于页面状态迁移图生成的页面状态迁移树生成测试路径,根据等价类划分原则,提出了一种测试用例覆盖准则,结合事件迁移表和导航迁移表中的信息记录构造测试用例。典型案例实验结果表明,该方法有效地表示了Web应用中页面间的链接关系,提高了测试用例的错误检测率。 Due to low error checking rate of Web application test, a method of test case generation for Web applications based on state transition was proposed. By constructing state transition diagram of pages, event transition table and navigation transition table, the link relationship of Web applications was shown. This approach generated test path from state transition tree of pages got from state transition diagram of pages. Based on equivalence partitioning principles, a coverage criteria was proposed, then a test case set was reported as result combined with information from event transition table and navigation transition table. The result shows that the proposed method can represent link relationship of Web applications effectively, and improve error checking rate of test case.
出处 《计算机应用》 CSCD 北大核心 2014年第6期1779-1782,1787,共5页 journal of Computer Applications
基金 国家自然科学基金资助项目(61050003) 陕西省教育厅自然科学基金资助项目(12JK0732) 西安邮电大学青年基金资助项目(ZL2013-26)
关键词 状态迁移 WEB应用 覆盖准则 测试路径 测试用例 state transition Web application coverage criteria test path test case
  • 相关文献

参考文献12

二级参考文献88

  • 1牟凯,顾明.基于UML活动图的测试用例自动生成方法研究[J].计算机应用,2006,26(4):844-846. 被引量:18
  • 2Qian Zhongsheng, Miao HuaiKou, Zeng Hongwei. A practical web testing model for web application testing[C]. Third International IEEE Conference on Signal-Image Technologies and Intemet-Based System,2007:434-441.
  • 3Jia X,Liu H,Qin L.Formal structured specification for web applications testing [C]. Chicago, USA: Midwest Software Engineering Conference,2003.
  • 4Ran L, Dyreson C,Andrews A.AutoDBT: A framework for database-driven testing of web applications[C]. WISE 2004,LNCS 3306,2004:181-192.
  • 5Johnson D J,Roselli RUsing XML as a flexible, portable test script Language [C]. Proceedings of IEEE Systems Readiness Technology Conference,2003:187-192.
  • 6YANG JI-TZAY, HUANG JIUN-LONG, WANG FENG-JIAN, et al.Constructing an object-oriented architecture for web application testing [J]. Journal of Information Science and Engineering,2002,18:59-84.
  • 7Hung Q Nguyen.Web 应用测试[M].冯学民,唐映,杨海燕,等译.北京:电子工业出版社,2003:65-72.
  • 8李秀华.Web性能自动化测试工具脚本语言WTML的研究与开发[D].内蒙古大学硕士学位论文,2005:1-65.
  • 9Stout G A.Testing a website:Best practices.A Whitepaper[EB/OL].http://www.reveregroup.com,2008-5-28.
  • 10Belinfante L Frantzen,Schallhart C.Tools for test case generation,model-based testing of reactive systems[C].Springer Verlag,2005:391-438.

共引文献45

同被引文献33

引证文献6

二级引证文献16

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部