Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

Kindly discuss about following Assignment No 5 of CS-504 in comments...:) best of luck!!!

Objective

The objective of this assignment is:

  • To assess your overall understanding of Software Engineering concepts
  • To check your level of understanding for Test Cases
  • How we create test cases for testing the certain functionality of the system

Note:

The assignment should be in .doc format. Assignment in any format other than MS Word format will not be accepted.

Reference

1)    Healthcare Sales Management System given as Case study in assignment no. 1

2)   Annex-1 (Annex-1.doc) attached with this assignment *

Summary:

In this module we will practice the test cases to test certain parts of the system. Please read the Annex-1 given with this assignment as helping guide. You will have to develop two test cases. 

First one will test the module “Medicine Receive Module” of HealthCare Sales Management System against the functional requirement of “Enter Received Item”

Second one will test the module “User Accounts Module” of HealthCare Sales Management System against the functional requirement of “Edit User Account”.

Questions [Marks 10+10]:

1)    Develop a test case to test the functional requirement “Enter Received Item”.

In order to add an item in the inventory, the user must have Inventory Management rights. To enter the received items in the inventory, the details of the item including the supplier name, quantity, and item receive date and expiry date of the item is entered into a form. The system then saves the item into database and gives the message for success entry of item.

 

2)   Develop a test case to test the functional requirement “Edit User Account”.

In order to edit an account, the account should already exist in the system. Note that only the person having the account management privileges can edit the account. To edit an account, user selects an account to edit and gets a form containing already entered information for the account. The user may change some or all of the information for account. The system then saves the account information and gives the message for successful account edit.

 

Note:  

We will assume that the test cases will be tested in future, so you can skip certain details e.g. Tested By, Result etc. 

 

Your must strictly follow the test case template provided in annex-1.doc file which is uploaded with the assignment file.

See Annex-1 for Sample Test Case!!!!

 

 

 

 

Views: 2333

Attachments:

Replies to This Discussion

The main purpose to test the software testing is to identify the bugs that are present in the software.

 

And a good tester will test the software by using less resource. Testing is exploring the whole system and analyzes errors.

There are two types of testing:

  1. Black box testing (functional testing) testing input output
  2. White box testing (structural testing)

Test Case Example

 

 

 

Test Case #:1234                                                                         Test Case Name: Medicine Receive Module

System:  Health Sales Management System                                                                                                       Subsystem: data Entry

Designed by: ABCDEFG                                                                                                       Design Date: 28/11/2004

Executed by:                                                                                  Execution Date:

 

Short Description: Test the DATA of Item received Entry system

 

 

Pre-conditions

Data Entery Operator should allowed for data entry – Accessed by the system by loging in the application.

The system displays the main menu , with the current items in the Medical Store

 

Step

Action

Expected System Response

Pass/ Fail

Comment

1

Click to enter new data

display a new screen with the fields asking about the details of item

 

 

2

Enter the all the details

Display all the details in well mannered way and ask confirmation to change the current inventory of items

 

 

3

Click ‘YES’

The system will updated and shows the changed inventory and get to main screen again

 

 

4

Click to edit/ delete data items

Shows the data items in the inventory and ask to edit / delete the data items

 

 

5

Make selection of delete or changed items

Proceed to ‘next’ asking confirmation proceeded by “YES” and shows the successfully message

 

 

6

Check the post conditions

 

 

 

 

Post-conditions         

1.   DATA base of Inventry should be display the updated inventory state.

i can't understand this assignment :(

 

 

 

Cs504------ assignment 5

                                                      

 

Solution 1

Test Case #: 1                                                                              Test Case Name: Enter Received Item

System: HealthCare Sales Management                          Subsystem: Medicine Receive Module

Designed by: Aasma Hameed                                        Design Date: 27/06/2012

Executed by: Abdullah                                                       Execution Date: 28/06/2012

 

Short Description: “Medicine Receive Module” of HealthCare Sales Management System against the functional requirement of “Enter Received Item”

 

 

 

 

 

 

Precondition: Medicine Receive Module should allow for data entry accessed by the system in an application.

The system displays the main menu .

It shows the current items in the Medical Store.

 

 

 

 

 

 

 

 

Step

Action

Expected System response

Pass/Fail

Comment

1

Click to enter new data

The system displays a message asking the user to enter the new data.

 

 

2

Enter the value

The system displays all the details in well elaborated way and asks confirmation to change the current inventory of items.

 

 

3

Click “Yes”

The system asks for conformation.

 

 

4

Click to edit/ delete any data items

