Вы находитесь на странице: 1из 42

Decision

Decision Table

Page 1

Decision
Smart Alarm screen Title : Buttons Input conditions Add Alarm TRUE NA NA NA NA TRUE FALSE FALSE FALSE FALSE DT1 NA TRUE NA NA FALSE FALSE TRUE FALSE FALSE FALSE DT2

Edit Alarm
Del Alarm Settings No item is selected Output Conditions New Alarm screen is displayed Edit Alarm screen is displayed Warning Message : No item is selected Question "Are you sure?" Settings screen is displayed Test Group Tags Title :Clock Control Input conditions Alarm button State is enabled Output Conditions Status : Enabled Status : Disabled Test Group Tags Title :Alarms field Input conditions Select one item from the field Alarms The field is empty No item is selected Output Conditions Display the time Display the message Don't display anything Test Group Tags Alarm screen general Title : Defaults Input conditions Input Mode Output Conditions Alarm Time Message Test Group Tags Title : Add a new alarm Input conditions Alarm Time Message Write an existing hour Ok button

TRUE TRUE FALSE TRUE DT7

TRUE FALSE TRUE FALSE DT8

TRUE NA FALSE TRUE TRUE FALSE DT9

NA TRUE NA FALSE FALSE TRUE DT10

Add <blank> <blank> <blank> DT12

Edit <stored value> <stored value> <stored value> DT13

<blank> <valid value> <valid value> NA TRUE

<valid value> <blank> <valid value> NA TRUE

Page 2

Decision
Cancel button Output Conditions The alarm is displayed into Alarms field Error Message : Wrong format in time, use: 24:00 time format Error message : Fill in all the fields first Smart Alarm screen is displayed Warning message: This hour is already set Error Message : The Alarm Name must be 50 characters or less Error Message : The Message must be 255 characters or less Test Group Tags Title : Edit an existing alarm Input conditions Alarm field Time field Message field Write an existing hour Ok button Cancel button Output Conditions The selected field will be updated Error Message : Wrong format in time, use: 24:00 time format Error Message : Fill in all the fields first Smart Alarm screen is displayed Warning Message : This hour is already set The old alarm will be removed Error Message : The Alarm Name must be 50 characters or less Error Message : The Message must be 255 characters or less FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE DT22 Title : Delete an existing alarm Input conditions Yes button No button No item is selected Output Conditions The item selected is deleted The item selected is not deleted Warning Message : No item is selected Test Group Tags Alarm screen general Settings Title : Settings screen Input conditions Auto Enable Alarm check box Alarm Sound field Auto Save Alarms and Settings check box Ok button Cancel button Output Conditions The options are saved The options are not saved TRUE FALSE FALSE TRUE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE FALSE TRUE TRUE FALSE FALSE DT30 FALSE FALSE TRUE DT31 TRUE FALSE FALSE TRUE FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE DT23 <blank> <stored value> <stored value> FALSE TRUE FALSE <stored value> <blank> <stored value> FALSE TRUE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE DT14 FALSE FALSE TRUE FALSE FALSE FALSE FALSE DT15 FALSE FALSE

Page 3

Decision
Test Group Tags Title : Alarm Sound Browse button Input conditions Click on browse button Choose a sound Output Conditions The window Open is displayed The field Alarm Sound is updated The field Alarm Sound is not updated Test Group Tags Title : Save settings Input conditions Auto Enable Alarm check box Auto Save Alarms and Settings check box There is at least an alarm that was saved before the application was closed Alarm Sound field Open the application Output Conditions Status Enabled The settings are kept The alarm sound is the song that was set The alarms are displayed in the alarm field Test Group Tags Alarm window Title : Alarm window general Input conditions There is at least an alarm saved Status Enabled The current time is the same like a time alarm Output Conditions The alarm ring The alarm window is displayed The alarm window is not displayed The alarm no ring Test Group Tags Title : Alarm window screen Input conditions The alarm ring Output Conditions The alarm window screen is displayed The alarm name is displayed The time is displayed The message is displayed Test Group Tags Title : Buttons Input conditions Turn Off TRUE FALSE TRUE TRUE TRUE TRUE DT48 TRUE FALSE FALSE TRUE TRUE DT44 TRUE TRUE FALSE FALSE DT45 TRUE TRUE FALSE TRUE TRUE TRUE TRUE TRUE TRUE TRUE DT40 FALSE FALSE FALSE FALSE DT41 TRUE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE TRUE TRUE FALSE DT37 TRUE FALSE TRUE DT38 TRUE TRUE TRUE FALSE DT33 DT34

