Thursday 24 May 2012

Cross Browser Testing


Cross-browser:
Refers to the ability for a website, web application, and HTML construct or client-side script to support all the web browsers.

Cross-browser Testing?

What I mean by cross browser testing. Cross Browser testing simply means checking your website in all the browsers while you are developing it. This means, while you are developing (coding) your website, you must check how it looks in the all available browsers.

User Agent Switcher:
For CROSS BROWSER testing, now there is need to install different browsers.
User Agent Switcher is very useful to test cross browser testing.
No need to install different browser. It’s also useful for mobile browser testing and we can test on PC.

Here are steps to use User Agent Switcher:

1) Prerequisites: you have Firefox Mozilla browser installed on your machine.

2) For Downloading user Agent Switcher please refer following link
                                          OR Please find attached file

3) After Downloading user Agent Switcher add it into Mozilla browser:
Tools > Add On > add the user Agent Switcher tools

4) Run one any (mobile) web applications & just change the user agent from TOOLS -> Default User Agent --> select user agent (any) and refresh the page.

5) If u wants to add latest user agents then go to TOOLS -> Default User Agent --> User Agent Switcher -> Option --> Click on [Import] button. 

- U can found many latest user agent related different categories like (android, apple, browsers, mobile models etc.)
- You should import xml file for user agent whom I already uploaded: Refer following link
            OR Please find attached XML file 




For Example:-

  • Open the google.com and change the Default user agent to IE 6 as follows


  • Change the user agent to ios 4.3-iphone Safari 533.17



  • Refresh the page > google.com is displayed in ios 4.3-iphone Safari 533.17 browser



  • On Opera 9.51 beta (Windows) browser:



  • On Blackberry 8330 Browser


  • On iPad 2







  • On windows Phone OS 7.0















2 comments: