Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you test your web UI to see if it renders uniformly across different browsers?

Tools like Selenium are good for testing user interactions on the web UI. However, I was curious what are people approaches for strictly testing and verifying that web pages are rendered correctly across a set of browsers?

Is this even possible?

like image 769
jon Avatar asked Sep 19 '08 06:09

jon


People also ask

How do I run a test on multiple browsers?

Create an XML which will help us in parameterizing the browser name and don't forget to mention parallel="tests" in order to execute in all the browsers simultaneously. Execute the script by performing right-click on the XML file and select 'Run As' >> 'TestNG' Suite as shown below.

Is a process to test web applications across multiple browsers?

Cross-browser testing is the practice of ensuring that a website works across various browsers and devices. Web developers should consider: Different browsers, including slightly older ones that don't support all the latest JS/CSS features.

How do you manually test cross-browser?

Manual Cross Browser Testing: To manually test a website we need to install individual browsers and Operating Systems on different machines and mobiles. Then manually we need to run the same test cases in all the decided environments. This is time-consuming and tiring for testers.


1 Answers

May I recommend browsershots where you can submit pages and have them rendered out in a variety of browsers with various things set on or off such as Flash and JavaScript. At the end of the day you will still want to install FF, IE6-8, Opera and Safari/Chrome for testing manually. Also, if you've got a friend with a Mac (or a PC if you're using a Mac) get them to test in Safari too as I've personally found differences in the way both of them render the same page.

I'd also recommend that you develop mainly in Firefox and regularly check it in IE6 as you work. IE6 is the one that will mostly screw up so if it's working in both it's more likely to be working in all.

When you find rendering weirdness try and fix it in your markup and CSS first before resorting to CSS hacks as they can lead to 'interesting' problems later or in other browsers.

like image 132
Evil Andy Avatar answered Nov 03 '22 21:11

Evil Andy