Page 4

Decision
Output Conditions The alarm is stopped The alarm is not stopped Test Group Tags TRUE FALSE DT49 FALSE TRUE DT50

Page 5

Decision

Page 6

Decision

NA TRUE NA NA TRUE FALSE FALSE TRUE FALSE FALSE DT3

NA NA TRUE NA FALSE FALSE FALSE FALSE TRUE FALSE DT4

NA NA TRUE NA TRUE FALSE FALSE TRUE FALSE FALSE DT5

NA NA NA TRUE NA FALSE FALSE FALSE FALSE TRUE DT6

FALSE NA TRUE FALSE FALSE TRUE DT11

<valid value> Not in format time <valid value> NA TRUE

>50 characters <valid value> <valid value> FALSE TRUE

<valid value> >255 characters <valid value> TRUE TRUE

<valid value> <valid value> <valid value> FALSE TRUE

<valid value> <valid value> <valid value> TRUE TRUE

<valid value> <valid value> <valid value> NA FALSE

Page 7

Decision
FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE DT16 FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE DT17 FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE DT18 FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE DT19 FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE DT20 TRUE FALSE FALSE FALSE TRUE FALSE FALSE FALSE DT21

<stored value> <stored value> <stored value> TRUE TRUE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE DT24

<stored value> Not in format time <stored value> FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE DT25

>50 characters <stored value> <stored value> FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE DT26

<stored value> <stored value> >255 characters FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE DT27

<stored value> <stored value> <stored value> FALSE TRUE FALSE TRUE FALSE FALSE TRUE FALSE TRUE FALSE FALSE DT28

<stored value> <stored value> <stored value> FALSE FALSE TRUE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE DT29

FALSE TRUE FALSE FALSE TRUE FALSE DT32

FALSE FALSE TRUE TRUE FALSE TRUE FALSE

FALSE TRUE FALSE TRUE FALSE TRUE FALSE

Page 8

Decision
DT35 DT36

FALSE NA FALSE NA NA DT39

FALSE TRUE FALSE FALSE TRUE FALSE TRUE FALSE FALSE DT42

FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE DT43

FALSE NA NA FALSE FALSE TRUE TRUE DT46

TRUE FALSE TRUE FALSE FALSE TRUE TRUE DT47

Page 9

Decision

Page 10

Boundary
Boundary Analysis Condition Smart Alarm screen Form Header Caption Description Status Alarms Details Number of Buttons System defined caption System defined strings System defined strings System defined strings 5 VP1 VP2 VP3 VP4 >5 VP5 <5 IP2 IP3 Anything else IP1 Valid Partition Tag Invalid Partition Tag

Buttons Caption New Alarm screen

System defined buttons >0 chars

VP6 VP7 VP8 VP9 VP10 VP11 VP12 VP13 VP14 VP15 2 VP16 VP17 >5 IP12 IP13 IP14 IP15 >255 chars <2 >2 IP9 IP10 IP11 >=60 Anything else IP7 IP8 >=24 IP6 <1char >50 chars IP4 IP5

Alarm Time field

<=50 chars >=0

Hours Minutes Separator Message Number of Buttons Buttons displayed Time length Number of chars Edit Alarm screen

<24 >=0 <60 System defined char >=0 chars <=255 chars

System defined buttons

5 >0 chars

VP18 VP19 VP20 VP21 VP22 VP23 VP24 VP25 VP26 VP27 2 VP28 VP29

<5 <1char >50 chars

Alarm Time field

<=50 chars >=0

Hours Minutes Separator Message Number of Buttons Buttons displayed Time length

<24 >=0 <60 System defined char >=0 chars <=255 chars

>=24 >=60 Anything else >255 chars <2 >2

IP16 IP17 IP18 IP19 IP20 IP21

System defined buttons

>5 Number of chars 5 VP30 <5

IP22 IP23

Page 11

Boundary
Settings screen

Types of objects displayed Start Settings

System defined types TRUE

VP31 VP32 VP33 VP34 VP35 2 VP36 VP37 >1 IP28 IP29 IP30 Anything else <2 >2 IP25 IP26 IP27 Anything else IP24

Auto Enable Alarm Close Settings

