Testing induction
Testing Essentials Unit 11 Usability Testing QSIT- Quality Solutions for Information Technology Pvt. Ltd., A 806 & 807, Mittal Tower, BANGALORE- 560 001,INDIA URL: www.qsitglobal.com PH: +91 80 41134334 Fax: +91 80 25597445
Software Testing Essentials
1
www.qsitglobal.com
Usability Testing What is Usability? Attempts to Characterize the “Look and Feel” and usage aspects of a product from user’s point of view Usability Testing Encompasses Ease of Use Speed Pleasantness and Aesthetics Who is best suited to perform usability Testing? Representatives of the actual user segments People who are new to the product Software Testing Essentials
QSIT Copyright
2
www.qsitglobal.com
Page:1
Testing induction Usability Testing A Right approach for Usability test? Test Every artifact that impacts users Product binaries Documentation Messages
Software Testing Essentials
3
www.qsitglobal.com
Usability Testing
Usability testing is performed in two phases – Design Validation – As part of Component and Integration testing
Usability Design is verified through – Style sheets – Screen prototypes – Paper designs – Layout design
Software Testing Essentials
QSIT Copyright
4
www.qsitglobal.com
Page:2
Testing induction Usability Testing
Quality Factors For Usability – Comprehensibility – Consistency – Navigation – Responsiveness
Software Testing Essentials
5
www.qsitglobal.com
Usability Testing
Aesthetics Testing Accessibility Testing – Basic accessibility testing – Product accessibility Basic accessibility testing – Keyboard accessibility Sticky keys Filter keys Toggle key sound Sound keys Arrow keys to control Narrator
Software Testing Essentials
QSIT Copyright
6
www.qsitglobal.com
Page:3
Testing induction Usability Testing
Basic accessibility testing – Screen Accessibility Visual sound Enabling captions for multimedia Soft keyboard Easy reading with high contrast – Other accessibility features
Software Testing Essentials
7
www.qsitglobal.com
Usability Testing
Product accessibility – Text equivalents have to be provided for audio, video and picture images – Documents and fields should be organized so that they can be read without requiring a particular resolution of the screen and templates – User interfaces should be designed so that all information conveyed with colour is also available without colour – Reduce flicker rate, speed of moving text; avoid flashes and blinking text – Reduce physical movement requirements for the users when designing the interface and allow adequate time for user responses
Software Testing Essentials
QSIT Copyright
8
www.qsitglobal.com
Page:4
Testing induction
GUI Testing
Software Testing Essentials
9
www.qsitglobal.com
Windows Compliance Standards
Windows resize options – Maximize, minimize and close options should be available. Using TAB – Should move the focus (cursor) from left to right and top to bottom in the window. Using SHIFT+TAB – Should move the focus (cursor) from right to left and bottom to top. Text – Should be left-justified.
Software Testing Essentials
QSIT Copyright
10
www.qsitglobal.com
Page:5
Testing induction Windows Compliance Standards (Contd..)
Edit Box – U should be able to enter data. – Try to overflow the text, text should be stopped after the specified length of characters. – Try entering invalid characters - should not allow. Radio Buttons – Left and right arrows should move ‘ON’ selection. So should UP and DOWN. – Select with the mouse by clicking. Check Boxes – Clicking with the mouse on the box or on the text should SET/UNSET the box. – Space should do the same. Software Testing Essentials
11
www.qsitglobal.com
Windows Compliance Standards (Contd..)
Command Buttons –
– –
Should have shortcut keys (except OK and Cancel buttons). Click each button with the mouse - should activate. TAB to each button & press Space/Enter - should activate.
Drop Down List – –
–
Pressing the arrow should give list of options. Pressing a letter should bring you to the first item in the list with that start letter. Pressing Ctrl+F4 should open/drop down the list box.
Software Testing Essentials
QSIT Copyright
12
www.qsitglobal.com
Page:6
Testing induction Windows Compliance Standards (Contd..)
Combo Boxes – –
Should allow text to be entered. Clicking the arrow should allow user to choose from the list
List Boxes –
–
Should allow a single selection to be chosen by clicking with the mouse or using the Up and Down arrows. Pressing a letter should bring you to the first item in the list with that start letter.
Software Testing Essentials
13
www.qsitglobal.com
Screen Validation Standards
Aesthetic Conditions –
–
– –
– –
The general screen background should be of correct colour (company standards,….). The field prompts and backgrounds should be of correct colour. The text in all the fields should be of the same font. All the field prompts, group boxes and edit boxes should be aligned perfectly. Micro-help should be available and spelt correctly. All dialog boxes and windows should have a consistent look and feel.
Software Testing Essentials
QSIT Copyright
14
www.qsitglobal.com
Page:7
Testing induction Screen Validation Standards (Contd..)
Validation Conditions – – –
– – –
Failure of validation on every field should cause a user error message. If any fields are having multile validation rules, all should be applied. If the user enters an invalid value and clicks on the OK button, the invalid entry should be identified and highlighted. In the numeric fields, negative numbers should be allowed to enter. Should allow the minimum, maximum and mid range values in numeric fields. All mandatory fields should require user input.
Software Testing Essentials
15
www.qsitglobal.com
Screen Validation Standards (Contd..)
Navigation Conditions –
The screen should be accessible correctly from the menu and toolbar.
–
All screens accessible through buttons on this screen should be accessed correctly.
–
The user should not be prevented from accessing other functions when this screen is active.
–
Should not allow to open number of instances of the same screen at the same time.
Software Testing Essentials
QSIT Copyright
16
www.qsitglobal.com
Page:8
Testing induction Screen Validation Standards (Contd..)
Usability Conditions – – – – – – –
All the dropdowns should be sorted alphabetically (unless specified). All pushbuttons should have appropriate shortcut keys and should work properly. All read-only and disabled fields should be avoided in the TAB sequence. Should not allow to edit microhelp text. The cursor should be positioned in the first input field or control when opened. When an error message occurs, the focus should return to the field in error after cancelling it. Alt+Tab should not have any impact on the screen upon return.
Software Testing Essentials
17
www.qsitglobal.com
Screen Validation Standards (Contd..)
Data Integrity Conditions –
The data should be saved when the window is closed by double clicking on the close box.
–
There characters should not be truncated.
–
Maximum and minimum field values for numeric fields should be verified.
–
Negative values should be stored and accessed from the database correctly.
Software Testing Essentials
QSIT Copyright
18
www.qsitglobal.com
Page:9
Testing induction Screen Validation Standards (Contd..)
Modes (Editable, Read-only) conditions –
The screen and field colours should be adjusted correctly for read-only mode.
–
Is the read only field necessary for this screen?
–
All fields and controls should be disabled in read-only mode.
–
No validation is performed in read-only mode.
Software Testing Essentials
19
www.qsitglobal.com
Screen Validation Standards (Contd..)
General Conditions – –
– – –
– –
“Help” menu should exist. All buttons on all tool bars should have corresponding key commands. Abbreviations should not be used in drop down lists. Duplicate hot keys/shortcut keys should not exist. Escape key and cancel button should cancel (close) the application. OK and Cancel buttons should be grouped separately. Command button names should not be abbreviations.
Software Testing Essentials
QSIT Copyright
20
www.qsitglobal.com
Page:10
Testing induction Screen Validation Standards (Contd..)
General Conditions (Contd..) – – – – – – –
Field labels/names should not be technical labels, they should be meaningful to system users. All command buttons should be of similar size, shape, font and font size. Option boxes, option buttons and command buttons should be logically grouped. Mouse action should be consistent through out the screen. Red colour should not be used to highlight active objects (many individuals are red-green colour blind). Screen/Window should not have cluttered appearance. Alt+F4 should close the window/application.
Software Testing Essentials
QSIT Copyright
21
www.qsitglobal.com
Page:11