Design Usability
  Home arrow Design Usability arrow Page 2 - Browsers as Test Platforms
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DESIGN USABILITY

Browsers as Test Platforms
By: Chris Heilmann
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 7
    2004-12-08

    Table of Contents:
  • Browsers as Test Platforms
  • Microsoft Internet Explorer 6
  • Mozilla Firefox 1.0
  • Opera 7.5
  • Summary
  • Browser wishlist

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Browsers as Test Platforms - Microsoft Internet Explorer 6


    (Page 2 of 6 )

    Internet Explorer, IE or MSIE is still the most used browser in Windows environments. In comparison to the open source products, it is rather dusty and fails to comply with up-to-date Web standards. The thing that makes it very handy though, is that it ships with Windows - it is an integral part of it - and therefore is immediately at our beck and call (as it is loaded already in the boot-up process of Windows). It seems that IE was designed to please the user, and make it really easy for developers to do things wrong. In other words, IE will try to display anything and does not give much indication of something going wrong.

    Debugging the HTML

    In our example, we check the source code for problems and get Textpad as the editor when we choose “View Source” from the context menu. This non-color-coding editor will make it a bit hard to find errors, and we don’t get any indication where we went wrong. We have to rely on a better editor to check for errors, which can be quite annoying when the page is assembled from different includes.

    Furthermore, there is no way to find our forgotten FORM element and unclosed TABLE unless we validate the page, or check it in a real editor.

    Debugging Javascript

    Debugging Javascript is even worse. Older versions of IE showed us a Javascript alert when something was amiss; nowadays we have to go through the process of selecting View from the toolbar and choose to Show the status bar.

    Browsers as Test Platforms

    Once visible, we can see in the status bar that a Javascript error occurred:

    Browsers as Test Platforms

    If we double-click this error, IE comes up with the message:

    Browsers as Test Platforms

    If we look into line 11 char 6 of our dummypage.html, all we’ll find is </head>. In other words, the message is not very helpful, but we can choose to have it shown to us every time by selecting the checkbox on the message window.

    We can turn turn on alerts for every Javascript error by checking the option in Tools - > Internet Options -> Advanced:

    Browsers as Test Platforms

    This will give us a warning with the same cryptic message as above and allow us to start the MS Script debugger, should we have it installed.

    Debugging the CSS

    IE does not give us any indication of the render mode, neither in the browser, nor in the page properties. We are forced to check the DOCTYPE and consult a list to see which render mode we are in. The results can vary a lot, though, as a comparison of our fixed example ( http://icant.co.uk/forreview/browsertests/dummypagefixed.html) with the buggy one ( http://icant.co.uk/forreview/browsertests/dummypage.html) shows.

    Checking the site’s accessibility

    IE does not make it easy for us to check how our page looks like without Javascript or Style Sheets. For Javascript, we need to go to Tools -> Internet Options and select the Security Tab. Then we need to click the “Custom Level” button and scroll down a long way until we reach the option “Active Scripting” under “Scripting” to disable it

    Browsers as Test Platforms

    For CSS, there is no such option. The accessibility dialogue, which can be found via Tools -> Internet Options and the button “Accessibility” on the “General” tab allows us to either overwrite the style with a user style sheet or turn off the font settings – our CSS layout remains intact though.

    Browsers as Test Platforms

    Even creating a blank style sheet and assigning that one doesn’t work. To turn off CSS, you need an extension that does so via the DOM or cut the link to the CSS file.

    Testing how the page looks without images is easier. The advanced Tab in the Tools -> Internet Options sports and extensive Multimedia section which allows us to turn different media in the page on an off.

    Browsers as Test Platforms

    To change the font size in IE, we need to go to View -> Text size and select the one we’d like to have. Default is middle, and there are two levels shrinking the font sizes and two enlarging it.

    Browsers as Test Platforms

    More Design Usability Articles
    More By Chris Heilmann


       · As I don't own a mac it would be great if someone could extend this research and...
       · A useful article, thanks. Though I already knew a lot of this, I did learn a few...
     

    DESIGN USABILITY ARTICLES

    - Create Great JavaScript and CSS Menus Simply
    - Design Principles that Shape a Web Site
    - Creating Aqua Style Images
    - Easy as A,B,C – dynamic A to Z indexes
    - EasyChart: a Usability Teaching Tool to Demo...
    - Building Friendly Pop-up Windows
    - Back to School: Design Usability
    - Using HTML_QuickForm To Manage Web Forms, Pa...
    - Using HTML_QuickForm To Manage Web Forms, Pa...
    - More Website Knick Knack
    - Browsers as Test Platforms
    - Website Knick Knack
    - Dynamic Page Elements-Cloak and Dagger Web D...
    - Accessibility and Dreamweaver MX 2004







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek