GUI Testing Guidelines

GUI Testing Guidelines

What is GUI Testing?

Graphical User Interface Testing is absolutely essential for whatsoever application has to endure user-friendly. The halt user should endure comfortable patch using all the components on concealment as well as the components should also perform their functionality alongside utmost clarity. Hence it becomes really essential to examine the GUI components of whatsoever application. 

GUI Testing tin refer to only ensuring that the look-and-feel of the application is acceptable to the user, or it tin refer to testing the functionality of each as well as every factor involved.

Guidelines for effective GUI Testing 
 
o Check titles for all screens

o Check all text on window for Spelling/Tense as well as Grammar.

o Use TAB to motion focus to a greater extent than or less the Window as well as Use SHIFT+TAB to motion focus backwards.

o Tab fellowship should endure left to right, as well as Up to Down inside a grouping box on the screen.

o All controls should larn focus - indicated past times dotted box, or cursor. Tabbing to an entry plain alongside text inwards it should highlight the entire text inwards the field.

o Never updateable fields should endure displayed alongside dark text on a greyness background alongside a dark label.

o All text should endure left justified, followed past times a colon tight to it. In a plain that may or may non endure updateable, the label text as well as contents changes from dark to greyness depending on the electrical flow status.

o List boxes are e'er white background alongside dark text whether they are disabled or not.

o In general, everything tin endure done using both the mouse as well as the keyboard. All tab buttons should take away maintain a distinct letter.

o Clicking alongside the mouse on the banking concern check box, or on the text should SET/UNSET the box.

o If Command Button leads to some other Screen, as well as if the user tin move into or alter details on the other concealment so the Text on the clitoris should endure followed past times 3 dots. All Buttons except for OK as well as Cancel should take away maintain a alphabetic lineament Access to them.

o If at that spot is a Cancel Button on the screen, so pressing should activate it. If pressing the Command clitoris results inwards uncorrectable information e.g. closing an activeness step, at that spot should endure a message phrased positively alongside Yes/No answers where  Yes results inwards the completion of the action.

o Pressing the Arrow should give listing of options of a List box. This List may endure scrollable. You should non endure able to type text inwards the box.

o Combo Boxes should allow text to endure entered. Clicking Arrow should allow user to select from list

o List Boxes should allow a unmarried alternative to endure chosen, past times clicking alongside the mouse, or using the Up as well as Down Arrow keys. Pressing a alphabetic lineament should convey y'all to the kickoff item inwards the listing starting alongside that letter.
 

Screen Validation Checklist
Aesthetic Conditions:

o Is the full general concealment background the right color?


o Are the plain prompts the right color?
 

o Are the plain backgrounds the right color?

o In read-only mode, are the plain prompts the right color?


o In read-only mode, are the plain backgrounds the right color?
 

o Are all the screens prompts specified inwards the right concealment font?
 

o Is the text inwards all fields specified inwards the right concealment font?
 

o Are all the fields prompts aligned perfectly on the screen?
 

o Are all the plain edit boxes aligned perfectly on the screen?
 

o Are all grouping boxes aligned correctly on the screen?
 

o Should the concealment endure resizable?
 

o Should the concealment endure allowed to minimize?
 

o Are all the fields prompts spelt correctly?
 

o Are all characters or alphanumeric fields left justified? This is the default unless
otherwise specified.
 

o Are all numeric fields right justified? This is the default unless otherwise
specified.
 

o Is all the micro-help text spelt correctly on this screen?
 

o Is all the mistake message text spelt correctly on this screen?
 

o Is all user input captured inwards UPPER illustration or lowercase consistently?
 

o Where the database requires a value (other than null) so this should be
defaulted into fields. The user must either move into an alternative valid value or
leave the default value intact.
 

o Assure that all windows take away maintain a consistent await as well as feel.
 

o Assure that all dialog boxes take away maintain a consistent await as well as feel.


Navigation Conditions:


 

o Can the concealment endure accessed correctly from the menu?
 

o Can the concealment endure accessed correctly from the toolbar?
 

o Can the concealment endure accessed correctly past times double clicking on a listing command on
the previous screen?
 

o Can all screens accessible via buttons on this concealment endure accessed correctly?
 

o Can all screens accessible past times double clicking on a listing command endure accessed
correctly?
 

o Is the concealment modal? (i.e.) Is the user prevented from accessing other
functions when this concealment is active as well as is this correct?
 

o Can a pose out of instances of this concealment endure opened at the same fourth dimension as well as is
this correct?

