Strawberry
Strawberry

Reputation: 67868

How can I check my AJAX for browser capable?

I always have to check each and every browser to see if my website would work. Is there a website where I can check it with?

Update: I don't really want just screenshots (which what browsershots do), I want to actually test the posting of my script.

Upvotes: 2

Views: 2169

Answers (7)

SeanJA
SeanJA

Reputation: 10354

If you write unit tests for your javascript, you could use testswarm http://testswarm.com

Upvotes: 1

duffymo
duffymo

Reputation: 308763

John Resig recommends checking the Yahoo graded browser support documentation.

Upvotes: 1

Andy
Andy

Reputation: 9048

BrowserShots might do what you want if you can tell by rendering a particular URL whether or not things will work as expected.

In light of your update, you could still use BrowserShots by creating a page which tests each of your scripts and renders 'pass' or 'fail' as its content depending on whether they work or not.

Failing that, Multiple IE is quite useful for running various versions of IE on one PC which can otherwise be problematic.

Upvotes: 0

tvanfosson
tvanfosson

Reputation: 532455

You want a web site to check your web site for javascript compatibility? How would you expect it to know how to exercise your interface to trigger the proper interactions? Or are you thinking of it doing some sort of static code analysis? I think you are better off coding against a framework that has solved most of the browser-dependent idiosyncrasies and using it to check for browser capabilities before you use them. jQuery, MooTools, Prototype/Scriptaculous, etc. go a long way in solving these problems for javascript.

Note that you still need to worry about rendering your site, but you already have several answers for how to go about doing that based on web sites. Personally, I just maintain IE/Safari/FF/Opera/Chrome on my workstation and do significant checking in IE/FF and basic checking in Safari/Opera/Chrome.

Upvotes: 4

Esteban Küber
Esteban Küber

Reputation: 36832

Even when there exist websites that allow you to see a static snapshot of your site in several browsers, you should really test your page on them yourself, because there can be subtle, and not so subtle, bugs and differences that are only apparent when interacting with the webpage.

You can cover yourself quite a lot by testing in

Upvotes: 1

willvv
willvv

Reputation: 8639

There are plenty of sites, just Google/Bing for browser compatibility check.

http://browsershots.org/ is a good one.

Although most of them just take a snapshot of the site, you might have to do the manual check for things like menus and dynamic content.

Upvotes: 0

Ariel Popovsky
Ariel Popovsky

Reputation: 4875

There are multiple options:

http://ipinfo.info/netrenderer/

These site will let you run multiple browsers and version without installing. You only need to install a plugin

http://spoon.net/browsers/

Upvotes: 0

Related Questions