期刊文献+

基于AJAX应用程序的爬行测试算法

Crawling testing algorithm based on AJAX Web application
下载PDF
导出
摘要 为了解决AJAX技术带来的测试新问题,针对流行的爬行算法进行了改进。通过捕获用户界面的状态以及改变状态的转换条件,从而推导出状态流程图。利用推导出的状态流程图,提出使用K最短路径算出多条最短路径作为测试集;设计合并测试路径的方法缩减测试集,减少测试集的生成,并同时保证测试覆盖率。通过结合实例,在不同位置注入故障的方法对算法进行了数据分析,分析结果表明该方法的可行性和实用性,为AJAX应用程序的测试提供了更有效的解决途径。 To solve the new problems made by AJAX technology, a popular crawling algorithm is improved. The generated state-flow is achieved by capturing the state of the user interface as well as the change of the state transition conditions. Using K shortest paths based on the generated state-flow to calculate the shortest paths as the test cases, and the merger testing path method is designed to reduce the generation of test cases, and not affect the test coverage. Finally, the feasibility and practicabi- lity of this method is validated by combining with an example and analyzing the data of algorithm through the method of fault in- jection in different position. A more effective solution for AJAX applications test is provided.
出处 《计算机工程与设计》 CSCD 北大核心 2014年第2期493-498,共6页 Computer Engineering and Design
基金 国家自然科学基金项目(61073163) 上海市科委基金项目(09220503000) 上海市引进技术的吸收与创新计划基金项目(2010CH-014)
关键词 AJAX应用程序 自动化测试 测试路径 爬行捕获算法 AJAX application automatic testing XPath crawling algorithm
  • 相关文献

参考文献10

  • 1Mesbah A,Van Deursen A. An architectural style for AJAX[A].2007.44-53.
  • 2Mesbah A,Van Deursen A,Roest D. Invariant-based automatic testing of modem Web applications[J].IEEE Transactions on Software Engineering,2012,(01):35-53.
  • 3夏冰;高军;王腾蛟.一种高效的动态脚本网站有效页面获取方法[J]软件学报,2009(增刊):176-183.
  • 4Duda C,Frey G,Kossmann D. AJAX crawl:Making AJAX applications searchable[A].2009.78-89.
  • 5Frey G. Indexing AJAX Web applications[D].Zurich:Swiss Federal Institute of Technology Zurich,2007.
  • 6Mesbah A,Van Deursen A,Bozdag E. Crawling AJAX by inferring user interface state changes[A].2008.122-134.
  • 7Mesbah A,Van Deursen A. Migrating multi-page Web applications to single-page AJAX interfaces[A].2007.181-190.
  • 8Mesbah A,Prasad M. Automated cross-browser compatibility testing[A].2011.
  • 9Mesbah A,Bozdag E,Van Deursen A. Crawling AJAX by inferring user interface state changes[A].2008.122-134.
  • 10Roest D,Mesbah A,Van Deursen A. Regression testing AJAX applications:Coping with dynamism[A].2010.128-136.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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