Cross-Browser Testing in Browserbite
Cross-browser compatibility testing aims at verifying that a web page is rendered as intended by its developers across multiple browsers and platforms. Browserbite is a tool for cross-browser testing based on comparison of screenshots with the aim of identifying differences that a user may perceive as incompatibilities. Browserbite is based on segmentation and image comparison techniques adapted from the field of computer vision. The key idea is to first extract web page regions via segmentation and then to match and compare these regions pairwise based on geometry and pixel density distribution. Additional accuracy is achieved by post-processing the output of the region comparison step via supervised machine learning techniques. In this way, compatibility checking is performed based purely on screenshots rather than relying on the Document Object Model (DOM), an alternative that often leads to missed incompatibilities. Detected incompatibilities in Browserbite are overlaid on top of screenshots in order to assist users during cross-browser testing.
KeywordsCross-browser compatibility testing image processing
Unable to display preview. Download preview PDF.
- 1.Choudhary, S.R., Versee, H., Orso, A.: WEBDIFF: Automated identification of cross-browser issues in web applications. In: 2010 IEEE International Conference on Software Maintenance (ICSM), pp. 1–10 (2010)Google Scholar
- 2.Choudhary, S.R., Prasad, M.R., Orso, A.: CrossCheck: Combining Crawling and Differencing to Better Detect Cross-browser Incompatibilities in Web Applications. In: 2012 IEEE Fifth International Conference on Software Testing, Verification and Validation (ICST), pp. 171–180 (2012)Google Scholar
- 3.Mesbah, A., Prasad, M.R.: Automated cross-browser compatibility testing. In: Proceedings of the 33rd International Conference on Software Engineering, pp. 561–570 (2011)Google Scholar
- 4.Kaljuve, M.: Cross-Browser Document Capture System. Master’s Thesis, University of Tartu (June 2013), http://tinyurl.com/nlze7ub
- 5.Shapiro, L.G., Stockman, G.C.: Computer Vision. Prentice Hall (2001)Google Scholar
- 6.Semenenko, N., Dumas, M., Saar, T.: Browserbite: Accurate Cross-Browser Testing via Machine Learning Over Image Features. In: Proceedings of the 28th International Conference on Software Maintenance (ICSM), pp. 528–531. IEEE Computer Society (2014)Google Scholar