计算机科学 ›› 2015, Vol. 42 ›› Issue (Z11): 444-449.

• 软件工程与数据库技术 • 上一篇    下一篇

Web应用界面跨浏览器兼容性的自动检测方法

王欢欢,吴毅坚,赵文耘   

  1. 复旦大学软件学院 上海201203 复旦大学上海市数据科学重点实验室 上海200433,复旦大学软件学院 上海201203 复旦大学上海市数据科学重点实验室 上海200433,复旦大学软件学院 上海201203 复旦大学上海市数据科学重点实验室 上海200433
  • 出版日期:2018-11-14 发布日期:2018-11-14

Automatic Detection Method of Cross-browser Web Application

WANG Huan-huan, WU Yi-jian and ZHAO Wen-yun   

  • Online:2018-11-14 Published:2018-11-14

摘要: 随着Web应用被越来越广泛地使用,其稳定性也受到开发人员及用户的重视,其中很重要的一项指标是Web应用在不同浏览器中的兼容性问题。为了保证应用在所有的浏览器中都可以正常使用,在开发阶段对浏览器兼容性隐患进行检测就显得非常重要。为此,提出了一个在开发阶段可以自动检测Web应用界面跨浏览器兼容性问题的一项新技术,它可以自动浏览Web应用的所有页面,通过对同一页面在不同浏览器里所提取出的代码结构信息和相关属性的分析,生成差异报告,从而帮助开发人员更快地找到有兼容性问题的元素。完成了该方法的具体实现,并将其应用于一个具体的开发项目中来,收集相关的数据并验证该方法的可行性。最后根据实验数据归纳了常见的Web应用界面兼容性问题。

关键词: 自动化,跨浏览器,兼容性,检测

Abstract: With the Web applications used more and more widely,the stability of these Web applications has been paid more and more attention.One of the most important issue is the compatibility of different browsers.To make sure that the application can be used in all browsers,it is very important to detect the browser compatibility in the development stage.This paper proposed a new automated technology to detect browser compatibility problems in the development stage,which can automatically browse all the pages of the Web application.After the analysis of the extracted information structure code and the related property,we got a report of cross browser compatibility problems for the developers to help them solve these questions faster.This paper implemented the method and applied it to a specific developed project to collect the relevant data and demonstrated the feasibility of the method.In the end,this paper analyzed the common Web application compatibility issues.

Key words: Automation,Cross-browser,Compatibility,Detection

[1] Dallmeier V,Burger M,Orth T,et al:WebMate:a tool for testing Web 2.0 applications[C]∥Proc.Workshop on JavaScript Tools(JSTools 2012).2012:11-15
[2] Fan Fu-xing,Huang Da-qing,Zhou Mo.Research and implementation of automated testing framework based on Web[J].Electronic design engineering,2012(20):36-38
[3] Choudhary S R,Versee H,Orso A.WEBDIFF:Automated identification of cross-browser issues in web applications[C]∥2010 IEEE International Conference on Software Maintenance(ICSM).2010:1-10
[4] Choudhary S R,Prasad M R,Orso A.CrossCheck:Combining Crawling and Differencing to Better Detect Cross-browser Incompatibilities in Web Applications[C]∥2012 IEEE Fifth International Conference on Software Testing,Verification and Validation(ICST).2012:171-180
[5] Semenenko N,Dumas M,Saar T.Browserbite:Accurate Cross-Browser Testing via Machine Learning Over Image Features[C]∥Proceedings of the 28th International Conference on Software Maintenance(ICSM).IEEE Computer Society,2014:528-531
[6] Mesbah A,Prasad M R.Automated cross-browser compatibility testing[C]∥Proceedings of the 33rd International Conference on Software Engineering.2011:561-570
[7] Bian Nai-zheng.A low coupling Web automation test framework based on Selenium [J].Computer applications and software,2014,1(8):13-16,7
[8] Zhang Fan.The implementation of WEB automation test design based on RFT software [D].Wuhan:Huazhong University of Science and Technology,2013
[9] Qing Xin.Web UI automated testing based on Selenium [D].Guangzhou:South China University of Technology,2012
[10] Gang Xiao-ming.Reasonable application of software test automation [J].Computer Applications and software,2010,7(8):172-174,4
[11] Wu Ling-lin.The research and application of software test automation based on Selenium [J].Computer and Modernization,2013,1(2):65-68
[12] Xing Wei-chao,Gao Xiao-tong.Design and implementation ofWebpage test automation framework [J].Computer Applications and Software,2012,29(9):167-170,1
[13] Kong Ying-hui.Research and implementation of network page real-time information acquisition based on Watir [J].Computer Applications and Software,2014,31(5):103-105,4
[14] Chen Xiao-yu,Huang Zhen,Liu Xuan-zhe,et al.A Chromebrowser based user capture and playback tool [J].Computer Science,2014,1(11):112-117
[15] Ye Xin-ming,Liu Liang.The design,implementation and comparison of Web performance testing replay browser [J].Computer Science,2006,3(9):58-60
[16] Ma Yong-heng,Xiong Qian-xing,Yang Jine,et al.Study on design method of W3C XML Schema mode [J].The Research and Application of Computer,2006(5)
[17] Wang Qing.Research and development of a Web automationtesting framework Watir [D].Wuhan:Wuhan University of Technology,2011
[18] Zhang Zhen.Research and implementation of ActiveX control operation support in Firefox [D].Dalian:Dalian University of Technology,2008

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] 编辑部. 新网站开通,欢迎大家订阅![J]. 计算机科学, 2018, 1(1): 1 .
[2] 雷丽晖,王静. 可能性测度下的LTL模型检测并行化研究[J]. 计算机科学, 2018, 45(4): 71 -75 .
[3] 孙启,金燕,何琨,徐凌轩. 用于求解混合车辆路径问题的混合进化算法[J]. 计算机科学, 2018, 45(4): 76 -82 .
[4] 张佳男,肖鸣宇. 带权混合支配问题的近似算法研究[J]. 计算机科学, 2018, 45(4): 83 -88 .
[5] 伍建辉,黄中祥,李武,吴健辉,彭鑫,张生. 城市道路建设时序决策的鲁棒优化[J]. 计算机科学, 2018, 45(4): 89 -93 .
[6] 史雯隽,武继刚,罗裕春. 针对移动云计算任务迁移的快速高效调度算法[J]. 计算机科学, 2018, 45(4): 94 -99 .
[7] 周燕萍,业巧林. 基于L1-范数距离的最小二乘对支持向量机[J]. 计算机科学, 2018, 45(4): 100 -105 .
[8] 刘博艺,唐湘滟,程杰仁. 基于多生长时期模板匹配的玉米螟识别方法[J]. 计算机科学, 2018, 45(4): 106 -111 .
[9] 耿海军,施新刚,王之梁,尹霞,尹少平. 基于有向无环图的互联网域内节能路由算法[J]. 计算机科学, 2018, 45(4): 112 -116 .
[10] 崔琼,李建华,王宏,南明莉. 基于节点修复的网络化指挥信息系统弹性分析模型[J]. 计算机科学, 2018, 45(4): 117 -121 .