Special GUI Considerations

download Special GUI Considerations

of 18

Transcript of Special GUI Considerations

  • 7/31/2019 Special GUI Considerations

    1/18

    TEST CASE WORKSHOP -

    SPECIAL GUICONSIDERATIONS

    By: Dung Nguyen

    Date: December 17, 2002

    Duration: 2 hours

    Course Code: GCS-Q106

  • 7/31/2019 Special GUI Considerations

    2/18

    Feb. 04, 2002 Confidential 2

    Contents

    Introduction

    For Check Box/Check Box Group

    For Radio Button Group

    For Button

    For Edit Box

    For Combo Box

    For List Box

    For Tree View Control

  • 7/31/2019 Special GUI Considerations

    3/18

  • 7/31/2019 Special GUI Considerations

    4/18

    Feb. 04, 2002 Confidential 4

    For Check Box/Check Box Group

    When writing test cases regarding to testing the

    check box/check box

    group, the following features should be focused: Status is enabled or disabled

    Check or un-check by mouse

    Move focus to and check or un-check by thespace bar key

    For check box gr

    oup:

    Move focus to and use the Up or Down key toselect a check box

  • 7/31/2019 Special GUI Considerations

    5/18

    Feb. 04, 2002 Confidential 5

    For Radio Button Group

    When writing test cases regarding totesting the radio button group,

    the following features should be focused:

    Status of group is enabled or disabled Select a radio button by mouse in group

    Move focus to and un- select by moving

    focus to other Move focus to and use the Up or Down

    key to select a radio button

  • 7/31/2019 Special GUI Considerations

    6/18

    Feb. 04, 2002 Confidential 6

    For Button

    When writing test cases regarding to testing

    the button, the

    following features should be focused:

    Status is enabled or disabled

    Press button by mouse click

    Move focus to and press the Enter key

    Type of button

  • 7/31/2019 Special GUI Considerations

    7/18

    Feb. 04, 2002 Confidential 7

    For Edit Box

    When writing test cases regarding to testing

    the Edit Box, the

    following features should be focused:

    Status is enabled or disabled

    Enter data

    The entered data and the displayed dataare the same

    Delete/Modify an entered data

    The maximum of len th er box

  • 7/31/2019 Special GUI Considerations

    8/18

    Feb. 04, 2002 Confidential 8

    For Combo Box

    When writing test cases regarding to testing

    the combo box, the

    following features should be focused:

    Status is enabled or disabled

    How many default items

    Item is highlighted when selected bymouse

    Move focus to and use the Up or Downkey to select an item

    TestAnalyst

    I want a list of all test cases forthe combo box

  • 7/31/2019 Special GUI Considerations

    9/18

    Feb. 04, 2002 Confidential 9

    For List Box

    When writing test cases regarding to testing

    the list box, the

    following features should be focused:

    Status is enabled or disabled

    How many default items

    Item is highlighted when selected bymouse

    Select multi items by mouse + key

    Move focus to and use the U or Down

  • 7/31/2019 Special GUI Considerations

    10/18

    Feb. 04, 2002 Confidential 10

    For Tree View Control

    When writing test cases regarding to testing

    the tree view control,

    the following features should be focused: Status is enabled or disabled

    How many default items

    Item is highlighted when selected bymouse

    Cant select multi items by mouse + key

    Move focus to and use the U or Down

  • 7/31/2019 Special GUI Considerations

    11/18

    Feb. 04, 2002 Confidential 11

    For Tab Control Group

    When writing test cases regarding totesting the tab control group,

    the following features should be focused:

    Status of group is enabled or disabled Tab is selected and activated by clicking

    Use the key combination to move to and

    select and activate a tab Use the Tab key to move focus to per

    object in a tab

  • 7/31/2019 Special GUI Considerations

    12/18

    Feb. 04, 2002 Confidential 12

    For Grid Control

    When writing test cases regarding totesting the Grid control,

    the following features should be focused:

    Status of group is enabled or disabled Arrange all items in order increase or

    decrease by clicking on header

    Data display with default sorting( specificcolumn(s))

    Add new row

    Modify/delete a value/row

  • 7/31/2019 Special GUI Considerations

    13/18

    Feb. 04, 2002 Confidential 13

    Notes

    When writing test cases should be focused: Start condition (manual/ Automation test)

    For each control: allow to display

    Tooltip/Hint or not? Hot key

    Position of control in a screen

    Can perform without using mouse Other constraints

  • 7/31/2019 Special GUI Considerations

    14/18

    Feb. 04, 2002 Confidential 14

    Sample Test Cases

    Click here to show the sample test cases

    http://localhost/var/www/apps/conversion/releases/20121024195125/tmp/VSS_TEMP/Materials/Quality/Special%20GUI%20Considerations/Slides/Test%20Case%20Partterns/Test%20Case%20Partterns.dochttp://localhost/var/www/apps/conversion/releases/20121024195125/tmp/VSS_TEMP/Materials/Quality/Special%20GUI%20Considerations/Slides/Test%20Case%20Partterns/Test%20Case%20Partterns.doc
  • 7/31/2019 Special GUI Considerations

    15/18

    Feb. 04, 2002 Confidential 15

    Experience shared

    Some testing difficulties Event-driven software

    Special sistuation? Many choice for users actions Unexpected events

    Occur at any time, by OS, drivers..

    Object oriented For fixed problems

    Hidden synchronisation anddependencies

    Where are they?

  • 7/31/2019 Special GUI Considerations

    16/18

    Feb. 04, 2002 Confidential 16

    REFERENCES

    Referent Documents:

    Toronto Lab Software Test ProcessNorthern Telecom

    Rational Unified Process

    Rational Software Corp.

    https://www.cybersoft-vn.com/Tools/RationalUnifiedProcess/copyrite/copyrite.htmhttps://www.cybersoft-vn.com/Tools/RationalUnifiedProcess/copyrite/copyrite.htm
  • 7/31/2019 Special GUI Considerations

    17/18

    Feb. 04, 2002 Confidential 17

    Question/ answer

  • 7/31/2019 Special GUI Considerations

    18/18

    Feb. 04, 2002 Confidential 18

    THANK YOU