All subjects · Information Technology · WIT12 3 hour practical exam on web development with HTML, CSS and JavaScript

Testing web pages: cross-browser, functionality, usability, code validation and developer tools

Edexcel IAL Information Technology · WIT12 3 hour practical exam on web development with HTML, CSS and JavaScript

Pages must work for every user on every device. The specification lists cross-browser compatibility, functionality and usability testing, code validation and browser development tools (spec 10.3.2). Pearson's June 2025 paper ended with an extended written question on testing.

Practise this in the app: instant marking and a fix for every mistake. Free, no email needed to start.

Practise this lesson

Four kinds of checking

MethodWhat it checksHow
Cross-browser compatibility testingThat the **same page** works and looks right in different browsers (Chrome, Edge, Firefox, Safari), versions and devicesOpen the page in each browser and on phones, tablets and desktops; check layout, fonts, media formats and JavaScript features; use fallbacks where support differs
Functionality testingThat every feature **works as specified**: links, forms, validation, scripts, mediaA test plan with test data (normal, boundary, erroneous) and expected results; compare actual results
Usability testingThat **real users** can use the site easily and efficientlyWatch representative users complete tasks (find a price, book a class); note difficulties, time taken and comments; act on the feedback
Code validationThat the HTML and CSS follow the **W3C standards**: correct syntax, nesting, closed tags, valid attributes and propertiesRun the code through the W3C Markup Validation Service and CSS Validation Service and fix the errors

Common confusions

From Pearson's 2025 examiner report:

Good answers also explain why each matters: valid code is more likely to display the same in every browser and to work with assistive technology; usability problems lose customers; broken functions stop users completing tasks.

A functionality test plan

TestDataTypeExpected result
Age accepted at lower limit16BoundaryAccepted, no message
Age below range15Boundary (erroneous)Message: Age must be from 16 to 99
Age not a numberabcErroneousMessage: Age must be from 16 to 99
Normal age35NormalAccepted
Contact linkClick ContactNormalcontact.html opens
Layout below 600pxWindow 400px wideNormalImages 100% wide, menu stacked

Browser developer tools

Pressing F12 opens tools that let you:

After testing comes evaluation: judge the finished page against the original requirements, say what was met and what was not, and suggest improvements.

Worked example

Explain the difference between functionality testing and usability testing for a booking form.

  1. Functionality: check each part works as specified, for example that a 15-year-old's age is rejected with the right message and a valid booking is saved, using a test plan with expected results.
  2. Usability: watch real users try to book a class, to see whether they find the form easy, understand the labels and finish quickly.

Answer: Functionality testing checks that features work correctly; usability testing checks how easy real users find them.

Key idea: Cross-browser testing checks the page in different browsers and devices; functionality testing checks features against expected results; usability testing watches real users; code validation checks HTML and CSS against W3C standards; developer tools inspect, debug and simulate devices. Then evaluate against the requirements.

Check yourself

  1. What is code validation in web development?
    • Checking that the HTML and CSS follow W3C standards using a validator
    • Checking that the data a user types into a form is sensible
    • Checking that the page loads quickly
    • Asking users if they like the design
    Show answer

    Checking that the HTML and CSS follow W3C standards using a validator. Code validation checks syntax against the standards. Pearson's 2025 report noted candidates confusing it with validating user input.

  2. Which is an example of usability testing?
    • Checking that each link opens the correct page
    • Running the HTML through the W3C validator
    • Watching five members of the public try to book a class and noting where they struggle
    • Opening the page in Firefox and Safari
    Show answer

    Watching five members of the public try to book a class and noting where they struggle. Usability testing involves real users doing real tasks.

  3. What does cross-browser compatibility testing involve?
    • Opening the same page in several browsers and devices to check it works and displays correctly in each
    • Comparing your favourite browser's features with other browsers
    • Testing whether users prefer one browser
    • Testing that links go to other websites
    Show answer

    Opening the same page in several browsers and devices to check it works and displays correctly in each. Test your page across browsers; the 2025 report noted candidates misunderstanding this.

  4. Explain one benefit of validating HTML code with a code validator.
    Show answer

    It finds errors such as unclosed or wrongly nested tags, so the page is more likely to display correctly and consistently in all browsers.. Valid code is more likely to render consistently across browsers, works better with assistive technologies and search engines, and is easier to maintain.

  5. Which browser developer tool helps check how a page looks at a phone's screen width?
    • The bookmarks bar
    • The device toolbar (responsive design mode)
    • The history panel
    • The downloads list
    Show answer

    The device toolbar (responsive design mode). The device toolbar simulates screen sizes, so media queries can be tested.

  6. A field accepts ratings from 1 to 5. Which value is boundary test data just outside the valid range?
    • 3
    • 5
    • abc
    • 6
    Show answer

    6. 6 is just beyond the upper limit; 5 is a valid boundary; 3 is normal; abc is erroneous.

  7. An image does not appear and the developer tools network tab shows a 404 error for it. What does this tell you?
    • The image is too large
    • The browser could not find the image file at the path given
    • The alt text is missing
    • JavaScript is turned off
    Show answer

    The browser could not find the image file at the path given. 404 means not found: usually a wrong path or file name.

  8. Which test checks functionality rather than usability?
    • Entering an age of 15 and checking the expected error message appears
    • Asking a user to rate how easy the form was
    • Timing how long a new user takes to find the prices
    • Observing whether users notice the menu
    Show answer

    Entering an age of 15 and checking the expected error message appears. Comparing an actual result with an expected result is functionality testing.

Practise with instant feedback

Sources

Last updated 8 November 2026. Spotted a mistake? Tell us.