Sunteți pe pagina 1din 34

TEST CASE

Project Name Student Management Project Code SM-2009 Document Name M-2009_Test Case_v0.3 S Author Reviewer/Approver Issue Date Version Ha Thi Thu Huong Van Kim Ngan

0.1

Record of change: Effective Date Version

Change Item

*A,D,M D

Change description remove add account

Reference

02ae-BM/PM/HDCV/FSOFT v1/0

1/34

Graphic User Interface TOC Total: Passed: Failed: Not yet tested: Cancelled: 14 0 0 0 0

Test case ID

Field Name Type

Expected result Madatory Editable Default value Max Lengt

Module Name Precondition/Context: Subject Management Subject Management--4 ubject Name S Textbox Y Y student Subject Management--3 escription D Textbox Y Y Add Button Edit Button Delete Button Add Subject Subject Name Textbox Y Y Blank Description Textbox Y Y Blank Save Button Cancel Button Add Subject Subject Name Textbox Y Y Description Textbox Y Y Add Button Edit Button Delete Button Common case Note: Common cases apply for all new/edit/display pages of all modules.

50 100

50 100

Test Statu Range / Value

Test Date

Remark

TEST CASE Module Code Test requirement Tester Pass 0 ID Fail 0 Untested 0 Test Case Procedure N/A 0 Expected Output

Account Management

Test Case Description Account Management Search Account

Pass Fail Number of Test cases 0 Expected Output Inter-test case Actual Output Result Untesed N/A Note

TEST CASE Module Code Test requirement Tester Pass 0 ID Fail 0 Untested 42 Test Case Procedure N/A 0 Expected Output

Subject Management