Usability Conditions:



  • Are all the dropdowns on this concealment sorted correctly? Alphabetic sorting is
    the default unless otherwise specified.
  • Is all appointment entry required inwards the right format?
  • Have all pushbuttons on the concealment been given appropriate Shortcut keys?
  • Do the Shortcut keys piece of job correctly?
  • Have the bill of fare options that apply to your concealment got fast keys associated and
    should they have?
  • Does the Tab Order specified on the concealment decease inwards sequence from Top Left to
    bottom right? This is the default unless otherwise specified.
  • Are all read-only fields avoided inwards the TAB sequence?
  • Are all disabled fields avoided inwards the TAB sequence?
  • Can the cursor endure placed inwards the micro assistance text box past times clicking on the text box
    alongside the mouse?
  • Can the cursor endure placed inwards read-only fields past times clicking inwards the plain alongside the
    mouse?
  • Is the cursor positioned inwards the kickoff input plain or command when the concealment is
    opened?
  • Is at that spot a default clitoris specified on the screen?
  • Does the default clitoris piece of job correctly?
  • When an mistake message occurs does the focus render to the plain inwards error
    when the user cancels it?
  • When the user Alt+Tab's to some other application does this take away maintain whatsoever touching on on
    the concealment upon render to the application?
  • Do all the fields edit boxes dot the pose out of characters they volition agree by
    at that spot length? e.g. a xxx graphic symbol plain should endure a lot longer
 Data Integrity Conditions:
 
o Is the information saved when the window is closed past times double clicking on the close
box?

o Check the maximum plain lengths to ensure that at that spot are no truncated
characters?

o Where the database requires a value (other than null) so this should be
defaulted into fields. The user must either move into an alternative valid value or
larn out the default value intact.

o Check maximum as well as minimum plain values for numeric fields?

o If numeric fields take away maintain negative values tin these endure stored correctly on the
database as well as does it brand sense for the plain to take away maintain negative numbers?

o If a laid of radio buttons represents a fixed laid of values such every bit A, B as well as C so what happens if a blank value is retrieved from the database? (In some
situations rows tin endure created on the database past times other functions, which are
non concealment based, as well as so the required initial values tin endure incorrect.)

o If a especial laid of information is saved to the database banking concern check that each value gets saved fully to the database. (i.e.) Beware of truncation (of strings) and
rounding of numeric values.



Modes (Editable Read-only) Conditions:

o       Are the concealment as well as plain colors adjusted correctly for read-only mode?

o       Should a read-only trend endure provided for this screen?

o       Are all fields as well as controls disabled inwards read-only mode?

o       Can the concealment endure accessed from the previous screen/menu/toolbar inwards readonly
mode?

o       Can all screens available from this concealment endure accessed inwards read-only mode?

o       Check that no validation is performed inwards read-only mode.


General Conditions:


o       Assure the beingness of the "Help" menu.

o       Assure that the proper commands as well as options are inwards each menu.

o       Assure that all buttons on all tool bars take away maintain a corresponding cardinal commands.

o       Assure that each bill of fare command has an alternative (hot-key) cardinal sequence, which volition invoke it where appropriate.

o       In drib downwards listing boxes, ensure that the names are non abbreviations / cutting short

o       In drib downwards listing boxes, assure that the listing as well as each entry inwards the listing tin endure accessed via appropriate cardinal / hot cardinal combinations.

o       Ensure that duplicate hot keys exercise non be on each screen

o       Ensure the proper usage of the escape cardinal (which is to undo whatsoever changes that take away maintain been made) as well as generates a caution message "Changes volition endure lost  - Continue yes/no"

o       Assure that the cancel clitoris functions the same every bit the escape key.

o       Assure that the Cancel clitoris operates, every bit a Close clitoris when changes have
been made that cannot endure undone.

o       Assure that alone command buttons, which are used past times a especial window, or
inwards a especial dialog box, are present. – (i.e) brand certain they don't piece of job on
the concealment behind the electrical flow screen.

o       When a command clitoris is used sometimes as well as non at other times, assures
that it is grayed out when it should non endure used.

o       Assure that OK as well as Cancel buttons are grouped separately from other
command buttons.

o       Assure that command clitoris names are non abbreviations.

o       Assure that all plain labels/names are non technical labels, but rather are
names meaningful to organization users.

o       Assure that command buttons are all of like size as well as shape, as well as same font & font size.

o       Assure that each command clitoris tin endure accessed via a hot key
combination.

o       Assure that command buttons inwards the same window/dialog box exercise non take away maintain duplicate hot keys.