FALSE TRUE

Auto Save Alarms And Settings Number of Buttons Buttons displayed Alarm screen Number of Buttons Buttons displayed

FALSE

System defined buttons

1 System defined buttons

VP38 VP39

<1 Anything else

Page 12

Boundary

Valid Boundaries Smart Alarm [ Status : Enabled ] [ Status : Disabled ] Alarms Time Message 5 Add Alarm Edit Alarm Del Alarm Settings Alarm 1 char 50 chars 0 23 0 59 : <blank> 255 chars 2

Tag VB1 VB2 VB3 VB4 VB5 VB6 4 VB7 VB8 VB9 VB10 VB11 VB12 VB13 VB14 VB15 VB16 VB17 VB18 VB19 VB20 VB21 VB22 VB23 VB24 4 60 24 6

Invalid Boundaries

Tag

IB1 IB2

0 chars 51 chars

IB3 IB4

IB5 IB6

256 chars 1 3

IB7 IB8 IB9

Ok
Cancel

IB10 IB11 IB12 IB13

5 1 char 50 chars 0 23 0 59 : <blank> 255 chars 2

VB25 VB26 VB27 VB28 VB29 VB30 VB31 VB32 VB33 VB34 VB35 VB36 VB37

6 0 chars 51 chars

24 60

IB14 IB15

256 chars 1 3

IB16 IB17 IB18

Ok
Cancel

4 5 VB38 6

IB19 IB20

Page 13

Boundary
2 Check boxes Edit box Buttons VB39 VB40 VB41

1 2 VB42 VB43 VB44 2 1 Turn Off VB45 VB46 0 3

IB21 IB22

Ok
Cancel

IB23 IB24

Page 14

Intermediate
Intermediate Intermediate

Goal#
1

Priority
2

Test Conditions VB7, IB1, IB2, VB1, VB4-VB6, VB8-VB12 DT1, DT2, DT4, DT6, VB22, IB8, IB9, VB23, VB24, DT12, DT9, VB35, IB17, IB18, VB36, VB37, DT13, VB39-VB41, VB42, IB21, IB22, VB43, VB44

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

2 1 2 1 1 1 2 1 1 2 2 2 2 3 3 1

VB2, VB3, DT7, DT8 DT19, DT21 IB3-IB7, DT14-DT18 VB13, VB15, VB17, VB20, DT19 VB14, VB16, VB18, VB21, DT19 DT28, DT29 IB12-IB16, DT22, DT23, DT25-DT27 VB26, VB28, VB30, VB33, DT28 VB27, VB29, VB31, VB34, DT28 DT33- DT39 DT30, DT32 DT31, DT5 DT3 DT20 DT24 DT45, DT47, DT48, DT49, VB45, VB46, IB23, IB24

19

DT40-DT43

Page 15

Intermediate

Scenario
User opens the Smart Alarm screen, checks valid number of buttons and inspects the header caption, the alarms field, the details field and the buttons User checks the buttons functionality in the initial Smart Alarm screen

User clicks Alarm button and lists the expected status User checks the buttons functionality in the New Alarm screen User opens the New Alarm screen and enters invalid input in the fields User opens the New Alarm screen and enters minimum valid values in the fields User opens the New Alarm screen and enters maximum valid values in the fields User checks the buttons functionality in the Edit Alarm screen User opens the Edit Alarm screen and enters invalid input in the fields User opens the Edit Alarm screen and enters minimum valid values in the fields User opens the Edit Alarm screen and enters maximum valid values in the fields Users checks the buttons and the check boxes functionality in the Settings screen User clicks Delete button for a selected item User clicks Delete Button when no item is selected User clicks Edit button when no item is selected User opens the New Alarm screen and enters an existing hour User opens the Edit Alarm screen and enters an existing hour The current time is the same like a time alarm User checks the valid number of buttons, inspects the button and their functionality

User opens the initial Alarm Smart screen and inspects the saved settings

Page 16

Intermediate

