Page 124 - SOFTWARE TESTING & QUALITY ASSURANCE
P. 124
Unit 8: Web Site Testing
Let us now discuss how to test texts, hyperlinks, graphic, and forms using the black box testing
methods.
8.2.1 Text
The text of a Web site or a Web page should be treated similar to the text in any document. While
testing for the text you should consider the targeted audience level, the terminology used, the depth of
content, the subject matter, the accuracy of the information collated, and the routine aspects of spellings,
punctuations, and so on.
Why to check for spellings?
When spell checkers are used on Web page content, it may not check the entire text. The
spell checkers may only check the regular text and not what is provided within the
graphics, scrolling marquees, drop down lists, forms, and so on. Hence it is required to
manually check for spelling errors.
Web pages may include contact information such as email addresses, phone numbers, or postal
addresses to ensure that these are correct. The copyright notices should be acknowledged correctly and
dated appropriately as mentioned. Check for the correct title for all the pages. The title of the page can
be seen in the title bar of the browser (upper-left corner of Figure 8.2) and what is listed by default,
when you add the page to your favorites or bookmarks.
8.2.2 Hyperlinks
A Web site includes hyperlinks that can be linked to text or graphics. Each link should be tested to make
sure that it takes the user to the correct destination and opens in the same tab or in a new window. If
there is no specification for the Web site, test if the link is working correctly.
Make sure that hyperlinks are noticeable, text links are underlined, and the mouse pointer icon change
(usually to a hand pointer icon) when the mouse pointer is placed on any of the hyperlinks. Verify all
the links that are present in the sitemap.
8.2.3 Graphics
Black box strategy for Web site testing includes checking a few obvious things about the graphics.
Check if all the graphics are loaded and display properly. If a graphic representation is missing or
incorrectly named, it will not load and the Web page will display an error where the graphic
representation was meant to be present.
If a Web page has both text and graphics intermixed, the tester has to ensure correct wrapping of the
text around the graphics. A tester can try resizing the browser's window to test if there is any incorrect
wrapping around the graphic.
If there are many graphics on a page, it may take a lot of downloading time, which may also lower the
Web site's performance.
8.2.4 Forms
Forms are text boxes, list boxes, and other fields that allow a user to enter or select information on a
Web page.
LOVELY PROFESSIONAL UNIVERSITY 117