How to Test Websites for Mobile Devices

Developing for the mobile web is a mixed bag and with new phone technologies coming out frequently, it’s hard to stay ahead of the game.  Unless you have an eclectic group of cell phones lying around, it’s hard to test your site against their browsers.

This is where emulators come into play.

By installing a few pieces of  software, we can quickly refine a mobile style sheet and minimize the damage that different mobile browsers do to our sites.  By the way, all of this stuff is free.

Windows Mobile

What you will need:

Testing for Windows Mobile:

  1. Open Device Emulator Manager
  2. Open an emulator image (e.g. WM 6.5 Professional WQVGA)
  3. Once the device has completely booted up, go to the Device Emulator Manager and you should see an entry under Others (you may have to hit Refresh in order to see the device).
  4. Right-click on the entry and select Cradle.
  5. ActiveSync should pop up.  Click Cancel.
  6. Use the Windows Mobile Internet Explorer to browse to your website and start testing!

Blackberry

What you will need:

Important Note:  You must install the Java JDK before the Blackberry MDS

Testing for Blackberry:

  1. Run MDS.  Wait until you see “Task- pending push messages” before moving on.
  2. Open a device simulator you downloaded (e.g. 9630)
  3. Go to the Browser, type in a website and start testing!

iPhone/iPod Touch

What you will need:

Testing for iPhone/iPod Touch:

  1. Open Safari and go to Preferences (Edit->Preferences).  Under the Advanced tab, ensure that “Show Develop menu in menu bar” is checked.
  2. In the menu, click on Develop->User Agent->Mobile Safari 3.0
  3. Browse to your website and start testing!

Screenshot Comparisons

By designing, testing, and targeting for different mobile browsers, you can achieve wildly different looks.  Hopefully setting up the above testing environments will make that job just a little easier.

mobile-screenshot-comparison

Click for high resolution version

If you have any questions or problems, leave a comment.

About these ads

14 thoughts on “How to Test Websites for Mobile Devices

  1. Pingback: CSS for the Phone « WebTide

  2. Pingback: Strategic iPhone/Mobile development for key UA web sites « WebTide

  3. Pingback: links for 2010-06-15 « The Adventures of Geekgirl

  4. I cannot reproduce svg rendering bug that I’m seeing on the actual iPhone Safari. One would think that changing the user agent as described here should provide a good simulation of the mobile environment (minus the resolution) – but no such luck.

    • The user agent trick isn’t really the best way to test for iPhone Safari, but if you’re on Windows or don’t have an iPhone/iPod Touch it’s all you have and will get you close.

      Certainly, if you have an iPhone or a Mac with XCode installed and can run the emulator, that’s the best way to test.

      In either case, always rely on what the actual device is displaying vs. the computer browser.

  5. I cant seem to make windows mobile work with ur instructions. I dont have any image to load in the Emulator manager. I guess i have to make my own with my own device wich i dont have…

    Anyway, gonna go the torrent way cause im wasting time with all those 30 SDKs

    No *QVGA.dess can be found nor hard reset.exe wich seem to be needed.

    thks anyway great job :)

  6. I’m trying to test with blackberry 9000 emulator but I can’t manage to connect to Internet. My pages are requesting but never finish.

    I have installed everything as you mentioned but don’t really understand what are “Task-pending push messages”.

    What could I be doing wrong?

    Thanks in advance.

  7. Is there one place where a website could be tested on all mobile devices in one go without having to go through the above technical steps? The intent would be to type in one url and get the picture above with various cell phones.

  8. great instructions how to test your site. Nowadays more and more entrepreneurs are finding ways to profile themselves on the internet. these are nice guidelines to test some features out for them.

Comments are closed.