Goal
Verify system accepts valid number of buttons and lists the expected header caption, alarms field, details field and buttons in the form Verify that the system is performing the expected action when certain button is being pressed Verify system accepts valid number of buttons and lists the expected buttons in the form Verify that the system displays the Alarm entry/edit screen with the expected default properties Verify that the system displays the expected status Verify the system is performing the expected action when certain button is being pressed Verify system prevents invalid user input Verify system accepts valid user input (min) Verify system accepts valid user input (max) Verify the system is performing the expected action when certain button is being pressed Verify system prevents invalid user input Verify system accepts valid user input (min) Verify system accepts valid user input (max) Verify the system is performing the expected action when certain button is being pressed Verify that the system prevents the user to delete an existing alarm Verify that the system notifies the user that no item is selected Verify that the system notifies the user that no item is selected Verify that system notifies the user that this hour is already set Verify that system notifies the system that this hour is already set Verify that the system displays the expected values, accepts valid number of buttons, lists the expected buttons in the form. Verify that the system is performing the expected action when certain button is being pressed Verify that system saved the settings

Page 17

Test Cases
Test Cases Test Case Name Priority TC01 - Verify system accepts 2 valid number of buttons and lists the expected header caption, alarms field, details field and buttons in the form Navigation Step 1 2

TC02 Verify that the system is performing the expected action when certain button is being pressed Verify system accepts valid number of buttons and lists the expected buttons in the form Verify that the system displays the Alarm entry/edit screen with the expected default properties

1 2

4 5 6

9 10 11 12

13 TC03 - Verify that the system displays the expected status 2 1 2 3 4 TC04 - Verify the system is performing the expected action when certain button is being pressed 1 1 2 3 4

Page 18

TC04 - Verify the system is performing the expected action when certain button is being pressed

Test Cases
5 6 7 8

TC05 - Verify system prevents invalid user input

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

24 25 26 27 28 29

Page 19

Test Cases
30 31 TC06 - Verify system accepts valid user input (min) 1 1 2 3 4 5 6 7 8

TC07 - Verify system accepts valid user input (max)

1 2 3

4 5

TC08 - Verify the system is performing the expected action when certain button is being pressed

1 2 3

4 5 6 7

8 9

Page 20

Test Cases
10

11 12 13 14

15 16

TC09 - Verify system prevents invalid user input

1 2 3

4 5 6 7 8 9 10 11 12 13 14 15

16 17

18 19 20 21

Page 21

Test Cases
TC10 - Verify system accepts valid user input (min) 1 1 2 3

4 5 6 7

8 9

TC11 - Verify system accepts valid user input (max)

1 2 3

5 6

TC12 - Verify the system is performing the expected action when certain button is being pressed

1 2 3 4 5 6

Page 22

pressed

Test Cases
7 8 9 10

11 12 13 14

15 16

17 18

19 20 21 22 23 24

25 TC13 - Verify that the system prevents the user to delete an existing alarm 2 1 2 3 4

5 6

TC14 - Verify that the system notifies the user that no item is selected

1 2 3

TC15 - Verify that the system notifies the user that no item is selected

1 2 3

TC16 - Verify that system notifies the user that this hour is already set

Page 23

TC16 - Verify that system notifies the user that this hour is already set

Test Cases
2

3 4 5 6 7 TC17 - Verify that system notifies the system that this hour is already set 3 1 2

3 4

5 6

TC18 Verify that the system displays the expected values, accepts valid number of buttons, lists the expected buttons in the form. Verify that the system is performing the expected action when certain button is being pressed

1 2

4 5

TC19 - Verify that system saved the settings

1 2

3 4 5 6 7

Page 24

Test Cases
9 10 11 12

13 14 15 16 17 18

Page 25

Test Cases

Action

Expected Result The Smart Alarm screen is displayed. The header caption is Smart Alarm 5 buttons are displayed on the form: Add Alarm Edit Alarm Del Alarm Settings Alarm The Alarms field is displayed: Alarms The Details field is displayed: Time The Smart Alarm screen is displayed The New Alarm screen is displayed 2 buttons are displayed on the form: Ok Cancel The default values should be: Alarm: <blank> Time: <blank> Message: <blank>

Press Add Alarm button

Check the default values for the New Alarm form

Press Cancel to return to the main window Select alarm Alarm_01 from the Alarms fields Check the expected values for the Details form The expected values should be: Time: 10:30 Message: Message_01 The Edit Alarm screen is displayed 2 buttons are displayed on the form: Ok Cancel The default values should be: Time: 10:30 Message: Message_01 The question Are you sure? is displayed The Settings screen is displayed 2 buttons are displayed on the form: Ok Cancel Types of objects displayed are: Check Box ( 2 ) Edit Box Button The Check Boxes displayed are: Auto Enable Alarm