You can change here the entered data can edit of remove any data item.

 

 

5

Select the data that have to change

Proceed to ‘next’ asking confirmation proceeded by “YES” and shows the successfully message

 

 

6

Check the post condition

The system checked the post condition.

 

 

 

 

 

 

 

Post condition:  The system shows the data base of Inventry should be display on the screen that shows the updated inventory phase.

 

 

Solution 2

Test Case #: 2                                                                        Test Case Name:  Edit User Account

System: Health Care Sales Management                    Subsystem:  User Accounts Module

Designed by: Aasma Hameed                                   Design Date: 27/06/2012

Executed by: Abdullah                                                  Execution Date: 28/06/2012

 

Short Description: “User account module” of Health Care Sales Management System against the functional requirement of “Edit user account”.

 

 

Step

Action

Expected System response

Pass/Fail

Comment

1

Click to enter new data

The system displays a message asking the user to enter the new data.

 

 

2

Enter the detail of user account

The system displays all the details in well elaborated way and asks confirmation to change the current info.

 

 

3

Click “Yes”

The system asks for conformation.

 

 

4

Click to edit/ delete any data items

You can change here the entered data can edit of remove any data item.

 

 

5

Select the data that have to change

Proceed to ‘next’ asking confirmation proceeded by “YES” and shows the successfully message

 

 

6

Check the post condition

The system checked the post condition.

 

 

 

Precondition:

 “User account module” should allow for update the user account accessed by the system in an                      application for functional requirement.

 The main menu should be dispalyed by the system.

  It shows the current user account module.

 

 

 

 

 

 

 

Post condition:  The system shows the data base of User account that should be display on the screen that shows the updated  User Accounts Module.

 

 

 

CS504_Assignment#05_Solution

See the attached file please

Attachments:

Dear friend this is 100% correct solution for this assignment.

Tariq bhai check this .......

i want to help weak student. and i wish other students also share the solution of all the assignments in which they have more knowledge.

Enter Received Item Test Case

 

 

Test Case #:0000                                                                         Test Case Name: Enter Received Item

System:  Health Sales Management System                                                                                                       Subsystem: data Entry

Designed by: Mc110201150                                               Design Date: 28/06/2012

Executed by:                                                                        Execution Date:

 

Short Description: To test the Enter receive item functional system

 

Pre-conditions

Data Entery Operator should logon as Inventory Management user first on system by entering user name and password.

System will display the main menu GUI.

 

 

 

Step

Action

Expected System Response

Pass/ Fail

Comment

1

Click the Enter Received Item button

System should display a new window with the required fields for input the information.

 

 

2

Operator enter the all the details in the fields and press enter key

System Display will show this message in a window “Do you want to update this detail in inventory? Click “Yes” or “No”.

 

 

3

Operator Click ‘YES’ for confirmation

The system will update and shows this massage “Your Record has been updated.” Press “Next” Button to Enter a new Item.

 

 

4

Check post-condition 1

 

 

 

 

  1. The new record is saved in database and Inventory system should display the updated inventory state.

 

 

 

 

 

 

Edit User Account Test Case

 

Test Case #:

 

Test Case Name: “Edit User Account”.

 

 

System:

Subsystem:

 

Designed by: Mc110201150

Design Date: 28/06/2012

 

Executed by:                                                                                  Execution Date:

 

Short Description:

 

 

 

Pre-conditions

The Manager Should Logon the system by adding special username and password. The system will show the Main menu GUI of the entire System.

 

 

 

 

 

Step

Action

Expected System Response

Pass/ Fail

Comment

1

Manager Clicks on  Show all the users Button

 

 

 

 

 

 

 

 

The system displays all the system users names

 

 

2

The manager select the require user

And click on the Edit User Account

Button

The system shows the window that contained the selected user detail (ID, Name…etc.)

 

 

3

The manager edit (change) the require detail and press the save Button

The system will ask this message “Do you confirm to save these changes” Yes or No.

 

 

4

If manager clicks on “No” Button

System will displays old values again

 

 

5

If manager  clicks on “Yes” Button

System shows this message “ Changes are successfully saved” after showing this message system display the saved detail

 

 

 

6

Manger clicks on menu Button again

The system displays the main menu window again for further work.

 

 

 

Post-condition 1.

 

 

 

 

Post-conditions

 

1.  The system saved the new changes in database correctly. And the user detail option should show the save changes of the selected user.

 

thankx alot.................. (* V *)  

plz change this solution to escape from 00000000000000 marks

hmmm gud zahoor Ul Islam shahid keep it up 

RSS

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service