1 GUI Testing: 1.1 Section 1 - Windows Compliance Testing
1 GUI Testing: 1.1 Section 1 - Windows Compliance Testing
1 GUI Testing
What is GUI Testing? GUI is the abbreviation for Graphic User Interface. It is absolutely essential that any application has to be user-friendly. The end user should be comfortable while using all the components on screen and the components should also perform their functionality with utmost clarity. Hence it becomes very essential to test the GUI components of any application. GUI Testing can refer to just ensuring that the look-and-feel of the application is acceptable to the user, or it can refer to testing the functionality of each and every component involved. The following is a set of guidelines to ensure effective GUI Testing and can be used even as a checklist while testing a product / application.
GUI
ABDUL
In general, double-clicking is not essential. In general, everything can be done using both the mouse and the keyboard. All tab buttons should have a distinct letter.
GUI
ABDUL
List Box, should act in the same way as selecting and item in the list box, then clicking the command button. Force the scroll bar to appear, make sure all the data can be seen in the box.
GUI
ABDUL
3. Can the screen be accessed correctly by double clicking on a list control on the previous screen? 4. Can all screens accessible via buttons on this screen be accessed correctly? 5. Can all screens accessible by double clicking on a list control be accessed correctly? 6. Is the screen modal? (i.e.) Is the user prevented from accessing other functions when this screen is active and is this correct? 7. Can a number of instances of this screen be opened at the same time and is this correct?
GUI
ABDUL
4. Can the screen be accessed from the previous screen/menu/toolbar in read-only mode? 5. Can all screens available from this screen be accessed in read-only mode? 6. Check that no validation is performed in read-only mode.
GUI
ABDUL
33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. Tabbing will open next tab within tabbed window if on last field of current tab Tabbing will go onto the 'Continue' button if on last field of last tab within tabbed window Tabbing will go onto the next editable field in the window Banner style & size & display exact same as existing windows If 8 or less options in a list box, display all options on open of list box - should be no need to scroll Errors on continue will cause user to be returned to the tab and the focus should be on the field causing the error. (i.e the tab is opened, highlighting the field with the error on it) Pressing continue while on the first tab of a tabbed window (assuming all fields filled correctly) will not open all the tabs. On open of tab focus will be on first editable field All fonts to be the same Alt+F4 will close the tabbed window and return you to main screen or previous screen (as appropriate), generating "changes will be lost" message if necessary. Microhelp text for every enabled field & button Ensure all fields are disabled in read-only mode Progress messages on load of tabbed screens Return operates continue If retrieve on load of tabbed window fails window should not open
GUI
ABDUL
2. 3. 4. 5. 6. Include lowest and highest values. Include invalid characters & symbols. Include valid characters. Include data items with first position blank. Include data items with last position blank.
Add View Change Delete Continue - (i.e. continue saving changes or additions) Add View Change Delete Cancel - (i.e. abandon changes or additions) Fill each field - Valid data Fill each field - Invalid data Different Check Box / Radio Box combinations Scroll Lists / Drop Down List Boxes Help Fill Lists and Scroll Tab Tab Sequence Shift Tab
Enter Help Mode N/A N/A N/A N/A N/A N/A Close
GUI
ABDUL Document / Child window. F5 F6 F7 F8 N/A N/A N/A N/A N/A N/A N/A N/A N/A Add N/A if N/A N/A N/A N/A N/A N/A N/A
Move to next Move to previous Move to next Switch to active/editable active/editable open Document previously used field. field. or Child window. application. (Adding SHIFT (Holding down reverses the order the ALT key of movement). displays all open applications). Puts focus on N/A first menu command (e.g. 'File'). N/A N/A
Alt
GUI
ABDUL CTRL + N CTRL + O CTRL + P CTRL + S CTRL + B CTRL + I CTRL + U New Open Print Save Bold* Italic* Underline*
* These shortcuts are suggested for text formatting applications, in the context for which they make sense. Applications may use other modifiers for these operations.
GUI