Press Edit Alarm button

Check the default values for the Edit Alarm form

Press Cancel to return to the main window Press Del Alarm button Press No to return to the main window Press Settings button

Press Cancel to return to the main window The Smart Alarm screen is displayed Check the default value for the status Press Alarm button Press Alarm button No status is displayed The status Enabled is displayed The status Disabled is displayed The Smart Alarm screen is displayed Press Add Alarm button Fill in the Alarm field with the string a Fill in the Time field with the string 13:00 The New Alarm screen is displayed

Page 26

Test Cases
Fill in the Message field with the string aaa Press Cancel button Press Add Alarm button Fill in the Alarm field with the string a Fill in the Time field with the string 13:00 Fill in the Message field with the string aaa Press Ok button Select alarm a from the Alarms fields Check the expected values for Details field The expected values should be: Alarm: a Time: 13:00 Message: aaa The Smart Alarm screen is displayed Press Add Alarm button Leave the Alarm field empty Fill in the Time field with the string 09:00 Fill in the Message field with the string aaa Press Ok button Fill in the Alarm field with the string a Change the value from the Time field to <blank> Fill in the Message field with the string aaa Press Ok button Fill in the Alarm field with the string a Try to fill in the Time field with the string 45465 Fill in the Message field with the string aaa Press Ok button Fill in the Alarm field with the string a Try to fill in the Time field with the string 24:00 Fill in the Message field with the string aaa Press Ok button Fill in the Alarm field with the string a Try to fill in the Time field with the string 00:60 Fill in the Message field with the string aaa Press Ok button Try to fill in the Alarm field with the string aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaa (51 chars) Fill in the Time field with the string 09:00 Fill in the Message field with the string aaa Press Ok button Fill in the Alarm field with the string a Fill in the Time field with the string 09:00 Try to fill in the Message field with the string aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaa (256 chars) The alarm isn't saved and the message : The Alarm Name must be 50 characters or less is displayed The alarm isn't saved and the message Wrong format in time, use: 24:00 time format is displayed The alarm isn't saved and the message Wrong format in time, use: 24:00 time format is displayed The alarm isn't saved and the message Wrong format in time, use: 24:00 time format is displayed The alarm isn't saved and the message Fill in all the fields first is displayed The alarm isn't saved and the message Fill in all the fields first is displayed The New Alarm screen is displayed The Smart Alarm screen is displayed The alarm a is displayed into Alarms field The Smart Alarm screen is displayed The alarm a shouldn't be displayed into Alarms field The New Alarm screen is displayed

Page 27

Test Cases
Press Ok button Press Cancel to return to the main window The Smart Alarm screen is displayed Press Add Alarm button Fill in the Alarm field with the string b Fill in the Time field with the string 00:00 Leave the Message field empty Press Ok button Select alarm b from the Alarms fields Check the expected values for the Details field The expected values should be: Time : 00:00 Message : <blank> The Smart Alarm screen is displayed Press Add Alarm button Fill in the Alarm field with the string aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaa (50 chras) Fill in the Time field with the string 23:59 Fill in the Message field with the string aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaa (255 chars) Press Ok button The Smart Alarm screen is displayed The alarm aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Select alarm aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaa (50 chars) from the Alarms fields The expected values should be: Check the expected values for Details field Time : 23:59 Message : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaa (255 chars) The Smart Alarm screen is displayed Select the alarm Alarm_01 from the Alarms fields Press Edit Alarm button The Edit Alarm screen is displayed The default values should be: Alarm: Alarm_01 Time: 10:30 Message: Message_01 The New Alarm screen is displayed The Smart Alarm screen is displayed The alarm b should be displayed into Alarms field The New Alarm screen is displayed The alarm isn't saved and the message : The Message must be 255 characters or less is displayed

Fill in the Alarm field with the string c Fill in the Time field with the string 10:00 Fill in the Message field with the string aaa Press Cancel button

The Smart Alarm screen is displayed The alarm Alarm_01 should be displayed into Alarms field and The expected values should be: Time: 10:30 Message: Message_01

Select the alarm Alarm_01 from the Alarms fields Check the expected values for the Details field

Page 28

Test Cases
Press Edit Alarm button The Edit Alarm screen is displayed The default values should be: Alarm: Alarm_01 Time: 10:30 Message: Message_01

Fill in the Alarm field with the string c Fill in the Time field with the string 10:00 Fill in the Message field with the string aaa Press Ok button