Test Case Description Subject Management [Subject Check 'Subject Management-1 Management' screen when user is Student [Subject Check 'Subject Management-2 Management' screen when user is Teacher role [Subject Check 'Subject Management-3 Management' screen when user is Administrator role [Subject Check tab, tab-shift Management-4 order, mouse cursor [Subject Management-5 [Subject Management-6 [Subject Management-7 Check Cursor location

1. Login with user that Student role This user can not access 'Subject Manageme 2. Go to 'Subject Management' screen

Subject Management' screen is displayed a 1. Login with user that Teacher role 2. Go to 'Subject Management' screen All fields on this screen are read-only

1. Login with user that Administrator Subject Management' screen is displayed a All fields on this screen are read-only role 2. Go to 'Subject Management' screen

1. Go to 'Subject Management' screen When the user press Tab key, the cursor mo 2. Check tab, tab-shift order, mouse right and top to bottom cursor

1. Go to 'Subject Management' screen - The cursor is located in the first enterable f 2. Check Cursor location screen is opened. - After an error message occurs, the focus re error field Check fields alignment 1. Go to 'Subject Management' screen - The texts vertically left or right aligned. 2. Check fields alignment - The fields vertically left and right aligned.

[Subject Management-8 [Subject Management-9

Check look and feel of 1. Go to 'Subject Management' screen All windows and dialog boxes have a consiste 'Subject Management' 2. Check look and feel of this screen feel. Following items are not the same: screen - Font of text - Colour and Background - Header and footer - Logo Check 'Add' button 1. Go to 'Subject Management' screen Add Subject' screen is displayed 2. Click on 'Add' button Check 'Add' button

1. Go to 'Subject Management' screen The system executes 'Add Subject' functio 2. Click on 'Add' button

[Subject Check 'Edit' button Management-10

1. Go to 'Subject Management' screen The system executes 'Edit Account' functi 2. Click on 'Edit' button

[Subject Edit Account without Management-11 select any Subject

1. Go to 'Subject Management' screen The system displays warning message Pleas 2. Do not select any Subject then click least one Subject" on on 'Edit' button

[Subject Edit more than one Management-12 Subject

1. Go to 'Subject Management' screen The system displays warning message Pleas 2. Select more than one Subject subject to Edit 3. Click on on 'Edit' button

[Subject Check 'Delete' button Management-13

1. Go to 'Subject Management' screen The system executes 'Delete Account' fun 2. Click on 'Delete' button

[Subject Delete without select Management-14 any subject

1. Go to 'Subject Management' screen The system displays warning message Pleas 2. Do not select any subject then click least one subject on on 'Delete' button

Add Subject [Add Subject-15 Check GUI of 'Add Subject' screen [Add Subject-16 Check tab, tab-shift order, mouse cursor [Add Subject-17 Check Cursor location

1. Execute 'Subject Management[140]' function 1. Go to 'Add Subject' screen 2. Check tab, tab-shift order, mouse cursor 1. Go to 'Add Subject' screen 2. Check Cursor location

'Add Subject' screen is displayed as picture

When the user press Tab key, the cursor mo right and top to bottom

[Add Subject-18 Check fields alignment 1. Go to 'Add Subject' screen 2. Check fields alignment [Add Subject-19 Check look and feel of 1. Go to 'Add Subject' screen 'Search Account' 2. Check look and feel of this screen screen

- The cursor is located in the first enterable f screen is opened. - After an error message occurs, the focus re error field - The texts vertically left or right aligned. - The fields vertically left and right aligned.

[Add Subject-20 Check default of 'Subject Name' filed

1. Go to 'Add Subject' screen 2. Check default value of 'Subject Name' field 3. Click on 'Save' button 1. Go to 'Add Subject' screen 2. Do not input data for 'Subject Name' field 3. Click on 'Save' button

All windows and dialog boxes have a consiste feel. Following items are not the same: - Font of text - Colour and Background - Header and footer - Logo Default value of Subject Name is blank

[Add Subject-21 Check mandatory of 'Subject Name' filed

The system displays a warning message to re input data for 'Subject Name' filed. Content of this message is Please enter Sub filed

[Add Subject-22 Check maxlength of 'Subject Name' field

1. Go to 'Add Subject' screen The user does not allow user input more tha 2. Input more than 50 characters into characters 'Subject Name' field

[Add Subject-23 Input special characters into 'Subject Name' field

1. Go to 'Add Subject' screen 2. Input special characters into 'Subject Name' field Example: ^%&*><. 3. Click on 'Save' button

The system displays warning message

[Add Subject-24 Check default of 'Description' filed

1. Go to 'Add Subject' screen Default value of Description is blank 2. Check default value of 'Description' field 3. Click on 'Save' button 1. Go to 'Add Subject' screen 2. Input more than 100 characters into 'Description' field 1. Go to 'Add Subject' screen 2. Input special characters into 'Description' field Example: ^%&*><. 3. Click on 'Save' button 1. Go to 'Add Subject' screen 2. Input all mandatory fields with valid value 1. Go to 'Add Subject' screen 2. Input data for Subject Name that existed into database 1. Go to 'Add Subject' screen 2. Input all mandatory fields 3. Click on 'Cancel' button 1. Execute 'Subject Management[141]' function 1. Go to 'Edit Subject' screen 2. Check tab, tab-shift order, mouse cursor 1. Go to 'Edit Subject' screen 2. Check Cursor location

[Add Subject-25 Check maxlength of 'Description' field [Add Subject-26 Input special characters into 'Description' field

The user does not allow user input more tha characters The system displays warning message

[Add Subject-27 Check Add subject with valid data [Add Subject-28 Check Add subject with existed Subject Name [Add Subject-29 Check 'Cancel' button Edit Subject [Edit Subject-30 Check GUI of 'Edit Subject' screen [Edit Subject-31 Check tab, tab-shift order, mouse cursor [Edit Subject-32 Check Cursor location

A new subject is saved into database The system displays warning message No new subject is saved into database

'Edit Subject' screen is displayed as picture

When the user press Tab key, the cursor mo right and top to bottom

[Edit Subject-33 Check fields alignment 1. Go to 'Edit Subject' screen 2. Check fields alignment [Edit Subject-34 Check look and feel of 1. Go to 'Edit Subject' screen 'Search Account' 2. Check look and feel of this screen screen

- The cursor is located in the first enterable f screen is opened. - After an error message occurs, the focus re error field - The texts vertically left or right aligned. - The fields vertically left and right aligned.

All windows and dialog boxes have a consiste feel. Following items are not the same: - Font of text - Colour and Background - Header and footer - Logo

[Edit Subject-35 Check mandatory of 'Subject Name' filed [Edit Subject-36 Check maxlength of 'Subject Name' field [Edit Subject-37 Input special characters into 'Subject Name' field

1. Go to 'Edit Subject' screen 2. Clear all data of 'Subject Name' field 3. Click on 'Save' button 1. Go to 'Edit Subject' screen 2. Edit data of 'Subject Name' field with more than 50 characters 1. Go to 'Edit Subject' screen 2. Input special characters into 'Subject Name' field Example: ^%&*><. 3. Click on 'Save' button

The system displays a warning message to re input data for 'Subject Name' filed. Content of this message is Please enter Sub filed The user does not allow user input more tha characters The system displays warning message

[Edit Subject-38 Check maxlength of 'Description' field [Edit Subject-39 Input special characters into 'Description' field

1. Go to 'Edit Subject' screen The user does not allow user input more tha 2. Edit value of 'Description' field with characters more than 100 characters 1. Go to 'Edit Subject' screen 2. Input special characters into 'Description' field Example: ^%&*><. 3. Click on 'Save' button The system displays warning message

[Edit Subject-40 Check 'Save' button [Edit Subject-41 Check 'Save' button with existed Subject Name [Edit Subject-42 Check 'Cancel' button Delete Subject [Delete Subject- Check GUI of 'Delete 43 Confirmation' message [Delete Subject- Check 'Delete' button 44 [Delete Subject45 Check 'Yes' button on confirm message

1. Go to 'Edit Subject' screen All changes are updated to database for this 2. Input all mandatory fields 3. Click on 'Save' button 1. Go to 'Edit Subject' screen All changes are updated to database for this 2. Edit Subject Name that existed into database 1. Go to 'Edit Subject' screen Nothing is changed for this subject 2. Input all mandatory fields 3. Click on 'Cancel' button

'Delete Confirmation' message is shown as 1. Execute 'Subject Management[144]' function 1. Go to 'Subject Management' screen The system displays confirm message Pleas 2. Select some Subjects delete these Subjects with YES and No bu 3. Click on 'Delete' button
1. Go to 'Subject Management' screen 2. Select some Subjects 3. Click on 'Delete' button 4. Click on 'Yes' button on confirm message 1. Go to 'Subject Management' screen 2. Select some Subjects 3. Click on 'Delete' button 4. Click on 'No' button on confirm message

3. The system displays confirm message Ple delete these account with YES and No bu 4. Selected Subject(s) will be removed from Management' screen and deleted from datab

[Delete Subject46

Check 'No' button on confirm message

3. The system displays confirm message Ple delete these account with YES and No bu 4. Selected Subject(s) will not be removed fr 'Subject Management' screen s or database

Pass Fail Number of Test cases 42 Expected Output Inter-test case Actual Output Result Untesed N/A Note

user can not access 'Subject Management' screen

ct Management' screen is displayed as picture. elds on this screen are read-only

ct Management' screen is displayed as picture. elds on this screen are read-only

the user press Tab key, the cursor move from left to and top to bottom

cursor is located in the first enterable field when the n is opened. r an error message occurs, the focus return to the field texts vertically left or right aligned. fields vertically left and right aligned.

ndows and dialog boxes have a consistent look and Following items are not the same: t of text our and Background der and footer o ubject' screen is displayed

system executes 'Add Subject' function

system executes 'Edit Account' function

ystem displays warning message Please select at one Subject"

ystem displays warning message Please select one ct to Edit

system executes 'Delete Account' function

ystem displays warning message Please select at one subject

Subject' screen is displayed as picture

the user press Tab key, the cursor move from left to and top to bottom

cursor is located in the first enterable field when the n is opened. r an error message occurs, the focus return to the field texts vertically left or right aligned. fields vertically left and right aligned.

ndows and dialog boxes have a consistent look and Following items are not the same: t of text our and Background der and footer o ult value of Subject Name is blank

ystem displays a warning message to require user data for 'Subject Name' filed. nt of this message is Please enter Subject Name

ser does not allow user input more than 50 cters

ystem displays warning message

ult value of Description is blank

ser does not allow user input more than 100 cters

ystem displays warning message

w subject is saved into database

ystem displays warning message

ew subject is saved into database

Subject' screen is displayed as picture

the user press Tab key, the cursor move from left to and top to bottom

cursor is located in the first enterable field when the n is opened. r an error message occurs, the focus return to the field texts vertically left or right aligned. fields vertically left and right aligned.

ndows and dialog boxes have a consistent look and Following items are not the same: t of text our and Background der and footer o

ystem displays a warning message to require user data for 'Subject Name' filed. nt of this message is Please enter Subject Name

ser does not allow user input more than 50 cters

ystem displays warning message

ser does not allow user input more than 100 cters

ystem displays warning message

anges are updated to database for this subject

anges are updated to database for this subject

ng is changed for this subject

te Confirmation' message is shown as picture

ystem displays confirm message Please confirm e these Subjects with YES and No button

e system displays confirm message Please confirm e these account with YES and No button ected Subject(s) will be removed from the 'Subject gement' screen and deleted from database

e system displays confirm message Please confirm e these account with YES and No button ected Subject(s) will not be removed from the ect Management' screen s or database

TEST CASE Module Code Test requirement Tester Pass 0 ID Fail 0 Untested 0 Test Case Procedure N/A 0 Expected Output

Student Management <Brief description about requirements which are tested in this sheet>

Test Case Description Student Management Search Student

>
Number of Test cases 0 Expected Output Actual Output Result

Pass Fail Untesed N/A Note

1. Subject Management
Subject Management

Subject Name

Description

Subject Name

Description

Subject Name

Description

Add

Edit

Delete

2. Add Subject
Add Subject Add Subject

Subject Name

Description

Save

Cancel

3. Edit Subject
Edit Subject

Subject Name

Description

Subject Name

Description

Subject Name

Description

Add

Edit

Delete

4. Delete Subject

TEST REPORT
Project Name Student Management Project Code SM-2009 SM-2009_Test Report_vx.x Document Name Notes Creator Ha Thi Thu Huong Reviewer/Approver Van Kim Ngan Issue Date <Date when this test report is created>

No 1 2 3 4

Module code Account Management Subject Management Student Management GUI Sub total

Pass 0 0 0 0 0

Fail 0 0 0 0 0

Untested 0 42 0 0 42

N/A 0 0 0 0 0

Number of test cases 0 42 0 0 42

Test coverage Test successful coverage

0.00 % 0.00 %

02ae-BM/PM/HDCV/FSOFT v1/0

S-ar putea să vă placă și