We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

cross browser compatibility test

Medium Priority
807 Views
Last Modified: 2012-05-11
Hi All ,

I need to write a java program, that takes url as input and check it is compatible with different browser or not?

I dnt have any idea ,how I will achieve this ?? please Help me asap.
Comment
Watch Question

Commented:
The question of compatibility is the question of "consistent display", I suppose?

So, you must render the page and verify the output is the same on every browser.

Applets can gain access to the DOM (the document object model, containing all the elements). This should supply you with the informations on your HTML elements you desire. In general, all you need to do is to verify the positions are correct.
To get access, you might choose to insert your examining applet into the code by reading the HTML and putting the applet code at the end (before the </body> tag). The applet will not display anything but may opens a connection to the master Applet (or writes a file - you can supply parameters in the HTML code calling the applet).

What "correct" exactly means, depends on your problem; for example, if the page has a slightly bigger top margin on one browser doesn't matter. But if your language flags are each displayed on a separate line instead of being put top-right in a single line IS a serious problem.

If all browsers have been opened and the informations were transmitted you need to verify the results. This should be the most work by far, as you should not use exact values but somewhat unsharp values.
Remember that there are netbooks out there - web pages often rendered useless by divs put in front of it without the chance to close them as the close button is hidden der to the screen resolution! Which leads to another interesting parameter: Scrren size, and resolution, maximized display vs. normal view, JScript (enabled or not), Flash elements, input driven (php script, java-created (jetty server, tomcat,...) )  ...

Its a big project, but if you succeed it's shurely worth the work. You may even sell the result, as web developers always have the problem of cross browser compability. Currently, I have to open the page on all browsers (not only the different flavors like Firefox, Safari, Chrome but also the different versions of those browsers!) and verify the display manually. After that, I need to tweak the page and redo the process (because my changes may have side effects on other browsers/versions).

Automating thistime-consuming  process would be a real potential!

Author

Commented:
Hi Gnarf,

Thanks for ur reply. But My thing is different . I need to create a small application ,in which User wll enter their website url and I have to say them that their website is perect in for ex. IE 7 ,IE 8, but there are some Missing content or functionality on IE 5 and IE6, So your website is compatible with IE8 and IE7 but not with IE6 and IE5.  I need to do it against many browsers not only IE. And I have no idea how to achieve it.

So, I ll be very greatful if you or any1 can help me out. I am using JAva for my project.
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
James MurrellQA Product Specialist
CERTIFIED EXPERT

Commented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.