The Smart Alarm screen is displayed The alarm c should be displayed into Alarms field and the alarm The expected values should be: Time: 10:00 Message: aaa The Smart Alarm screen is displayed

Select the alarm c from the Alarms fields Check the expected values for the Details field

Select the alarm Alarm_02 from the Alarms fields Press Edit Alarm button The Edit Alarm screen is displayed The default values should be: Alarm: Alarm_02 Time: 12:00 Message: Message_02 The alarm isn't saved and the message Fill in all the fields first is displayed

Change the value from the Alarm field to <blank> Press Ok button Fill in the Alarm field with the string a Change the value from the Time field to <blank> Press Ok button Try to change the value from the Time field to the string 45465 Press Ok button Try to change the value from the Time field to the string 24:00 Press Ok button Try to change the value from the Time field to the string 00:60 Press Ok button Try to change the value from the Alarm field to the string aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaa (51 chars) Press Ok button The alarm isn't saved and the message : The Alarm Name must be 50 characters or less is displayed The alarm isn't saved and the message Fill in all the fields first is displayed

The alarm isn't saved and the message Wrong format in time, use: 24:00 time format is displayed

The alarm isn't saved and the message Wrong format in time, use: 24:00 time format is displayed

The alarm isn't saved and the message Wrong format in time, use: 24:00 time format is displayed

Try to to change the value from the Message field to the string aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaa (256 chars) The alarm isn't saved and the message : The Message must Press Ok button be 255 characters or less is displayed Press Cancel to return to the main window Select the alarm Alarm_02 from the Alarms fields Check the expected values for the Details field The expected values should be: Time : 12:00 Message : Message_02

Page 29

Test Cases
The Smart Alarm screen is displayed Select the alarm Alarm_02 from the Alarms fields Press Edit Alarm button The Edit Alarm screen is displayed The default values should be: Alarm: Alarm_02 Time: 12:00 Message: Message_02

Change the value from the Alarm field to the string d Change the value from the Time field to the string 00:00 Change the value from the Message field to <blank> Press Ok button

The Smart Alarm screen is displayed The alarm d should be displayed into Alarms field and the alarm The expected values should be: Time : 00:00 Message : <blank> The Smart Alarm screen is displayed

Select the alarm d from the Alarms fields Check the expected values for the Details field

Select the alarm Alarm_03 from the Alarms fields Press Edit Alarm button The Edit Alarm screen is displayed The default values should be: Alarm: Alarm_03 Time: 20:00 Message: Message_03