o       Assure that each window/dialog box has a clearly marked default value
(command button, or other object) which is invoked when the Enter cardinal is
pressed - as well as NOT the Cancel or Close button

o       Assure that focus is laid to an object/button, which makes sense according to the share of the window/dialog box.

o       Assure that all alternative buttons (and radio buttons) names are not
abbreviations.

o       Assure that alternative clitoris names are non technical labels, but rather are
names meaningful to organization users.

o       If hot keys are used to access alternative buttons, assure that duplicate hot keys exercise non be inwards the same window/dialog box.

o     Assure that alternative box names are non abbreviations.

o       Assure that alternative boxes, alternative buttons, as well as command buttons are logically grouped together inwards clearly demarcated areas "Group Box"

o       Assure that the Tab cardinal sequence, which traverses the screens, does so inwards a logical way.

o       Assure consistency of mouse actions across windows.

Assure that the color cherry-red is non used to highlight active objects (many
individuals are red-green color blind).

o       Assure that the user volition take away maintain command of the desktop alongside observe to full general color as well as highlighting (the application should non dictate the desktop background characteristics).

o       Assure that the screen/window does non take away maintain a cluttered appearance

o       Ctrl + F6 opens adjacent tab inside tabbed window

o       Shift + Ctrl + F6 opens previous tab inside tabbed window

o       Tabbing volition opened upward adjacent tab inside tabbed window if on concluding plain of electrical flow tab

o       Tabbing volition decease onto the 'Continue' clitoris if on concluding plain of concluding tab within
tabbed window

o       Tabbing volition decease onto the adjacent editable plain inwards the window

o       Banner trend & size & display exact same every bit existing windows

o       If eight or less options inwards a listing box, display all options on opened upward of listing box - should endure no postulate to scroll

o       Errors on decease along volition crusade user to endure returned to the tab as well as the focus should endure on the plain causing the error. (i.e the tab is opened, highlighting the plain alongside the mistake on it)

o       Pressing decease along patch on the kickoff tab of a tabbed window (assuming all
fields filled correctly) volition non opened upward all the tabs.

o       On opened upward of tab focus volition endure on kickoff editable field

o       All fonts to endure the same

o       Alt+F4 volition unopen the tabbed window as well as render y'all to principal concealment or
previous concealment (as appropriate), generating "changes volition endure lost" message if necessary.

o       Micro assistance text for every enabled plain & button

o       Ensure all fields are disabled inwards read-only mode

o       Progress messages on charge of tabbed screens

o       Return operates continue

o       If squall upward on charge of tabbed window fails window should non open
Specific Field Tests

Date Field Checks:

o Assure that throttle years are validated correctly & exercise non cause
errors/miscalculations.


o Assure that calendar month code 00 as well as thirteen are validated correctly & exercise non cause
errors/miscalculations.


o Assure that 00 as well as thirteen are reported every bit errors.
 

o Assure that twenty-four hr menses values 00 as well as 32 are validated correctly & exercise non cause
errors/miscalculations.


o Assure that Feb. 28, 29, xxx are validated correctly & exercise non crusade errors/
miscalculations.


o Assure that Feb. xxx is reported every bit an error.
 

Assure that century alter is validated correctly & does non crusade errors/
miscalculations.


o Assure that out of cycle dates are validated correctly & exercise non cause
errors/miscalculations.

Numeric Fields:


o Assure that lowest as well as highest values are handled correctly.
 

o Assure that invalid values are logged as well as reported.
 

o Assure that valid values are handles past times the right procedure.
 

o Assure that numeric fields alongside a blank inwards seat 1 are processed or reported
as an error.
 

o Assure that fields alongside a blank inwards the concluding seat are processed or reported
as an error.
 

o Assure that both + as well as - values are correctly processed. 

o Assure that partitioning past times null does non occur.
 

Include value null inwards all calculations. 

o Include at to the lowest degree 1 in-range value. 

o Include maximum as well as minimum attain values. 

o Include out of attain values inwards a higher house the maximum as well as below the minimum. 

o Assure that upper as well as lower values inwards ranges are handled correctly.

Alpha Field Checks:
 
o Use blank as well as non-blank data. 

o Include lowest as well as highest values. 

o Include invalid characters & symbols. 

o Include valid characters. 

o Include information items alongside kickoff seat blank. 

o Include information items alongside concluding seat blank.
--------------------------------------------------------------------------

Sumber http://www.gcreddy.com/
Post a Comment (0)
Previous Post Next Post