期刊文献+

基于捕获/重放的Web应用跨浏览器兼容性检测 被引量:2

Cross-Browser Issues Detection in JavaScript-Based Web Applications Based on Record/Replay
下载PDF
导出
摘要 由于浏览器实现技术的差异以及对标准支持程度的不同,Web应用的跨浏览器不兼容性(cross-browser incompatibilities,XBI)已成为Web应用开发者面临的严重问题.现有的兼容性检测工具仅考虑用户交互事件而忽略了浏览器内部事件,无法保证在不同的浏览器平台上有相同的执行,导致检测结果出现大量误报和漏报.提出了一种基于捕获/重放技术的Web应用跨浏览器兼容性检测方法,在事件捕获阶段记录Web应用在参考浏览器平台运行时产生的各种非确定性事件,并在重放阶段在测试浏览器平台中进行远程重放.通过在重放过程中采集页面信息,保证了检测结果的准确性.为避免重复检测,设计了一种增量式的检测算法提高了检测效率.实验结果表明了所提出方法的有效性. With the advent of Web 2.0application,and the increasing number of browsers and platforms on which the Web applications can be executed,XBI(cross browser incompatibilities)is becoming a serious problem for organizations to develop Web based software with good user experience.Although some techniques and tools have been proposed to identify XBI,they cannot assure the same execution when Web application is rendered in different platforms as only user interactions events are considered,which may result in generating both false positives and false negatives.To address this limitation,by leveraging existing record/replay technique,this paper develops X-CHECK,a novel cross browser incompatibilities testing approach and tool,which can faithfully reproduce a previous execution and facilitate XBI detection by directly replaying the captured event trace in different platforms.The same execution in different platforms improves the accuracy in detecting XBI.By observing DOM mutations during the replay, X-CHECK also designs an incremental cross-browser detection algorithm,which only detects mutational content of Web page.This algorithm improves the performance in detecting XBI.The empirical evaluation shows that X-CHECK is effective,efficient and improves on the state of the art,and can provide useful support to developers for diagnosis and(eventually)elimination of XBI.
出处 《计算机研究与发展》 EI CSCD 北大核心 2017年第3期623-632,共10页 Journal of Computer Research and Development
基金 国家自然科学基金项目(61472407) 国家"九七三"重点基础研究发展计划基金项目(2015CB352201) 国家"八六三"高技术研究发展计划基金项目(2013AA041301) 国家科技支撑计划基金项目(2015BAH55F02 2015BAF05B01)~~
关键词 跨浏览器兼容性 WEB应用 JAVASCRIPT 捕获/重放 测试 cross browser compatibility Web application JavaScript record/replay testing
  • 相关文献

参考文献2

二级参考文献78

  • 1单锦辉,姜瑛,孙萍.软件测试研究进展[J].北京大学学报(自然科学版),2005,41(1):134-145. 被引量:135
  • 2姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:49
  • 3毛新军,常志明,王戟,王怀民.面向Agent的软件工程:现状与挑战[J].计算机研究与发展,2006,43(10):1782-1789. 被引量:34
  • 4Lee Benjamin C,Brooks David M,de Supinski Bronis R.et al.Methods of inference and learning for performance modeling of parallel applications[C] //Proc of the 12th ACM SIGPLAN Symp on Principles and Practice of Parallel Programming.New York:ACM,2007:249-258.
  • 5Gunther Neil J.Guerrilla Capacity Planning:A Tactical Approach to Planning for Highly Scalable Applications and Services[M].Heidelberg:Springer,2007:56-62.
  • 6Huang Te-Ming,Vojislav K,Kopriva I.Kernel Based Algorithms for Mining Huge Data Sets:Supervised,Semi-supervised and Unsupervised Learning[M].Heidelberg:Springer,2006:11-57.
  • 7Bolch G,Greiner S,de Meer H,et al.Queueing Networks and Markov Chains:Modeling and Performance Evaluation with Computer Science Applications[M].New York:Wiley Interscience,2006:410-414.
  • 8Jackson J R.Jacksons Theorem[OL].[2009-01-05].http://www.ovlnet.rice.edu/~elec428/handouts/Jackson.pdf.
  • 9Joines S,Willenborg R,Hygh K.Performance Analysis for Java Web Sites[M].Reading,MA:Addison Wesley,2002:237-254.
  • 10Duboc L,Rosenblum D,Wicks T.A framework for characterization and analysis of software system scalability[C] //Proc of the 6th Joint Meeting of the European Software Engineering Conf and the ACM SIGSOFT Symp on the Foundations of Software Engineering.New York:ACM,2007:375-384.

共引文献54

同被引文献8

引证文献2

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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