skip to main content
10.1109/ICSM.2010.5609723guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

WEBDIFF: Automated identification of cross-browser issues in web applications

Published: 12 September 2010 Publication History

Abstract

Cross-browser (and cross-platform) issues are prevalent in modern web based applications and range from minor cosmetic bugs to critical functional failures. In spite of the relevance of these issues, cross-browser testing of web applications is still a fairly immature field. Existing tools and techniques require a considerable manual effort to identify such issues and provide limited support to developers for fixing the underlying cause of the issues. To address these limitations, we propose a technique for automatically detecting cross-browser issues and assisting their diagnosis. Our approach is dynamic and is based on differential testing. It compares the behavior of a web application in different web browsers, identifies differences in behavior as potential issues, and reports them to the developers. Given a page to be analyzed, the comparison is performed by combining a structural analysis of the information in the page's DOM and a visual analysis of the page's appearance, obtained through screen captures. To evaluate the usefulness of our approach, we implemented our technique in a tool, called WEBDIFF, and used WEBDIFF to identify cross-browser issues in nine real web applications. The results of our evaluation are promising, in that WEBDIFF was able to automatically identify 121 issues in the applications, while generating only 21 false positives. Moreover, many of these false positives are due to limitations in the current implementation of WEBDIFF and could be eliminated with suitable engineering.

Cited By

View all

Recommendations

Reviews

Andrew Brooks

The lack of standardization in the client-side technologies of cascading style sheets (CSS), Hypertext Markup Language (HTML), and scripting languages (such as JavaScript) means that Web application developers have the almost impossible task of trying to ensure that applications display and run as intended in several browsers. End users are often forced to rely on more than one browser. WebDiff is a research tool that automates the process of detecting and reporting cross-browser differences, easing the burden of manually checking for such differences. First, the tool undertakes a structural analysis comparing the document object model (DOM) trees produced by different browsers. Second, a visual analysis is undertaken that processes the results of the structural analysis. DOM nodes that are matched across different browsers are checked for positional shifts and changes in visibility, size, and appearance. Algorithm listings and an accompanying discussion provide enough detail to allow for an independent replication of the approach. An empirical study that used WebDiff on nine randomly selected Web pages is reported. Table 3 shows that WebDiff found 121 true issues of different types and 21 false positives. WebDiff could be further engineered to reduce false positives. The authors suggest that increasing sampling will improve the detection of variable elements such as advertisements. My only criticism is that no attempt was made to gauge the severity of the 121 true issues. Would a developer act on all, some, or none of these issues__?__ Despite this criticism, I strongly recommend this paper to lobbyists for technology standardization and those interested in Web application development. Online Computing Reviews Service

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image Guide Proceedings
ICSM '10: Proceedings of the 2010 IEEE International Conference on Software Maintenance
September 2010
598 pages
ISBN:9781424486304

Publisher

IEEE Computer Society

United States

Publication History

Published: 12 September 2010

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 31 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media