How to Test Mobile Web Pages and Applications

When you are building web pages and applications for mobile devices, one of the most important steps you can take is testing. Testing gives you a good idea of what your readers are going to experience when they come to your site, and by fixing the major problems ahead of time, you can avoid issues with your customers later.

Testing a page or application for mobile uses the same checklist as testing for a full-sized browser. You need to check that the page looks good before you post it, and then check it after it’s live. But one step that many designers ignore is testing on mobile devices. Even if you don’t have a separate page for mobile users, you should test your pages on mobile devices—especially tablets. Tablet devices are growing in popularity every year and it’s becoming more and more likely that some of your visitors will be on tablets. Touch screen tablets have some different design requirements, even if you expect them to use your standard full-sized site.

The more devices you can test your website on, the better, but your priorities should be:

  • iPad
  • iPhone and iPod touch
  • Android tablets
  • Android phones
  • other smartphones
  • standard cellphones

Most people browsing the web on older cellphones and less-capable smartphones will be fairly tolerant of design problems. But as the devices get more sophisticated, so will the expectations of your readers.

How to Test


There are a few steps you should follow for all your web pages to test effectively for both mobile and desktop browsers.

Options for Testing on Mobile Devices


Test on the Real Devices

The best way to test a website on a mobile device is to load it on a mobile device. In general, this means posting the page or site to a live web server and then browsing to the page on the devices to test them.

Most people, of course, don’t have access to multiple mobile devices, but there are some options:

Use an Emulator

If there is no way for you to get a real device to test on, you can use an emulator. Emulators don’t give you as good information because they can be slower than the real device, and they don’t show all the features of the devices. For instance, you access emulators with your mouse, not with a finger like on a touch screen.

There are computer desktop emulators for Android and iPhone/iPad that you can use to test your designs in.

There are also online emulators that include support for testing on mobile devices:

Online emulators can be even more limited than desktop emulators. Many of them only support taking screen shots on the devices and can’t show you how the interactive elements work (or don’t work) on the devices.

Emulators are not ideal for testing on mobile, but if they are the only option you have, they are better than not testing at all.

  • First you should validate your HTML to make sure that there are no egregious errors. The HTML doesn’t have to be 100% valid, but knowing what errors there are can help you eliminate them as the cause of any problems you discover later.
  • Then you should test your site on all the browsers you have on your computer. I recommend downloading and installing Firefox, Chrome, Safari, and Opera if you don’t already have them installed. These are available for Windows and Macintosh.
  • If you have another computer with a different operating system (such as Mac OS or Linux) you should test your site on that computer’s browsers as well. A site might look fine on Windows Internet Explorer and then completely break on Macintosh Safari.
  • Once you’re confident that the site looks okay on desktop computers, you should change the window size of one of the browsers to a smaller size. If you’re using CSS3 media queries, this may even make the design look different. You can use a plugin like Web Developer Tools to resize your browser window to different pre-set sizes to see how it might look on smaller mobile screens.
  • If you don’t have access to a different machine, you should test in an online tool like BrowserCam.
  • Then test on as many mobile devices as you can. The more different devices you test on, the better your website or application will work for your customers.
    • Buy the devices
    • Rent the devices
    • Borrow one from a friend or relative or ask them to test it and send you a screen shot and their thoughts
    • Go to a store that sells them and visit your site on the test machines
    • Use a testing company (such as uTest) to help test your site on mobile
    • Hire people with devices to test your site
    • Android—The android emulator is available in their developer’s kit.
    • iPad and iPhone/iPad—This emulator is included in the iOS developer kit, which you you have to buy from the Apple store for around five dollars (and is only for Macintosh).
    • Blackberry—There are emulators for several different Blackberry devices, they only work on Windows.
    • Windows 7 Phone—This is a part of the Visual Studio IDE.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is MathML used for?

Conceptually, MathML has two parts: presentation and content. They form a single language and it...

What is the relation between the versions?

PHP/FI 2.0 is an early and no longer supported version of PHP. PHP 3 is the successor to...

Can I run several versions of PHP at the same time?

Yes. See the INSTALL file that is included in the PHP source distribution.

What are the differences between PHP 4 and PHP 5?

While PHP 5 was purposely designed to be as compatible as possible with previous versions,...

I think I found a bug! Who should I tell?

You should go to the PHP Bug Database and make sure the bug isn't a known bug. If you...