Change the value from the Alarm field to the string bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbbb (50 chars) (50 chras Change the value from the Time field to the string 23:59 Change the value from the Message field to the string aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaa (255 chars) Press Ok button The Smart Alarm screen is displayed The alarm bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb (50 chars) should be displayed into Alarms field and the alarm Select the alarm bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbb (50 chars) from the Alarms fields Check the expected values for the Details field The expected values should be: Time : 23:59 Message : bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbbbbbbbbbbbb (255 chars) The Smart Alarm screen is displayed. The Settings screen is displayed

Press Settings button Change the value from the Auto Enable Alarm to True (checked) Press Browse button Choose the song Song_01.mp3 from My Computer Press Open button

The window Open is displayed The song is updated The expected value in the Edit Box should be: Song_01.mp3 The Settings screen is displayed

Page 30

Test Cases
Change the value from the Auto Save Alarms and Settings to True (checked) Press Cancel button Press Settings button Check the expected values for the Settings form The changes shouldn't be saved The Smart Alarm screen is displayed The Settings screen is displayed Auto Enable Alarm: not checked Edit Box : <blank> Auto Save Alarms and Settings : not checked

Change the value from the Auto Enable Alarm to True ( checked) Press Browse button Choose the song Song_01.mp3 from My Computer Press Open button

The window Open is displayed The song is updated The expected value in the Edit Box should be: Song_01.mp3 The Settings screen is displayed

Change the value from the Auto Save Alarms and Settings to True (checked) Press Ok button

The changes should be saved The Smart Alarm screen is displayed The Settings screen is displayed Auto Enable Alarm: checked Edit Box : Song_01.mp3 Auto Save Alarms and Settings : checked

Press Settings button Check the expected values for the Settings form

Change the value from the Auto Enable Alarm to False (not checked) Change the value from the Edit Box to <blank> Change the value from the Auto Save Alarms and Settings to False (not checked) Press Ok button Press Settings button Check the expected values for the Settings form

The changes should be saved The Smart Alarm screen is displayed The Settings screen is displayed Auto Enable Alarm: not checked Edit Box : <blank> Auto Save Alarms and Settings : not checked

Press Cancel button to return to the main menu

The Smart Alarm screen is displayed. Select the alarm Alarm_04 from the Alarms fields Press Del Alarm button Press No button The question Are you sure? is displayed The Smart Alarm screen is displayed The alarm Alarm_04 is displayed into Alarms field The question Are you sure? is displayed The Smart Alarm screen is displayed The alarm Alarm_04 should not be displayed into Alarms field The Smart Alarm screen is displayed. No item is selected Press Del Alarm button The message : No item is selected is displayed The Smart Alarm screen is displayed. No item is selected Press Edit Alarm button The message : No item is selected is displayed The Smart Alarm screen is displayed.

Press Del Alarm button Press Yes button

Page 31

Test Cases
Select alarm Alarm_05 from the Alarms fields The expected values for the Details field should be: Time : 11:00 Message : Massage_05 The New Alarm screen is displayed

Press Add Alarm button Fill in the Alarm field with the string a Fill in the Time field with the string 11:00 Fill in the Message field with the string aaa Press Ok button

The message : This hour is already set is displayed

Select the alarm Alarm_06 from the Alarms fields

The Smart Alarm screen is displayed. The expected values for the Details field should be: Time : 11:10 Message : Massage_06 The Edit Alarm screen is displayed The default values should be: Alarm: Alarm_05 Time: 11:00 Message: Message_05 The message : This hour is already set is displayed in the middle of the form The Smart Alarm screen is displayed. The alarm ring The Alarm window is displayed The expected values should be: Alarm_05 11:00 Message_05 1 button is displayed on the form: Turn Off The alarm should stop and not be displayed into Alarms field The Smart Alarm screen is displayed The status should be: Disabled The alarm Alarm_06 must not ring The Alarm window should not be displayed The Smart Alarm screen is displayed. The expected values for the Alarms field should be: a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (50 chars) Alarm_06 b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb (50 chars) The Settings screen is displayed

Select the alarm Alarm_05 from the Alarms fields Press Edit Alarm button

Change the value from the Time field to the string 11:10 Press Ok button

The current time is 11:00

Press Turn Off button

Press Alarm button The current time is 11:10

Check the expected values for Alarms field

Press Settings button Change the value from the Auto Enable Alarm to True (checked) Press Browse button Choose the song Song_01.mp3 from My Computer Press Open button

The window Open is displayed The song is updated The expected value in the Edit Box should be: Song_01.mp3 The Settings screen is displayed

Change the value from the Auto Save Alarms and Settings to True (checked)

Page 32

Test Cases
Press Ok button Close the Smart Alarm application Open the Smart Alarm application The changes should be saved The Smart Alarm screen is displayed The application is closing The Smart Alarm screen is displayed. The expected values into Alarms field should be: a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaa (50 chars) Alarm_06 b bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbb (50 chars) c d The status should be: Enabled The Settings screen is displayed

Check the expected values for the Alarms filed Press Settings button Change the value from the Auto Save Alarms and Settings to False (not checked) Press Ok button Close the Smart Alarm application Open the Smart Alarm application Check the expected values for the Alarms filed

The changes should be saved The Smart Alarm screen is displayed The application is closing The Smart Alarm screen is displayed. The Alarms field should be empty The status should be: Disabled

Page 33

Test Cases

Actual Result

Pass/Fail

Issue ID

Page 34

Test Cases

Page 35

Test Cases

Page 36

Test Cases

Page 37

Test Cases

Page 38

Test Cases

Page 39

Test Cases

Page 40

Test Cases

Page 41

System Setup_precondition

Alarms 1 Alarm Time Message 2 Alarm Time Message 3 Alarm Time Message 4 Alarm Time Message 5 Alarm Time Message 6 Alarm Time Message Alarm_01 10;30 Message_01 Alarm_02 12;00 Message_02 Alarm_03 20;00 Message_03 Alarm_04 22;00 Message_04 Alarm_05 11;00 Message_05 Alarm_06 11;10 Message_06

Songs 1 Song_01.mp3 2 Song_02.wav

Page 42

Вам также может понравиться