DEV Community

Cover image for Cross Browser Testing Checklist Before Going Live
Deeksha Agarwal for LambdaTest

Posted on

Cross Browser Testing Checklist Before Going Live

When someone develops a website, going live it’s like a dream come true. I have also seen one of my friends so excited as he was just about to launch his website. When he finally hit the green button, some unusual trend came suddenly into his notice. After going into details, he found out that the website has a very high bounce rate on Mobile devices. Thanks to Google Analytics, he was able to figure that out.

The website was unbelievable on mobile devices, all the elements left their place and logo was not even fit to screen. That day taught him a lesson, and he passed me on the same, ‘Go through a checklist for cross browser testing before going live’.

Cross browser testing is very necessary in this digital world where everyone is browsing the website on a different platform, OS, browser, and you can’t even think of that beforehand. Formulating a perfect cross browser testing strategy might help you in that but sometimes even after that you need to be prepared for some un-welcomed bugs. However, a proper checklist might help you avoid them or figure them out before anyone else does.

Handy Requirements For Using The Cross Browser Testing Checklist

Before going on for the checklist you need to make sure that you know how to perform cross browser testing.

  1. If you are going to perform cross browser testing, you must need what all browsers and devices are you going to test on. So, formulate a proper cross browser testing strategy.

  2. When done with cross browser testing strategy, make sure you test your locally hosted website or dev site on cross browser testing tool like LambdaTest before going live. The platform has a feature called LambdaTest Tunnel that give you flexibility to connect your locally hosted websites or web apps to test on cloud for cross browser testing using SSH tunnel feature. Cross browser compatibility and cross browser accessibility effects your website’s SEO as well therefore it’s always important to get thoroughly tested and perfectly compatible site indexed on search engines.

  3. Keep mobile devices handy, or you can also set up emulators or simulators. If you want avoid that too, use a platform that can provide you all the devices handy. LambdaTest also provides you a wide range of iOS and Android mobile devices to test upon.

Once done with the prerequisites, the immediate step is to go through the checklist.

The Ultimate Checklist For Cross Browser Tests Before Going Live

The checklist contains various elements that need to be tested before going live in your local environment.

Alignment of Elements in All Browsers

Make sure that the elements are in the correct place that you intend them to be in.

Verification of SSL in Various Browsers

If you have faced this error, one of the reasons can be that your website’s SSL certificate doesn’t support some of the browser versions. If your user try to access your website those browser versions, then they might not be able to access it at all. So, check your website’s SSL certificates in all browsers before going live.

Rendering of Font in Different Browsers

Who don’t love beautiful fonts on their website, however they can cause blunders if they don’t render properly. Rendering of fonts is highly affected by the browser in which your site is being browsed. So, you need to make sure that your fonts render the same in every web browser.

Note: String.prototype.includes - The includes() method determines whether one string may be found within another string.

Compatibility of Media Elements with Diverse Browsers

Videos are the most loved form of media nowadays. Web designers and developers have been taking advantage of the fact and you can easily find either a demo video or some tutorial video running on the homepage of a website. But browser compatibility can cause you trouble if you some use unsupported media elements and that’s not restricted just to videos, but to images as well. So before going live make sure that you use those elements that are supported in all browsers or you have a fallback for unsupported elements so that your users don’t face this!

Understand Multimedia compatibility with Different Browsers in detail in our blog.

Note - Arrow functions - Manage function and class scopes with the arrow => function syntax and lexical this binding.

Are Your APIs Connected in All Browsers?

API calls are also dependent upon browsers. Some browsers acknowledges API requests while others might avoid this or throw you an error. Before going live, always be sure that the APIs that you’re using are connected in every browser. Because there are some browsers like Opera Mini that don’t support APIs like Websocket.

Also some API call methods like getUserMedia/Stream will throw you an error on Opera Mini, iOS Safari 10.3, IE 11. So, you need to be sure that your APIs are browser compatible before going live else when you are on the public server your users might face unconnected to the worlds.

Note - Async functions - Async functions make it possible to write asynchronous code that reads like synchronous code.

Make Sure You Validate Your CSS And HTML

Tags left open can be nightmares for developers and horrifying for the users if they see the code live on screen. So, it’s mandatory to make sure that the code is clean and properly validated. W3schools have a soft corner for the same. You can easily validate your HTML,JS, and CSS before going live on tools like W3C Markup validation service, Free Formatter or JS Formatter, W3C CSS Validation Service — W3 Jigsaw or CSS Validation Service.

Browser Compatibility issues can be found to a greater extent using these tools and you can further proceed with solving them.

After checking out all the major compatibility issues, you need to perform a round of cross browser testing in general taking of minor but important factors like:

  • Alignment of elements: Are all the elements aligned the way you want them to.

  • Pop Ups: Check if the pop ups are being displayed properly and are opening in all browsers.

  • Alignment of checkboxes: Checkboxes can cause problems in many browsers. Make sure that your checkboxes are aligned and in proper working condition.

  • Alignment and functioning of Buttons: Buttons hold a major part when it comes to CTAs or any other action so you need to be sure that they are aligned and properly working across diverse browsers.

  • URLs redirection from buttons: Check the links to which the buttons are redirecting.

  • Drop down Menus: Verify that the drop downs work as expected across all browsers.

  • Forms and Form APIs: Make sure that the forms take in data and the data is transferred to the collecting API endpoint intact.

  • Grids/Tables: Check the alignment and location of tables and grids if any across every browser.

  • Sessions and cookies: If your website uses cookies, verify that the prompt is there and it works accordingly.

  • Dates: Test if the date formats as decided in every browser.

  • Zoom in and Zoom out functionality: Check if the zoom in and zoom out functionality works properly and doesn’t break the UI when in action.

  • Appearance of scroll: Check if the scroll is present on both horizontal and vertical bars and is functional.

  • Flash: Make sure that Flash supported videos, animations, RIAs, and applications work cross browser.

  • HTML animations: Verify if your animations load across all browsers.

  • Mouse hovering: Check if the mouse adjusts to the button, text box, link, and white space accordingly.

  • Image alignment: Make sure that all the images are aligned and in place across different browsers.

  • Alt tags: Alt-tags are again important and we need to be sure that they are in place.

And everything else that you can think of in every possible browser, OS, and device combination.

As we can see here, there are various things to be tested in a local environment across thousands of combinations for making sure it doesn’t hinder the experience of the users once the website is made live. So, we need to make sure that we test on all possible combinations to avoid further surprises. Since, many of the following tests are repetitive and time consuming, so we can make use of an online Selenium grid for automating cross browser tests. With such automation, you can avoid repetitive and time consuming tasks and automate them using a simple script.

LambdaTest also provides you an online selenium grid on which you can automate your tests on both public and local servers and test on LambdaTest cloud grid of more than 3000+ devices, browsers, browser versions, and resolution combinations. Hence, you need to make sure that you find the best cross browser testing tool and then you can perform tests on your checklist, some manually while others using automation.

Once you’re done with testing this cross browser testing checklist, you’re all set to go live and hit the green button. I hope you might not face the situation like my friend because you’re smart enough not to repeat the same mistake.

Let us know if I missed something that should be included in the checklist in the comments section below! Till then, Happy Testing and all the best for the launch!

Top comments (1)

Collapse
 
svgatorapp profile image
SVGator

Great post!