Basic Guidelines and Checklist for Website Testing :
Worldwide web is browsed by customers with different knowledge levels, while testing websites (static/Dynamic) QA department should concentrate on various aspects to make effective presentation of website in www.:
Worldwide web is browsed by customers with different knowledge levels, while testing websites (static/Dynamic) QA department should concentrate on various aspects to make effective presentation of website in www. Aspects to cover Functionality Usability User Interface Serverside Interface Compatibility Security Performance Description Functionality
Links Objective is to check for all the links in the website All Hyperlinks All Internal links All External links All Mail links Check for orphan pages Check for Broken links Forms Check for the integrity of submission of all forms All Field level Checks All Field level Validations Functionality of create, modify, delete and view Handling of wrong inputs Default values if any (standard) Optional Versus Mandatory fields
Two types of errors that may occur in web application
Data Integrity : Missing or wrong data in table
Output Errors : Errors In writing ,editing or reading operation in the table
Usability: How simple customer can browse the website Cookies Check for the cookies that has to be enabled and how it has to be expired Web Indexing Depending on how the site is designed using metatags, frames, HTMLsyntax, dynamically created pages, passwords or different languages, our site will be searchable in different ways Meta Tags Frames HTML syntax
Navigation describes the way user navigate with in a webpage, between different user interface controls (buttons, text boxes, combo boxes, dropdown lists …etc) Application navigation is proper through tab (key board) Application navigation through mouse Main features accessible from the main/home page (mother window) Any hotkeys, control keys to access menus
Content Correctness is whether the information is truthful or contains misinformation. The accuracy of the information is whether it is without grammatical or spelling errors. Remove irrelevant information from your site this may otherwise cause misunderstanding or confusion Spelling and grammar Updated information (contact details mail IDs help reports)
General Appearance: Page appearance Colour, font size Frames Consistent Designs Symbols and logos (localization)
User Interface : All about how exactly website looks like (view) Basic guidelines for web User interface (Microsoft) Verify whether screen resolution been taken in to account while using browser, will the UI resize itself as you maximize/minimize this must be tested with various screen resolutions Verify whether the number of ‘controls’ per page have been checked, generally 10 is a good number Where there are options to choose from, user should be forced to choose from a set of radio buttons and the default should be pointing at default message (none, select one..etc) Every dropdown box should have the first choice as NONE (it could be any other meaningful sentence such as ‘Choose one’ or ‘select’ Ensure persistency of all values, when you enter values in a form, and move on the next page and then return to change one of the previous screen .The users must not be forced to re-enter all the values once again, this must be checked and ensured Horizontal scrolling is not preferable in general .Avoid using horizontal scroll bar Ensure that the use of vertical scroll bar is judicious Consider the use of pagination where appropriate. Ensure that ‘shift click’ ‘control click ‘work in list boxes, clarify these features work in both browsers The location of buttons (OK and Cancel) should be at the right hand bottom side of a screen and consistent. Clarify whether encryption of the password occurs from your login page all the way to the backend (the login page must not transmit clear –text password) Illegal operations should give popup messages (message should be simple and clear) 3.12 Verify if there is a requirement to use image maps in the application (does net scape support this well Positive popup messages should be displayed (submitted, deleted, updated, done and cleared) Ensure that you have multiple check boxes when multiple selections is to be performed Avoid long scrolling drop down list make it short Website URL should be small and simple
Server Side Interface : Server side Interface Verify that communication is done correctly, web server-application server, application server-database sever and vice versa Compatibility of server software, hardware, network connections Database compatibility External interface if any.
Client Side Compatibility: Platforms Check for the website compatibility with Windows (95, 98, 2000, NT, XP, 2003, Vista) Unix Linux Macintosh (if applicable) Solaris (if applicable) Browsers Internet Explorer (3.x, 4.x, 5.x, 6.x, 7.0) Netscape Navigator (3.x, 4.x, 6.x, 7.x, 8.x) AOL Browser settings (security settings graphics, java etc..) Frames and cascade style sheets HTML specification Graphics Loading of images graphics, etc.
Security: Valid and invalid login Limits defined for the number of tries Can it be bypassed by typing URL to a page inside directly in the browser? Verify log files are maintained to store the information for traceability Verify encryption is done correctly if SSL is used (if applicable) No access to edit scripts on the server without authorization
Performance : Connection speed Try with different connection speeds (14.4, 28.8, 56.6, ISDN, cable DSL, T1, T3) Load Perform load test as per the SLA (Service Level Agreement) What is the estimated number of users per time period and how will it be divided over the period Will there be peak loads and how systems react Can your site handle a large amount of users requesting a certain page? Is large amount of data transferred from user?
Stress: Stress testing is done in order to actually break a site or certain features to determine how the system reacts Stress tests are designed to push and test system limitations and determine whether the system recovers gracefully from crashes Note: Hackers often stress systems by providing loads of wrong in-data until it crash and then gain access to it during start-up System abnormal conditions (stress testing) Less bandwidth of cable Low disk memory Low processor speed
Soke Test: The application or certain features going to be used only during certain periods of time or will it be used continuously 24X7 Will downtime be allowed or is that out of the question Verify that the application is able to meet the requirements and does not run out of memory or disk space
– Rahul Mendiratta