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.
Four kinds of checking
| Method | What it checks | How |
|---|---|---|
| Cross-browser compatibility testing | That the **same page** works and looks right in different browsers (Chrome, Edge, Firefox, Safari), versions and devices | Open 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 testing | That every feature **works as specified**: links, forms, validation, scripts, media | A test plan with test data (normal, boundary, erroneous) and expected results; compare actual results |
| Usability testing | That **real users** can use the site easily and efficiently | Watch representative users complete tasks (find a price, book a class); note difficulties, time taken and comments; act on the feedback |
| Code validation | That the HTML and CSS follow the **W3C standards**: correct syntax, nesting, closed tags, valid attributes and properties | Run the code through the W3C Markup Validation Service and CSS Validation Service and fix the errors |
Common confusions
From Pearson's 2025 examiner report:
- Functionality testing asks 'does it work?'; usability testing asks 'is it easy to use for real people?'. They are different.
- Code validation means checking the HTML and CSS against the standards, not validating the data users type into a form.
- Cross-browser testing means testing your page in several browsers, not comparing your favourite browser with others.
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
| Test | Data | Type | Expected result |
|---|---|---|---|
| Age accepted at lower limit | 16 | Boundary | Accepted, no message |
| Age below range | 15 | Boundary (erroneous) | Message: Age must be from 16 to 99 |
| Age not a number | abc | Erroneous | Message: Age must be from 16 to 99 |
| Normal age | 35 | Normal | Accepted |
| Contact link | Click Contact | Normal | contact.html opens |
| Layout below 600px | Window 400px wide | Normal | Images 100% wide, menu stacked |
Browser developer tools
Pressing F12 opens tools that let you:
- inspect any element and see (and temporarily edit) its HTML and the CSS rules applied, including which rules were overridden
- use the device toolbar to view the page at phone and tablet sizes and test media queries
- read the console for JavaScript errors and run commands
- set breakpoints and step through scripts
- check the network tab for missing files (a 404 for an image with a wrong path)
- run accessibility and performance audits
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.
- 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.
- 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.
Check yourself
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Sources
- Pearson Edexcel International Advanced Subsidiary/Advanced Level in Information Technology specification (first teaching 2018), Unit 2 Topics 7 to 11
- Pearson qualifications: Edexcel International Advanced Level Information Technology (2018)
- Pearson WIT12/01 examiner report, June 2025 series
- Pearson WIT12/01 examiner report, June 2023 series
Last updated 8 November 2026. Spotted a mistake? Tell us.