Browser Compatibility Testing
Browser Compatibility Testing
31
International Journal of advanced studies in Computer Science and Engineering
IJASCSE, Volume 3, Issue 10, 2014
Abstract — With new version of Internet Explorer (IT) Services organizations, there are other factors as well
browser launched by Microsoft® very frequently, we that needs to be considered carefully before deciding for
tried to find out what browser compatibility issues a web switch-over, like support for application development &
site faces when being rendered on the latest version of testing, IT support and so on.
Internet Explorer. We designed a framework that helps
a software tester to quickly test the web site against Now coming back to Windows® 7, the platform is built on
top of Windows® Vista kernel and is different from Win XP
potential browser compatibility issues using manual
underlying architecture. The result is that the desktop
testing methods as well as through automated browser
applications once built for Windows® XP environment will
compatibility tools that are open-source and available in no longer be good for Windows® 7 platform. Either the
the market free-of-cost. applications will not work on Windows® 7 platform or have
major issues during migration to Windows® 7 platforms.
Another challenge that was considered during Similarly the web applications that once developed to be
framework design was to make sure that it supports rendered in IE6 browser will have rendering issues with IE11
testing of both static and dynamic pages website. The browser.
study proves that the designed framework helps quick-
finding of browser compatibility issues in a website The latest version of Internet Explorer (IE11) is
(when rendered on Internet Explorer browser) through completely different from previous versions of Internet
simplified methods. Explorer internally in terms of coding and handling of
features and is freshly designed. Hence the “Internet
Keywords- Browser Compatibility; Web Compatibility; Explorer” inheritance is no longer preserved. The impact is
Browser Compatibility manual testing methods; Browser clear; organizations will have to think in terms of hundreds
Compatibility automated testing methods of applications that needs migration to this new combination
of Windows® 7 and IE11 browser. The applications could
I. INTRODUCTION be desktop applications (thick client), Web applications (thin
client) or installers.
With the launch of Internet Explorer Version 11 in the
market by Microsoft® Corporation [1], organizations that are The goal of our work in this paper is to identify common set
willing to upgrade from their existing Internet Explorer of browser compatibility issues in different versions of
version are left with a critical decision as to whether upgrade Internet Explorer. Design browser compatibility framework
their existing operating systems to Microsoft Windows® 7 or as ready-reckoner for software testers. Finally design a
not. Since Internet Explorer Version 11 supports Microsoft browser compatibility reporting template to report web
Windows® 7 onwards [2] therefore any operating system application compatibility.
below it, will not be supported by Internet Explorer version
11. E.g. Windows XP
www.ijascse.org Page 1
Oct. 31
International Journal of advanced studies in Computer Science and Engineering
IJASCSE, Volume 3, Issue 10, 2014
Java
Script Legacy API additions, changes, and removals [4]
Some websites were designed in such-a-way that they look
for support of legacy (HTML4) features. Now the browser
Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko that support legacy features as well as modern standards
face challenge in rendering these web sites and hence
another kind of browser compatibility issue. New supported
standards could be HTML5, CSS3 etc. Now as soon as this
The following differences are observed in the string when kind of website is rendered in the browser, it will
compared to the earlier versions of Internet Explorer [4]: automatically switch to legacy features mode and end-user
will have legacy experience while navigating the website.
o The compatible ("compatible") and browser
("MSIE") tokens have been removed. IE11 in-turn added, updated & removed a number of legacy
o The "like Gecko" token has been added (for features [4]:
consistency with other browsers). o The navigator.appName property now
o The version of the browser is now reported by returns "Netscape" to reflect the HTML5
a new revision ("rv") token. standard and to match behavior of other
There have been issues (web compatibility) when a user browsers.
opens an IE11 on the supported operating system machine o The navigator.product property now returns
however gets a warning of unsupported browser. This user- "Gecko" in order to reflect the HTML5
agent string changes avoid the situation of IE11 being standard and to match behavior of other
identified as incorrect browser or previous version of browsers.
browser. The web sites that were developed keeping o The XDomainRequest object is replaced by
previous versions of internet explorer in mind may face CORS for XMLHttpRequest.
browser compatibility issue with IE11. o Supported for _proto_ has been added.
Document mode changes [4] o The dataset property has been added.
From Internet Explorer Version 8 onwards, a new feature From the above it is very clearly visible that the websites
was introduced – “Document mode”. This helps transition designed using legacy features will certainly have browser
from features supported by previous versions of Internet compatibility issues when rendered on IE11 browser.
Explorer to those specified by modern standards.There are
websites that still uses the older features implemented
www.ijascse.org Page 2
Oct. 31
International Journal of advanced studies in Computer Science and Engineering
IJASCSE, Volume 3, Issue 10, 2014
Cascading Style Sheets (CSS) Discrepancy Fig 4: IE7 Menu Vs IE8 Menu
As reported by one user, the CSS template is not the same in
different versions of Internet Explorer. It is claimed to be
working perfectly in Safari, Chrome & FireFox. Some of
the observed compatibility issues are - background missing
in IE9, gaps around background in IE7, page simply not
there in IE6 etc. [5].
Errors during Editing Articles [6]
In Internet Explorer 11 editing of articles throws errors. The
sites work fine in Google Chrome.
Internet Explorer 7 Working Internet Explorer 8 Non-Working
Menu Menu
o E.g. Microsoft TechNet Wiki - fail/corrupt
input, impossible to edit articles JavaScript issues
o Microsoft Connect - not working properly A dynamic web page of a website is generated based on the
o Microsoft Visual Studio Gallery - impossible processing of certain items and is finally rendered. A
to edit gallery entries with images JavaScript implemented on the web page updates the
o WordPress - Erratic behavior content of the page based on the user inputs. In below
figure, the web page renders an image using JavaScript.
Broken Tables & Menu items
This page throws JavaScript error – “‘null’ is null or not an
In Internet Explorer 8, Tables & Menu items sometimes object” in Internet Explorer 8 however works perfectly in
appear broken however they are rendered correctly in Internet Explorer 7.
Internet Explorer 7.
o An unordered list is implemented in a web Fig 4: JavaScript Error in IE8
page of a web site. When this web site is
rendered on Internet Explorer the list appears
broken. It renders perfectly in Internet
Explorer 7 as shown in below Fig 3.
www.ijascse.org Page 3
Oct. 31
International Journal of advanced studies in Computer Science and Engineering
IJASCSE, Volume 3, Issue 10, 2014
III. WEB COMPATIBILITY TESTING FRAMEWORK in-turn compile a list of all available pages of the given
web application. Next step is to detail out the method to
Compatibility testing of web applications starts with careful navigate to those pages. The web pages could be ‘Static
planning of testing activities and deciding upon what is web pages’ or ‘Dynamic web pages’. While it is easy to
essential Vs what is out of scope of compatibility testing. A navigate to a static page by simply entering the URL of
compatibility tester has to keep in mind that the focus of the page and documenting the URL for future
compatibility testing is to concentrate on rendering of web reference, the same approach will not work for dynamic
pages on target Internet Explorer browser. An overview of pages. One can reach dynamic pages by navigating
web (Browser) compatibility testing is depicted in the figure through a scenario and providing specific inputs to the
below. application at specific points. These business scenarios
have to be documented either in the form of use cases
Fig 5: Web (Browser) Compatibility Testing Scope & or test cases for future reference/use along with the
Overview specific inputs.
Based on the application flows, classify the application
as High / Medium / Low complexity application. This
will help deciding on the further testing techniques
(E.g. Tool based testing, Exploratory testing /
Regression testing etc.)
During the Test Execution phase, based on the
application complexity classification, a software tester
applies respective testing types as follows:
o High Complexity Application: Tool based >
Exploratory > Regression Testing
o Medium Complexity Application: Tool
based > Exploratory
o Low Complexity Application: Tool based
alone
Testing begins by navigating to web pages on target
Internet Explorer environment and verifying against
legacy environment (previous Internet Explorer). Focus
We designed a Web Compatibility testing framework that should be on page rendering in terms of misaligning of
helps software tester while testing web compatibility on an web objects – objects on header and footer, logos, menu
Internet Explorer browser (though this framework is items, contents implemented through web tables etc.
independent of any browser and can be used to do web Document issues found (as defects) and publish them in
compatibility testing on multiple browsers). Let’s try to the form of ACR (application compatibility report).
understand the framework. Based on the issues, one can classify the web
Fig 6: Web (Browser) Compatibility Testing Framework applications as Red or Amber or Green.
www.ijascse.org Page 4
Oct. 31
International Journal of advanced studies in Computer Science and Engineering
IJASCSE, Volume 3, Issue 10, 2014
check for web page operations
CITRIX AppDNA® tool [7] that write, alter, or destroy data
on the user’s computer
DELL ChangeBASE® tool [8] Verify folder creation on
Microsoft Expression Web SuperPreview® appropriate web pages (User
tool [9] folders, My Documents
folders, and folders with
IETester tool [10] 7
localization have changed
√ √ √ √ √
BrowserStack tool [11] since Windows XP.
BrowserShots tool [12] etc. Applications with hard-coded
paths may fail)
Look for IE11 upgrade error
Compatibility issues found during application testing 8 √
messages
are later tracked and managed till closure. Once these 9
Check web pages using CSS
√ √ √ √ √
issues are fixed, we say that the solution provided meets style
Invoke and close of child
expectation or in other words the web application 10 √ √ √ √ √
windows
renders perfectly in the target internet explorer browser. Check the tool tips of the
11 √ √ √ √ √
controls and help text
Check the browser close
12 √ √ √ √ √
IV. EVALUATION buttons in child windows
Resizing the browser window
The above framework was tested against a live site to 13 √ √ √ √ √
should resize the canvas
evaluate the concept and deduce that the techniques Verify for Page zoom-in and
14 √ √ √ √ √
visualized in the framework would work as per the zoom-out functionality
expectations while performing actual world software testing Verify the font size for web
15 √ √ √ √ √
pages
of web application. The results are depicted in below Fig.
Verify the flash files are
16 √ √ √ √
rendered properly
Fig 7: Web pages tracking sheet against the target browsers Verify that dynamic HTML
17 web pages are rendered √ √ √ √ √
properly
Email links should open the
18 √ √ √ √ √
mailbox
The application should handle
19 √ √ √ √ √
404/500 errors gracefully
Verify http forwarding to https
20 secure site rendered properly √ √ √ √ √
for certificate based sites
www.ijascse.org Page 5
Oct. 31
International Journal of advanced studies in Computer Science and Engineering
IJASCSE, Volume 3, Issue 10, 2014
Though the issues mentioned in the paper are not the only
compatible issues exist in browser versions, however it a
starting point for the software testers. It serves as a guideline
and gives an idea as to what to look and where to look for
the compatibility issues. Also, software testers can look for
testing on other browsers as well like FireFox, Chrome, and
Safari etc. Finally a tester can always alert the web designer
on what is the status of web application by reporting it as
RED / AMBER or GREEN. The compatibility status
reporting of a website is an indicator that RED marked web
site is indeed going to take more time and effort to be
compatibility complaint as compared to AMBER marked
web site.
References
Fig 9: Application Compatibility Report Template [1] IE11 for Windows 7 Globally Available for Consumers and
Businesses. http://blogs.msdn.com/b/ie/archive/2013/11/07/ie11-
for-windows-7-globally-available-for-consumers-and-
businesses.aspx. Nov 2013.
[5] IE Explorer CSS Discrepancy between IE6, IE7, IE8 & IE9.
http://stackoverflow.com/questions/5722676/ie-explorer-css-
discrepancy-between-ie6-ie7-ie8-ie9. Mar 2013
[6] IE11 and Microsoft sites - does not work properly. Internet
Explorer Feedback (IE) Home. Bug ID: 813374.
https://connect.microsoft.com/IE/feedback/details/813374/ie11-and-
microsoft-sites-does-not-work-properly. Jan 2014
In today’s fast changing software world, one can’t ignore [9] Microsoft - Expression Web SuperPreview.
http://www.microsoft.com/en-in/download/details.aspx?id=2020.
the innovation and new technologies. Software giants are 2014
competing against each other and in a bid to be on the top,
they keep on launching new operating systems and browser [10] IETester. http://ietester.en.softonic.com/. 2014
versions very frequently by including the latest technologies
and features in it. On the other hand, it is really tough for the [11] BrowserStack - Live, Web-Based Browser Testing.
web designers and other organizations with websites to keep http://www.browserstack.com/. 2014
up to the pace and hence their websites falls into
compatibility issues. Through this paper we tried to give [12] BrowserShots – Browser Compatibility Testing.
directions to software testers on how quickly a website can http://browsershots.org/. 2014
be compatibility tested. Real time compatibility issues can
www.ijascse.org Page 6