Today there are many browsers used on both on desktop and mobile devices. Some users utilize the default browsers pre-installed on devices while others install 3rd party browsers such as Opera. Ensuring website compatibility with most popular browsers can sometimes be a challenge for developers. If a developer wants to ensure browser compatibility across devices, then cross browser testing is a must. Some of the aspects in testing across browsers include:
- UI testing. Different devices have different resolution that may affect the images, the font, and the position of each component. For mobile devices, both landscape mode and portrait mode should be tested along with video.
- Testing should be executed with different networks. Especially for mobile, sometimes a weak signal, inherently slow 2G network, or inconsistent signal will have different effects on different image sizes. You may find that above a certain image size has disastrous results depending on what else is going on with the app. Better to know what this threshold is sooner, than later.
- Script error. It is very common as one script can work well on one browser but not well on another browser. Especially forNullPointerException and ClassNotFoundException, developers should debug the script to cater to different browsers.
- Browser versions. New versions of browsers, sometimes using new technologies, are released very fast, so giving tips to your end users is critical. Believe it or not, some users still use WinXP. Messages such as ‘Your browser does not support HTML5, please update to IE9 or above’ or ‘Please install Adobe Flash’ is a big help for end users rather than having your application crash or not work correctly.
Especially with mobile, browser compatibility across devices is a must and the job looms larger as device proliferation continues. When developing your test plan, think carefully and don’t forget to include cross browser testing.